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 851 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.
  • RichardR Offline
    RichardR Offline
    Richard
    Global Moderator
    wrote on last edited by Richard
    #3

    Dear @dingdong

    Thank you for bringing this to attention. The Class:
    .current-menu-item
    Is not being added to the Shop page.

    Standard menu item:
    Screen Shot 2021-05-19 at 1.36.41 PM.png

    Shop menu item:
    Screen Shot 2021-05-19 at 1.36.12 PM.png


    Will forward this āž”ļø


    Thank you @dingdong & have a wonderful day
    Sincerely
    Richard
    D 1 Reply Last reply
    0
    • D Offline
      D Offline
      dingdong
      wrote on last edited by
      #4

      @Richard said in Shop Navigation active:

      la

      thanks a lot - please let me know when / if its done :)

      1 Reply Last reply
      1
      • D Offline
        D Offline
        dingdong
        wrote on last edited by
        #5

        Hey @Richard
        Any updates on this problem?

        1 Reply Last reply
        0
        • RichardR Offline
          RichardR Offline
          Richard
          Global Moderator
          wrote on last edited by
          #6

          Dear @dingdong

          No sorry, I will re-forward it, apologies for delay.
          Armin is very busy currently. 🌼


          Sincerely
          Richard
          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by
            #7

            Thanks this will be fixed with the next update

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dingdong
              wrote on last edited by
              #8

              thanks @arminunruh :) :)
              !!!

              1 Reply Last reply
              0
              • D Offline
                D Offline
                dingdong
                wrote on last edited by
                #9

                @arminunruh said in Shop Navigation active:

                Thanks this will be fixed with the next update

                when you link a category in the navigation, this also doesnt work:
                https://www.mikeabmaier.com/category/work

                "work" should be underlined.

                1 Reply Last reply
                0
                • RichardR Offline
                  RichardR Offline
                  Richard
                  Global Moderator
                  wrote on last edited by
                  #10

                  Dear @dingdong

                  Great website šŸŒ

                  Have forwarded this to Armin āœ…


                  Talk soon & best wishes ✨
                  Richard
                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    dingdong
                    wrote on last edited by
                    #11

                    Hey @Richard
                    any news? :)

                    1 Reply Last reply
                    0
                    • RichardR Offline
                      RichardR Offline
                      Richard
                      Global Moderator
                      wrote on last edited by
                      #12

                      Unfortunately not sorry @dingdong


                      Best wishes ✨
                      Richard
                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        dingdong
                        wrote on last edited by
                        #13

                        @Richard maybe now? :)

                        1 Reply Last reply
                        0
                        • RichardR Offline
                          RichardR Offline
                          Richard
                          Global Moderator
                          wrote on last edited by
                          #14

                          Dear @dingdong

                          Still no update sorry, I will forward it again to make sure. āž”ļø


                          Best Wishes
                          Richard
                          1 Reply Last reply
                          0
                          • arminunruhA Offline
                            arminunruhA Offline
                            arminunruh
                            Global Moderator
                            wrote on last edited by
                            #15

                            sorry everybody, will release the update today

                            1 Reply Last reply
                            0
                            • arminunruhA Offline
                              arminunruhA Offline
                              arminunruh
                              Global Moderator
                              wrote on last edited by
                              #16

                              hey oh, i think this was already solved in the last update. when i look at your website it works for me.

                              1 Reply Last reply
                              0
                              • RichardR Richard

                                Dear @dingdong

                                Thank you for bringing this to attention. The Class:
                                .current-menu-item
                                Is not being added to the Shop page.

                                Standard menu item:
                                Screen Shot 2021-05-19 at 1.36.41 PM.png

                                Shop menu item:
                                Screen Shot 2021-05-19 at 1.36.12 PM.png


                                Will forward this āž”ļø


                                Thank you @dingdong & have a wonderful day
                                Sincerely
                                Richard
                                D Offline
                                D Offline
                                dingdong
                                wrote on last edited by dingdong
                                #17

                                @Richard said in Shop Navigation active:

                                Dear @dingdong

                                Thank you for bringing this to attention. The Class:
                                .current-menu-item
                                Is not being added to the Shop page.

                                Standard menu item:
                                Screen Shot 2021-05-19 at 1.36.41 PM.png

                                Shop menu item:
                                Screen Shot 2021-05-19 at 1.36.12 PM.png


                                Will forward this āž”ļø


                                Thank you @dingdong & have a wonderful day
                                Sincerely
                                Richard

                                @arminunruh said in Shop Navigation active:

                                hey oh, i think this was already solved in the last update. when i look at your website it works for me.

                                YES it did!
                                but since the last update, this "current" is missing again?!
                                worked for a while...
                                now its not working anymore?!
                                www.mikeabmaier.com/shop

                                1 Reply Last reply
                                0
                                • RichardR Offline
                                  RichardR Offline
                                  Richard
                                  Global Moderator
                                  wrote on last edited by
                                  #18

                                  Dear @dingdong

                                  Thanks for the update, i can confirm this and will let Armin know.

                                  Screen Shot 2021-09-17 at 12.15.02 PM.png


                                  Best wishes šŸŒ
                                  Richard
                                  D 1 Reply Last reply
                                  0
                                  • RichardR Richard

                                    Dear @dingdong

                                    Thanks for the update, i can confirm this and will let Armin know.

                                    Screen Shot 2021-09-17 at 12.15.02 PM.png


                                    Best wishes šŸŒ
                                    Richard
                                    D Offline
                                    D Offline
                                    dingdong
                                    wrote on last edited by
                                    #19

                                    @Richard thank you so much!
                                    btw, great support!!!! <3

                                    1 Reply Last reply
                                    0
                                    • RichardR Offline
                                      RichardR Offline
                                      Richard
                                      Global Moderator
                                      wrote on last edited by
                                      #20

                                      Thanks @dingdong have a wonderful day! šŸŒšŸ–

                                      1 Reply Last reply
                                      0
                                      • D Offline
                                        D Offline
                                        dingdong
                                        wrote on last edited by
                                        #21

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

                                        1 Reply Last reply
                                        0
                                        • RichardR Offline
                                          RichardR Offline
                                          Richard
                                          Global Moderator
                                          wrote on 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
                                          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
                                          fireextinF
                                          fireextin
                                          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