Lay Theme Forum

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

    menupoint active custom css

    General Discussion
    3
    6
    35
    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
      antonia_viola last edited by antonia_viola

      I would like to change the appearance of certain menu points when activated: When I click on "Workshops" I would like it to be blurred. Same with "Info". I already managed to blur them with hover but how can it stay like that?

      and is there an option to always jumpt to the beginning of the cache when click on it? Bc my site title is linked to the same page as the "info" menu point. It would be cool even though you are on the site it jumps back to top when you click on the menu point/ site title.

      website: boothsix.eu

      Thank you so much in advance!!!
      Best XX,
      Antonia

      A A 2 Replies Last reply Reply Quote 0
      • A
        alasdair17 @antonia_viola last edited by

        @antonia_viola hey, try these for the active blur effect:

        .menu-item:active {
        filter: blur(5px);
        }

        or

        nav.laynav.primary li:active{
        filter: blur(5px);
        }

        hope that helps!

        A 1 Reply Last reply Reply Quote 0
        • A
          Alex F @antonia_viola last edited by

          @antonia_viola said in menupoint active custom css:

          I already managed to blur them with hover but how can it stay like that?

          Hi Antonia, how do you managed that? seems cool on your site. also a nice page :)

          xx
          alex

          A 1 Reply Last reply Reply Quote 0
          • A
            antonia_viola @Alex F last edited by

            @Alex-F thank you!
            it was super easy. Just use the class you assigned and put it in custom css:

            h4 {
            color: #ffffff;
            -webkit-filter: blur(0px); /* Safari /
            filter: blur(0px);
               transition: ease-in-out 0.7s;
            }
            h4:hover {
            color: #ffffff;
            -webkit-filter: blur(8px); /
            Safari */
            filter: blur(5px);
               transition: ease-in-out 0.7s;
            }

            1 Reply Last reply Reply Quote 0
            • A
              antonia_viola @alasdair17 last edited by

              @alasdair17 It didn't work unfortunately. Is there another way to do it?

              A 1 Reply Last reply Reply Quote 0
              • A
                alasdair17 @antonia_viola last edited by

                @antonia_viola hmm, if you've already added css for the nav for hover effect, if you just duplicate that code but replace, ':hover' with, ':active' that should work. I tried it on chrome inspector on your site and it worked.

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Post a link to where the problem is if possible, please <3
                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. When using a WordPress Cache plugin, disable it or clear your cache. Now see if your problem solved itself.
                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

                • Search as icon instead of text?

                • FILTER Categories showing all projects

                • H

                  Vimeo embed with autoplay and loop is really slow...help!

                • A

                  website not loading on iphone safari

                laytheme.com