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. Shop / WooCommerce
  3. Shop Navigation active

Shop Navigation active

Scheduled Pinned Locked Moved Shop / WooCommerce
28 Posts 3 Posters 719 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.
  • D Offline
    D Offline
    dingdong
    wrote on Sep 27, 2021, 5:48 AM last edited by
    #21

    @Richard Unfortunately the last update didnt include this "bug" :(
    maybe the next one? :)

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Richard
      Global Moderator
      wrote on Sep 27, 2021, 11:35 PM last edited by
      #22

      Dear @dingdong

      Unfortunately not but i have updated Armin.

      If needed urgently - the following JS can be added into:

      Lay Options > Custom CSS & HTML > Custom <head> Content >

      <script>
      window.laytheme.on("newpageshown", function(layoutObj, type, obj){
      
      	if(obj.slug == 'product'){
      	    jQuery('.menu-item-101').addClass('current-menu-item');
      	}
      });
      </script>
      

      Screen Shot 2021-09-28 at 12.26.34 PM.png

      https://laytheme.com/documentation.html#custom-javascript


      You may have a different 'menu-item' number e.g ```menu-item-195' that you need to insert into the above code. You can always 'inspect' the Shop menu item to find out:

      Screen Shot 2021-09-28 at 12.30.50 PM.png

      Then look at the 'classes' of the shop menu item:
      Screen Shot 2021-09-28 at 12.32.22 PM.png

      https://laytheme.com/documentation.html#custom-css-styling


      If for example your menu-item is .menu-item-123 the above code would change to:

      <script>
      window.laytheme.on("newpageshown", function(layoutObj, type, obj){
      
      	if(obj.slug == 'product'){
      	    jQuery('.menu-item-123').addClass('current-menu-item');
      	}
      });
      </script>
      

      Hope this helps @dingdong & have a wonderful day 🏖
      Richard
      1 Reply Last reply
      0
      • D Offline
        D Offline
        dingdong
        wrote on Sep 29, 2021, 6:53 AM last edited by
        #23

        @Richard its not that urgent, but i was wondering, because it already worked?!

        1 Reply Last reply
        1
        • D Offline
          D Offline
          dingdong
          wrote on Oct 12, 2021, 7:36 AM last edited by
          #24

          hm again an update but no fix :(

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Richard
            Global Moderator
            wrote on Oct 13, 2021, 9:52 PM last edited by
            #25

            Sorry @dingdong unsure why will forward again ✅

            D 1 Reply Last reply Oct 18, 2021, 8:55 AM
            0
            • R Richard
              Oct 13, 2021, 9:52 PM

              Sorry @dingdong unsure why will forward again ✅

              D Offline
              D Offline
              dingdong
              wrote on Oct 18, 2021, 8:55 AM last edited by
              #26

              @Richard thanks :)

              1 Reply Last reply
              1
              • R Offline
                R Offline
                Richard
                Global Moderator
                wrote on Oct 21, 2021, 5:55 AM last edited by Richard Oct 21, 2021, 1:55 AM
                #27

                If needed I will start a new thread about this problem with Short term fixes.


                Have a great day & thank you for using Lay Theme 🌞
                Richard
                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  arminunruh
                  Global Moderator
                  wrote on Oct 25, 2021, 2:12 PM last edited by
                  #28

                  sorry everybody!

                  im releasing an update later today that fixes this

                  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