• Resolved peq42

    (@peq42)


    I’ve darkmode on my website, and for some reason bbpress has alternating colors for categories AND topics. This breaks terribly when dark mode is on, since the text color and the forum color are basically the same.

    How do I fix this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • You can add a custom CSS snippet for this to the “Custom CSS” tab in Style Pack:

    For different colors for odd/even, keep them separate and just adjust the color values to your preference:

    /* odd rows */
    #bbpress-forums div.odd, #bbpress-forums ul.odd {
            background-color: #000 !important;
    }
    
    /* even rows */
    #bbpress-forums div.even, #bbpress-forums ul.even {
            background-color: #111 !important;
    }

    For the same color for all rows, combine them and adjust the color value to your preference:

    /* both rows are the same color*/
    #bbpress-forums div.even, #bbpress-forums ul.even, #bbpress-forums div.odd, #bbpress-forums ul.odd {
            background-color: #000 !important;
    }

    Different colors per row does help break it up and make it easier on the eyes to follow, so I’d personally keep alternating row colors and just adjust the colors to not blend into the overall page background color.

    You already marked as resolved, so I’m counting it as resolved, but feel free to post here if you have any other questions or issues with this.

Viewing 1 replies (of 1 total)
  • The topic ‘How to remove alternating colors’ is closed to new replies.