BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Changing content background color on only one page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Question

    #39459
    @foxdenvixen

    I am trying to get rid of a background color of the content area that I set for the entire site I am working on only for the forums section. I created a page for the forum index. The shortcode is http://mydomain.com/?p=547. This is what I have for code that created the background on all pages

    div#primary {
      background: rgba(202, 225, 233, 0.8);
      -webkit-border-radius: 50px;
      -webkit-border-bottom-left-radius: 0;
      -moz-border-radius: 50px;
      -moz-border-radius-bottomleft: 0;
      border-radius: 50px;
      border-bottom-left-radius: 0;
      color: #000;
      font-weight: 600;
      font-size: 16px;
    }

    Using the above info I tried to add this code

    div#primary.page-id-547{
    background: none !important;  
    }

    However, it is not working. Any suggestions for removing the content background of the forums so that I can style it differently than the rest of the site?

    Answers

    #39480

    Alyssa
    Participant
    @alyssa-buddyboss

    @foxdenvixen try this instead:

    .page-id-547 div#primary{
    background: none !important;  
    }
    #39483
    @foxdenvixen

    Thank you, @tjchester. I will give this a try.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The question ‘Changing content background color on only one page’ is closed to new replies.