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 CPL

Background color CPL

Scheduled Pinned Locked Moved General Discussion
6 Posts 2 Posters 118 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.
  • E Offline
    E Offline
    emgeoffice
    wrote on Apr 9, 2022, 2:39 PM last edited by
    #1

    Hi, background colors of pages won’t work with custom phone layouts for a page I am working on. Does anyone know why? I see that the color is set in CSS but it will be overwritten by background-color: transparent; If I deselect transparent the desired color will be visible but I don’t know where to overwrite this transparency in custom CSS and why it is in place at all.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Richard
      Global Moderator
      wrote on Apr 12, 2022, 4:41 AM last edited by Richard Apr 12, 2022, 12:41 AM
      #2

      Dear @emgeoffice

      Transparent is usually a default. Unsure of your setup but the colour may be defined in the Gridder settings or in Customize:

      Customize > Background > Background Color >

      Or within the Gridder:

      Screen Shot 2022-04-12 at 4.35.40 PM.png


      "background colors of pages won’t work with custom phone layouts for a page"

      I was unable to recreate this bug within my own Custom Phone Layouts:
      Screen Shot 2022-04-12 at 4.38.05 PM.png

      #custom-phone-grid, .cover-region-phone .cover-inner {
          background-color: #900202;
      }
      

      Are you able to post a link or any relevant info?
      Possibly the main Background color defined within Customize is overriding the color set within your Gridder?

      If you are using Custom CSS and find you cant override the native Lay Theme CSS there is always the !important property but this should be used wisely.

      https://www.w3schools.com/css/css_important.asp


      Hope this helps @emgeoffice & have a wonderful day 🌻
      Richard
      1 Reply Last reply
      0
      • E Offline
        E Offline
        emgeoffice
        wrote on Apr 12, 2022, 3:07 PM last edited by
        #3

        Hi Richard, thank you for your reply! It worked for me to set a general background color in the customizer. Still this might be some kind of bug as the background color per page does not work on some CPL pages? Because if I set a custom background color per page on desktop pages it works just fine. Also it works when I do not create a CPL page but just leave the default mobile version of any desktop page. Unfortunately I cannot share a link with you at this stage of the development. I still hope you somehow get what I am saying :D :/

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Richard
          Global Moderator
          wrote on Apr 14, 2022, 6:03 AM last edited by
          #4

          Dear @emgeoffice

          "I still hope you somehow get what I am saying :D"

          I understand 🌝 The only trouble i have is, i am trying to recreate this bug on CPL's and cannot, and therefore cant test the bug and it's source. Desktop Layout and Mobile Layouts show their respective colours:

          Desktop:
          Screen Shot 2022-04-14 at 5.59.46 PM.png

          Mobile:
          Screen Shot 2022-04-14 at 5.59.32 PM.png

          Do you think it's anything 'Non - LayTheme' ?

          Are you able to test this is an updated Vanilla Lay Theme environment?


          Talk soon, best ✨
          Richard
          1 Reply Last reply
          0
          • E Offline
            E Offline
            emgeoffice
            wrote on Apr 14, 2022, 2:08 PM last edited by
            #5

            Hi Richard, thanks for checking as well. Unfortunately I cannot test this further at the moment as I cannot delete this Lay installation and have no other server left for testing. I will keep an eye on it nonetheless. If I find out what was the reason I will let you know here. Maybe I was just doing something wrong elsewhere and therefore inflicting the normal behavior.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Richard
              Global Moderator
              wrote on Apr 16, 2022, 4:06 AM last edited by Richard Apr 16, 2022, 12:07 AM
              #6

              Thanks @emgeoffice πŸ‘

              1 Reply Last reply
              1
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes

              6/6

              Apr 16, 2022, 4:06 AM


              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
              C
              craigfeldspar
              16 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.
              6 out of 6
              • First post
                6/6
                Last post
              0
              • Recent
              • Tags
              • Popular
              • Users
              • Search