Skip to:
Content
Pages
Categories
Search
Top
Bottom

All text is aligned centre

  • Hi all,

    All my text on my forum is aligned to the centre. Is there anyway to get it aligned left?

    (plugin 2.0)

    Many thanks,

    Glyn

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

  • pimarts
    Participant

    @pimarts

    Yes.

    It’s probably some stuff in your own CSS causing this. There’s probably a “text-align:center;” in there somewhere.

    Hi Pimarts,

    I have found that code in one of my plugins and deactivated it but without luck.

    I have also tried adding “body {text-align:left!important}” to my Custom CSS, but also without any joy.

    Do you know of any CSS that I might be able to add to directly affect the bbPress pages?

    Something along the lines of “.bbp-content {text-align:left}”

    many thanks,

    Glyn


    pimarts
    Participant

    @pimarts

    Without seeing the actual site / code I’m afraid I can’t help you. (not promising I can help you (or have the time) when I see it either by the way)

    You can target bbPress with

    .bbPress

    for instance

    .bbPress #content {

    width:903px;

    }


    pimarts
    Participant

    @pimarts

    — double post, sorry —

    Hi Pimarts,

    I have tried:

    .bbPress #content {text-align:left;}

    and

    .bbPress #content {text-align:left!important;}

    without any luck.

    My forum is at:

    http://benidorm-selections.com/forum/

    Any other ideas gratefully appreciated!

    Many thanks,

    Glyn


    pimarts
    Participant

    @pimarts

    Try this:

    .bbPress .hentry table td, .bbPress .hentry table th {

    text-align: left;

    }

    Maybe you’ll need an !important there, but try that first.

    Hi,

    Thanks, that works a dream on the forum pages. Is there any way to get it to work on the index page? Preferably on the first column only?

    Many thanks,

    Glyn


    pimarts
    Participant

    @pimarts

    Try this:

    .bbPress .hentry table td, .bbPress .hentry table th, .bbp-forum-info {

    text-align: left;

    }

    Hi,

    I had to put ‘!important’ in there, but it worked perfectly…

    Thanks very much!

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Skip to toolbar