How to Remove Inner Content Background from Home Featured

Homepage Community Forums Optimal Theme Support How to Remove Inner Content Background from Home Featured

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5377

    Hello – we are having trouble getting the grey background to remain on all the internal pages, but not be present in the home featured section of the homepage. Initially, we used a “background: none !important” command in the home featured section, but then we noted that under Forums > Groups and other Forums pages the grey background was also missing (causing the text to be illegible since we are using a Full Screen Image background). We then corrected that problem by adding the grey background to sidebar.content fullwidth, but then realized it was popping up again on the home featured section after we did that. Not really sure were to go from here, we tried a bunch of different variations of CSS commands and can’t get it quite right. Live site is http://www.suspicious0bservers.org.

    #5393
    Eric
    Customer

      Your – “.full-width-content #content” on line 971 is what is adding the background color. You can override it by adding this –

      .home #content {
          background: none !important;    
      }

      After you remove that a black background will show which is coming from –

      .home #content,
      .home #content-sidebar-wrap {
        background-color: #000000;
      }

      …and behind that is the background color from the content-sidebar-wrap on line 931

      #content-sidebar-wrap {
      	float: left;
      	width: 750px;
      	background-color: #e3e3e3;
      }

      which should be replaced with –

      .home #content-sidebar-wrap {
          background: none;
      }

      I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

      #5396

      Hey thank you so much for your quick response. I tried your suggestions, but still haven’t quite got the look we want. On the homepage, we still have the black box and we’d like there to be no black box (so that the full image background shows through completely). Then on:

      http://www.suspicious0bservers.org/groups/electric-universe/

      We noticed that these sub forum pages have the black box as well. We’d like the black box to be a grey box like on the other pages of the site.

      Apologies if this is a basic question – not the best with CSS, but learning! Plus this is my first site with a full screen background and still kind of learning how to handle it. Hopefully what we want is possible.

      Thanks very much,

      AD

      #5400
      Eric
      Customer

        It looks like you got it working? I don’t see the black box anymore.


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #5401

        Hey Eric,

        Thanks again for checking in. I did get the black box removed, but now some forum pages, like the Groups pages:

        http://www.suspicious0bservers.org/groups/electric-universe/

        Are missing part of the grey box, so that the titles are hard to read. Im not sure if this is fixable =/

        #5404
        Eric
        Customer

          Its because that particular page is also using the “home” class in the code (body) so it will reference the homepage code I gave earlier. You can see there are other classes added in the body, one is called “group-home”, so just add something like that to handle that specific page –

          Example –

          .group-home #content-sidebar-wrap {
              background: #e3e3e3 !important;
          }

          I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

          #5406

          ohhh that makes sense! thanks very much for your help. If i could maybe ask one more question (and I know its a n00b question) but how do I set the Groups pages to use that .group-home class? Is that in functions.php?

          #5408
          Eric
          Customer

            I have no idea, thats something you’d have to ask the plugin author/developer. I only mentioned the group class because thats what showed up in your source code.


            I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

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