Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Footer background colors

Footer background colors

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 648 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    A
    Aleksandar
    wrote on last edited by
    #1

    Hi there!

    My pages have different background colors. I would like to adjust the footer background colors accordingly. I can do this manually with CSS or creating every time a new footer with different background colors. But that’s quite time wasting, especially when there are dozens of projects with different background colors.

    This is how I want it: My About page. I changed it manually via CSS.

    However, the footers stay white in Project 1 and Project 2, even though the background colors are set to grey and blue.

    Can the footer adapt to the background of the respective page?

    All best
    Aleks

    1 Reply Last reply
    0
    • RichardR
      RichardR
      Richard
      Global Moderator
      wrote on last edited by
      #2

      Dear @Aleksandar

      Ok :) Could you please add this code within "Lay Options -Custom CSS & HTML"

      .slug-why-not-collective #footer-region {
          background-color: #0000ff!important;
      }
      
      .slug-we-used-to-be-friends #footer-region {
          background-color: #cecece!important;
      }
      

      This solves the issue manually but am i correct that your question is why is the footer region not reacting to the color's you have already set within Lay Theme? And this is a potential bug?

      Let me know & have a wonderful day :)

      Best
      Richard

      1 Reply Last reply
      0
      • A
        A
        Aleksandar
        wrote on last edited by Aleksandar
        #3

        Hi Richard,

        exactly! I could add CSS manually and color the footer according to the page. And thanks! I didn’t know it's possible with the slug, which make things much easier. I could live with that. ;)

        AND YES! I was just wondering if it's possible to adapt the footer automatically to the background color of each page. HERE: Screenshot 2020-09-30 at 12.31.02.png

        All best
        Aleksandar

        1 Reply Last reply
        0
        • RichardR
          RichardR
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Dear Aleksandar @Aleksandar

          I believe if you are happy to do so, using the slug and adding it to custom CSS would be easier.

          if not you would need to use JS to find the Background-color present on that specific page then tell the Footer to change accordingly

          Best wishes :)
          Richard

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Online Users
          OLVVDBO
          OLVVDB
          R
          rivrflow
          K
          kp-hb
          U
          UPohl
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search