Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Change color of sitetitle / menu for cover

    General Discussion
    2
    2
    23
    Loading More Posts
    • 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
      anamsp last edited by

      Hi! :)

      I'm working on a new website: https://mirellafrangella.com/startseite_neu/
      As the cover images are very dark I'd like to change the color of the menu + sitetitle to white and then back to black (after the "cover row") for the rest of the website. (I hope this description isn't too abstract)

      I found several posts about changing the menu color when scrolling to a certain row (http://laythemeforum.com:4567/topic/6152/change-menu-item-color-on-scroll?_=1674170918529), but I need the color change when the page / cover loads, so even before scrolling to another row (and only for the first one).

      It would be awesome if you could help!
      Thanks in advance! :)

      1 Reply Last reply Reply Quote 0
      • arminunruh
        arminunruh Global Moderator last edited by

        hey man rlly sorry i got too many things to do to custom code this for you

        i do believe you need to use the newpageshown event
        and in there see which page you're on using the body's slug class for example and then check the scrollposition and set the background

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Post a link to where the problem is
        I don't answer or check forum DMs, please just post on the forum.
        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

        Before you post:

        Use the Search Feature. Maybe there is already a solution to your issue.

        1. Update Lay Theme and all Lay Theme Addons
        2. Disable all Plugins
        3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
        4. Now see if your problem solved itself
        5. Go here, see if your problem is listed here:
        Troubleshooting

        When you post:
        1. Post a link to where the problem is
        2. If the problem is difficult to explain, post screenshots / link to a video to explain it

        Thanks!

        Online Users

        Recent Topics

        • H

          sumbmenu on mobile device

        • Q

          backdrop blur on ios

        • While editing the carousel, the images are not displayed correctly

        • Sticky Footer now has Background

        laytheme.com