Lay Theme Forum

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

    Active menu point according project category

    Bug Reports
    3
    17
    879
    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
      janblatt last edited by janblatt

      Hi Armin

      Only found a thread from 2015 regarding this issue. Think that has been implemented by now.

      I have a menu consisting of 3 categories, a parent category, and a page link. When opening a project page, the active menu point should change to the corresponding category of the project. It does so in the preview window in customize mode. In the frontend though, when opening a project page the active state always jumps to the parent category "All Projects".

      Have some css to alter hover and active states of the menu items. But even after commenting it all out the bug remains. Is this a known issue to you?

      Site is test.janblatt.com and since it’s still in development it’s password protected. Can send you a pm with the login. Browser is Chrome. Also testet Safari and Firefox.

      Any help much appreciated.

      Jan

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

        Dear @janblatt
        yes. Send me the password in a PM.

        Best!

        Marius

        www.mariusjopen.world

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

          Dear @janblatt
          there is no proper solution for this yet. You could do it with Javascript.

          You could fetch the name of the category of the project page and then look in the menu for that name. Then this menu point becomes a class "active".

          Are you familiar with Javascript? it is not very very complicated but still advanced.

          Best!

          Marius

          www.mariusjopen.world

          1 Reply Last reply Reply Quote 0
          • J
            janblatt last edited by

            Well, I you gonna work on this any time soon? Otherwise I‘d give it a shot when you point me in the right direction. No JavaScript Knowledge whatsoever.

            Little puzzled why it’s working right in the preview of the customizer. And an essential Feature, too, right?

            1 Reply Last reply Reply Quote 0
            • J
              janblatt last edited by

              ... and let me add, after clicking browser refresh while being in a on project side, shows the correct active state. That’s what made me thought, it's a bug.

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

                Dear @janblatt
                ok, I was wrong with my answer above. I got a bit confused.

                On my test-page it works.
                Do you have Laytheme updated?

                Best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply Reply Quote 0
                • J
                  janblatt last edited by

                  Hello @mariusjopen

                  Everything is up to date. I double checked wether my custom css is causing the issue, but still, after deactivating all of it—same behaviour.

                  1 Reply Last reply Reply Quote 0
                  • J
                    janblatt last edited by

                    @mariusjopen

                    … did you check my site as well with the login I sent you?

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

                      Dear @janblatt
                      can you send me that login to your Wordpress in a PM?

                      Thank you!

                      Marius

                      www.mariusjopen.world

                      1 Reply Last reply Reply Quote -1
                      • J
                        janblatt last edited by

                        @mariusjopen did you get those pms with the login data?

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

                          Dear @janblatt

                          I cannot get further:
                          0_1535538429925_Bildschirmfoto 2018-08-29 um 12.26.53.png

                          Best!

                          Marius

                          www.mariusjopen.world

                          1 Reply Last reply Reply Quote -1
                          • J
                            janblatt last edited by

                            @mariusjopen please check chat

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

                              Dear @janblatt
                              I can see.

                              When you enter the project from a link to your site it makes the menu item ALL PROJECTS active.

                              0_1535705189058_Bildschirmfoto 2018-08-31 um 10.45.30.png

                              And when you open the same project as a fresh page the right menu item is active EDITORIAL.

                              0_1535705261767_Bildschirmfoto 2018-08-31 um 10.45.07.png

                              That looks not right.

                              I will check with Armin about it.

                              Best!

                              Marius

                              www.mariusjopen.world

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

                                Thank you, this is a bug.
                                Thumbnails of projects that are assigned to sub-categories act like they are part of the parent-category.

                                I wrote this down and will fix it. this will take longer than a week because I'm on holidays currently.

                                This is how you could make this work:
                                The only way to fix this right now is not using parent and child categories.
                                You can use the "element grid" instead of "thumbnail grid" to add many project thumbnails of different categories.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  janblatt last edited by

                                  @arminunruh Thank you. That'll do for now. Already testet it, works fine. Only downside I see right now, I have to order my thumbs manually, no? Looking forward to the fix. In the meantime happy holidays!

                                  1 Reply Last reply Reply Quote 1
                                  • arminunruh
                                    arminunruh Global Moderator last edited by

                                    Hey jan,

                                    So i tried to reproduce this again on my local lay theme installation but I couldn't reproduce the bug anymore :/.

                                    Can you send me your /wp-admin/ login data again to your website to info@laytheme.com?
                                    And a link to this topic so I know what it is about.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      janblatt last edited by

                                      Sure, but give me a day since I have to rebuild the structure to parent child categories.

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

                                      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

                                      C

                                      Recent Topics

                                      • C

                                        image carousel bugging out

                                      • N

                                        help needed with cleaning up and optimising lay theme portfolio website

                                      • R

                                        Html5 Video Player issue

                                      laytheme.com