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. Background color in Footer

Background color in Footer

Scheduled Pinned Locked Moved General Discussion
9 Posts 5 Posters 1.3k Views 1 Watching
  • 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.
  • P
    P
    PhilippRose
    wrote on last edited by
    #1

    Hello,

    thank you for a great tool. I really like to work with Lay Theme and it's really well documented.

    I'm working on a project website. Each Page has it's own background color. The background-color is not shown in the footer. I want the footer to adopt the background-color of the page it's attached to. Is this possible?

    www.fellheldinnen.de

    Because i didn't manage to work with background images, i used background colors. If there is a way to embed a different background image to each page (no »row image background«) it would be great! :) In this case the background images of the single pages should be displayed in the footer, too.

    Thanks for help and keep up the great work!
    Philipp

    1 Reply Last reply
    0
    • BaptisteB
      BaptisteB
      Baptiste
      wrote on last edited by Baptiste
      #2

      Hello @PhilippRose,

      Because you don't have a lot of pages, did you try to target those ones with their id and then put your footer color on it?

      Like :

      .id-53 #footer {background-color: #3f44ba;}
      .id-72 #footer {background-color: #1b8869;}
      .id-76 #footer {background-color: #cb4898;}
      
      1 Reply Last reply
      0
      • P
        P
        PhilippRose
        wrote on last edited by
        #3

        Hey,

        Thank you! It works.
        Is the developer tool in the browser the only way to find the specific id of an page or is there another way?

        Best!
        Philipp

        1 Reply Last reply
        0
        • BaptisteB
          BaptisteB
          Baptiste
          wrote on last edited by
          #4

          Hey @PhilippRose, perfect.

          The developer tool is the best way in my opinion, but you can find your Post/Page/project id in the url when you edit-it I think.

          Like : "post.php?post=21&action=edit"

          Best.

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

            Dear @PhilippRose

            Although getting to know the developer tools will really help you in the long run, for this you dont necessarily need them.

            The (slug) Class & ID of a specifc page will usually reflect the permalink of your Page or Project.

            Read the permalink that is above your Gridder in a page or project ( my one being called "carousel-left-setup" )
            Screen Shot 2021-01-26 at 8.29.46 PM.png

            The Permalink is used for the page Slug and also the data-slug in the websites HTML..

            You can see here some HTML of the page:
            Screen Shot 2021-01-26 at 8.30.27 PM.png

            So we could either target the Class:

            .slug-carousel-left-setup
            

            Or the 'data-slug'

            [data-slug="carousel-left-setup"]
            

            To get the Page or Projects 'data-id' easily @Baptiste is correct that you can find it in the Browser URL address bar when editing:
            Screen Shot 2021-01-26 at 8.45.12 PM.png

            So from this i can assume a class:

            .id-297
            

            & a 'data-id:

            [data-id="297"]
            

            Hope this helps Philipp and best of luck with your project :)

            Richard

            1 Reply Last reply
            0
            • P
              P
              PhilippRose
              wrote on last edited by
              #6

              Wonderful! Thanks a lot!
              Best… Philipp

              1 Reply Last reply
              0
              • W
                W
                wscheible
                wrote on last edited by
                #7

                Would it be possible to automate with JavaScript that the background colour of the last grid line is copied to the footer too? I use overlays for projects and some pages.

                1 Reply Last reply
                0
                • arminunruhA
                  arminunruhA
                  arminunruh
                  Global Moderator
                  wrote on last edited by
                  #8

                  do u have a link please

                  1 Reply Last reply
                  0
                  • W
                    W
                    wscheible
                    wrote on last edited by
                    #9

                    thank you, I found another way. I use a row inside the page to simulate a footer. That's a little bit of work, but it's okay for me.

                    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
                    L
                    lukas123
                    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