Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to Align Content Text To The Left, not centred?


  • remstar
    Member

    @remstar

    Hi

    New to buddy press and BP Themes, so forgive me.

    I installed it all easily, created a child theme and activated it.

    Now all my content on the site is center aligned where i’d prefer it to ALL be Left aligned.

    I have looked in CSS files in both and don’t know which bit to change, i have no idea what margin does what or where floating postions float to.

    So if anyone could give me a simple ‘beginners’ response with how to simply ‘Align all my content text to the Left’ – i’d be extremely grateful.

    A Million Gazillion thanks :)

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

  • Gautam Gupta
    Moderator

    @gautamgupta

    Can you please provide a link to your forums? :)


    Gautam Gupta
    Moderator

    @gautamgupta

    Ok, got it. You need to remove <div class="center"> and the associated </div> from your theme (probably header.php and footer.php). Or just remove class="center".

    Thank you for assisting me.

    The site is: http://www.actorexpo.co.uk/blog

    I opened header.php and the div class reads as follows:

    <div class=”padder”>

    I went to the RTL Stylesheet and looked up “padder”

    this is the code:

    div#content .padder {

    margin-left: 225px;

    margin-right: 0;

    border-left: 1px solid #e4e4e4;

    border-right: 0;

    -moz-border-radius-topright: 6px;

    -moz-border-radius-topleft: 0;

    -webkit-border-top-right-radius: 6px;

    -webkit-border-top-left-radius: 0;

    -moz-border-radius-bottomright: 6px;

    -moz-border-radius-bottomleft: 0;

    -webkit-border-bottom-right-radius: 6px;

    -webkit-border-bottom-left-radius: 0;

    }

    div#content .left-menu {

    float: right;

    }

    div#content .main-column {

    margin-right: 190px;

    margin-left: 0;

    }

    Is there something in here that is making all my text align in the center?

    Is it the margins??

    Thank you

    Hi

    This is now resolved.

    It was my statcounter <div> pointing it to the center.

    Resolved.

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

You must be logged in to reply to this topic.