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. menupoint active custom css

menupoint active custom css

Scheduled Pinned Locked Moved General Discussion
6 Posts 3 Posters 243 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.
  • A Offline
    A Offline
    antonia_viola
    wrote on last edited by antonia_viola
    #1

    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
    0
    • A 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 Offline
      A Offline
      alasdair17
      wrote on last edited by
      #2

      @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
      0
      • A 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 Offline
        A Offline
        Alex F
        wrote on last edited by
        #3

        @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
        0
        • A Alex F

          @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 Offline
          A Offline
          antonia_viola
          wrote on last edited by
          #4

          @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
          0
          • A alasdair17

            @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 Offline
            A Offline
            antonia_viola
            wrote on last edited by
            #5

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

            A 1 Reply Last reply
            0
            • A antonia_viola

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

              A Offline
              A Offline
              alasdair17
              wrote on last edited by
              #6

              @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
              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