• Resolved CrispOne

    (@crispone)


    Some of the settings in the plugin seem to be being overridden by bbp’s own CSS. For instance, when I change the forum description font’s color, that works, but changing the font size has no effect.

    A line in bbpress.min.css has this entry:

    #bbpress-forums .bbp-forum-info .bbp-forum-content, #bbpress-forums p.bbp-topic-meta {
    font-size: 11px;
    }

    And that is overriding a line in bspstyle.css:

    #bbpress-forums .bbp-forum-content, #bbpress-forums .bsp-forum-content, #bbpress-forums .bbp-forum-info .bbp-forum-content {
    font-size: 24px;
    }

    (I set the font size to 24 for testing purposes, so I could see very clearly that it was working)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Robin W

    (@robin-w)

    it may be that your theme is re-loading the bbpress css after mine (or another reason)

    I’d need a link to your site to see what is happening in the browser

    Thread Starter CrispOne

    (@crispone)

    Plugin Author Robin W

    (@robin-w)

    yes your theme is loading

    https://www.hope68.com/dev/wp-content/themes/oceanwp/assets/css/third/bbpress.min.css?ver=4.9.8

    as the theme loads later than plugins (wordpress concept is that themes take priority!) then it overwrites my changes.

    Not a lot I can directly do about this, your options are

      in your theme add the change to it’s custom css
      in my plugin custom css add the change but add important eg
    #bbpress-forums .bbp-forum-content, #bbpress-forums .bsp-forum-content, #bbpress-forums .bbp-forum-info .bbp-forum-content {
    	font-size: 24px !important;
    }
      add a child theme, and unload the min.css there
      make the min.css blank in the theme (this is not the best solution as you will need to make it blank each time you do a theme upgrade, but is a practical solution if you are not a purist!)
    • This reply was modified 6 years, 7 months ago by Robin W.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS only partially working’ is closed to new replies.