Skip to:
Content
Pages
Categories
Search
Top
Bottom

Aligning my buddypress site to the center


  • shaisimchi
    Participant

    @shaisimchi

    Hi,

    I have a buddy press installation and I have limited its size so it wont automatically resize itself to fit 100% of the screen as it looks ugly on bug screens.

    Now my website is aligned to the left of the screen.

    Anyone with knowledge about how to align it to the center of the screen?

    I guess its some css issue but I am not sure where should be making changes. would love to hear suggestions.

    Thanks,

    Shai

Viewing 3 replies - 1 through 3 (of 3 total)

  • tranthe
    Participant

    @wpviet23

    yes you guessed right issues. the fault of the css.

    I think it’s in this region css

    body {

    background: #DADE6E;

    font-size: 12px;

    font-family: Arial, Tahoma, Verdana, sans-serif;

    line-height: 170%;

    color: #555;

    width: 960px;

    margin: 0 auto;

    padding-top: 0 !important; /* Remove the top padding space for the admin bar in this theme */

    }

    You see the line: margin: 0 auto;

    Problem it’s just there.

    If you still do not fix this. please make a demo I can see.


    shaisimchi
    Participant

    @shaisimchi

    So what should I change it to?

    sorry – I am not a CSS expert :-)


    danbpfr
    Participant

    @chouf1

    You have to create a “custom.css” so the change won’t be affected at the next update.

    Read the forum to know how to do this

    You have to add

    margin: 0 auto;

    in the body css

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Aligning my buddypress site to the center’ is closed to new replies.
Skip to toolbar