Lay Theme Forum

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

    Active menu item styling w/anchor points

    General Discussion
    3
    4
    76
    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.
    • J
      josehoudini last edited by

      Hello all,

      I have a doubt which may be easily solved, however can't figure out yet.
      I have a site with a single page where the menu items link to different anchor points. Is there a way (perhaps with the :active attribute?) in which I can set a different color depending on which section I am?

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • S
        saschatoussaine last edited by

        Hi @josehoudini!

        Unfortunately there is no way to realize this by style only. Have tried it a short time ago.

        I finally made it work by using this: http://scrollmagic.io/

        J 1 Reply Last reply Reply Quote 0
        • J
          josehoudini @saschatoussaine last edited by

          @saschatoussaine Thanks a lot for your input, could you perhaps guide me a bit further on how to include this on a laytheme site?

          Thanks in advance

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

            Dear @josehoudini

            Sure! :)
            Could you please post a link to your single-page website and i can provide a better answer

            Thank you for you patience and for using Lay Theme

            Best
            Richard

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Try this to fix issues 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

            S
            T
            G
            L
            M
            L

            Recent Topics

            • Carousel is not showing

            • S

              Image hover -> Image on image

            • C

              centred Carousel fixed width and proportions

            • text underline

            laytheme.com