Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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 342 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.
  • P Offline
    P Offline
    PhilippRose
    wrote on Jan 22, 2021, 4:20 PM 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
    • B Offline
      B Offline
      Baptiste
      wrote on Jan 22, 2021, 6:26 PM last edited by Baptiste Jan 22, 2021, 1:47 PM
      #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 Offline
        P Offline
        PhilippRose
        wrote on Jan 25, 2021, 9:32 AM 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
        • B Offline
          B Offline
          Baptiste
          wrote on Jan 25, 2021, 11:38 AM 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
          • R Offline
            R Offline
            Richard
            Global Moderator
            wrote on Jan 26, 2021, 7:47 AM last edited by Richard Jan 26, 2021, 2:49 AM
            #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 Offline
              P Offline
              PhilippRose
              wrote on Jan 28, 2021, 10:53 AM last edited by
              #6

              Wonderful! Thanks a lot!
              Best… Philipp

              1 Reply Last reply
              0
              • W Offline
                W Offline
                wscheible
                wrote on Feb 13, 2025, 11:00 AM 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 Offline
                  arminunruhA Offline
                  arminunruh
                  Global Moderator
                  wrote on Feb 13, 2025, 11:38 AM last edited by
                  #8

                  do u have a link please

                  1 Reply Last reply
                  0
                  • W Offline
                    W Offline
                    wscheible
                    wrote on Feb 16, 2025, 2:28 PM 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
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    I also code custom websites or custom Lay features.
                    💿 Email me here: 💿
                    info@laytheme.com

                    Before you post:
                    1. When using a WordPress Cache plugin, disable it or clear your cache.
                    2. Update Lay Theme and all Lay Theme Addons
                    3. Disable all Plugins
                    4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                    This often solves issues you might run into

                    When you post:
                    1. Post a link to where the problem is
                    2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                    3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                    Online Users
                    S
                    Stanlouche
                    14 minutes ago
                    E
                    ericcodina
                    24 minutes ago
                    T
                    ta_io
                    26 minutes ago
                    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