Skip to:
Content
Pages
Categories
Search
Top
Bottom

Why is BBPress not following css?


  • sicky_brazz
    Participant

    @sicky_brazz

    Hi, I am using the latest versions of both WP and BBPress.

    My problems are that when I try to add stuff to my style.css, my BBPress pages just don’t seem to follow them…

    Here is an example:
    >> Remove menu/nav bar and search form from all pages (style.css)

    /* Remove nav bar and search form */
    .page #nav-bar {
    display: none;
    }
    
    .page #s {
    display: none;
    }

    The code works on all other pages (BuddyPress ones included), just not any BBPress pages..
    Does anyone have any ideas as to why?

    I am no coder or expert so this has totally thrown me lol.

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

  • Robin W
    Moderator

    @robin-w

    May be as simple as the order that the plugins are loading.

    see

    Layout and functionality – Examples you can use

    No. 6

    you could also put the word !important after the change to prevent bbpress overriding it eg

    /* Remove nav bar and search form */
    .page #nav-bar {
    display: none !important;
    }
    
    .page #s {
    display: none !important;
    }
    

    sicky_brazz
    Participant

    @sicky_brazz

    @robin-w
    Hi, thanks for your reply, I have tried both options you gave separately and then again with both together…

    Still no luck 🙁

    Any other ideas as to what I could do..?

    Thanks again for your input so far.

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