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. cover feature – background of project content transparent

cover feature – background of project content transparent

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 119 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.
  • L Offline
    L Offline
    lina_h
    wrote on last edited by
    #1

    Hello everyone,

    first of all I am a big fan of Laytheme and am using it a lot for client projects!
    This forum has helped me a lot in the past – now I have an issue I hope somebody can help me with.

    I am using the cover feature for showcasing the project as seen here: https://linaherschel.com/cover-test/
    Is there a way that the cover picture on the black background remains visible in the background when crolling down and the rest of the content has a transparent background? At the moment the project content background is white.
    So idealy the project content overlays the fixed cover picture when scrolling down.

    I would like to use this effect both on Desktop and mobile.

    Thank you for your support in advance!
    All the best,
    Lina

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

      can u try this instead of the other code i posted:

      .cover-content #grid{
      background-color: rgba(255,255,255,0.9)!important;
      }
      
      .hascover #footer-region,
      .cover-content,
      .cover-region{
      background-color: transparent!important;
      }
      

      i made a mistake

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lina_h
        wrote on last edited by
        #3

        Dear @arminunruh,

        thank you very much for the quick response!

        I have implemented the code, but the background of the content is still white instead of the wanted transparent.

        I have made a quick video of the effect I wish to achieve with another example build in XD: https://www.dropbox.com/scl/fi/4ing2voy3wo90p546hwsc/wanted-scroll-effect_.mov?rlkey=6qyezbh02y06i1muekzutkmr7&dl=0

        The first row of my Layout is the cover (a video in this example) and the rest of the content (images and text) should overlay the cover video.

        Do you have another idea how to get there?

        Thank you again in advance :)
        Lina

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

          can u try this instead of the other code i posted:

          .cover-content #grid{
          background-color: rgba(255,255,255,0.9)!important;
          }
          
          .hascover #footer-region,
          .cover-content,
          .cover-region{
          background-color: transparent!important;
          }
          

          i made a mistake

          1 Reply Last reply
          0
          • L Offline
            L Offline
            lina_h
            wrote on last edited by
            #5

            thank you so much, now it works 🖤

            All the best,
            Lina

            1 Reply Last reply
            1
            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
            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