Changing background color of .front-page-4

Homepage Community Forums SquareOne Theme Support Changing background color of .front-page-4

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18127
    Allison
    Customer

      Okay, situation #2:
      I’m looking to change the background color of my .front-page-4 module. Tried adding the following code to /* Front Page
      ——————————————— */

      between .front-page-2 details and before .front-page-6 background color and wasn’t successful.

      .front-page-4 {
      background-color: #19c1ff;
      }

      Any ideas?

      #18129
      Wes
      Moderator

        Do you have a link to your site? I can see what the issue may be with a link.

        This suggestion may fix it though: Try adding .solid-section to your code like this –

        .front-page-4 .solid-section {
        	background-color: #19c1ff;
        }

        The reason this would work is because the front-page-4 div shows up first, but the .solid-section shows up after on the front-page.php file (your homepage template). Since the .solid-section shows up after the front-page-4 AND it has a white background color #fff that shows up on top…..whatever is added for front-page-4 won’t be seen if there is another div after that with a background color or image overriding it. So by adding the .solid-section (like the code above) you would be able to add your background color or image.

        Let me know if that helps or if you need any assistance in getting this working.

        #18201
        Allison
        Customer

          That worked – thanks again!

          #18203
          Wes
          Moderator

            You’re Welcome!

            Let us know if you need anything 馃檪

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘Changing background color of .front-page-4’ is closed to new replies.