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. Bug Reports
  3. Active menu point according project category

Active menu point according project category

Scheduled Pinned Locked Moved Bug Reports
17 Posts 3 Posters 1.4k 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.
  • J Offline
    J Offline
    janblatt
    wrote on last edited by janblatt
    #1

    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
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

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

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • mariusjopenM Offline
        mariusjopenM Offline
        mariusjopen
        Global Moderator
        wrote on last edited by
        #3

        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
        0
        • J Offline
          J Offline
          janblatt
          wrote on last edited by
          #4

          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
          0
          • J Offline
            J Offline
            janblatt
            wrote on last edited by
            #5

            ... 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
            0
            • mariusjopenM Offline
              mariusjopenM Offline
              mariusjopen
              Global Moderator
              wrote on last edited by
              #6

              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
              0
              • J Offline
                J Offline
                janblatt
                wrote on last edited by
                #7

                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
                0
                • J Offline
                  J Offline
                  janblatt
                  wrote on last edited by
                  #8

                  @mariusjopen

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

                  1 Reply Last reply
                  0
                  • mariusjopenM Offline
                    mariusjopenM Offline
                    mariusjopen
                    Global Moderator
                    wrote on last edited by
                    #9

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

                    Thank you!

                    Marius

                    www.mariusjopen.world

                    1 Reply Last reply
                    -1
                    • J Offline
                      J Offline
                      janblatt
                      wrote on last edited by
                      #10

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

                      1 Reply Last reply
                      0
                      • mariusjopenM Offline
                        mariusjopenM Offline
                        mariusjopen
                        Global Moderator
                        wrote on last edited by
                        #11

                        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
                        -1
                        • J Offline
                          J Offline
                          janblatt
                          wrote on last edited by
                          #12

                          @mariusjopen please check chat

                          1 Reply Last reply
                          0
                          • mariusjopenM Offline
                            mariusjopenM Offline
                            mariusjopen
                            Global Moderator
                            wrote on last edited by
                            #13

                            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
                            0
                            • arminunruhA Offline
                              arminunruhA Offline
                              arminunruh
                              Global Moderator
                              wrote on last edited by
                              #14

                              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
                              0
                              • J Offline
                                J Offline
                                janblatt
                                wrote on last edited by
                                #15

                                @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
                                1
                                • arminunruhA Offline
                                  arminunruhA Offline
                                  arminunruh
                                  Global Moderator
                                  wrote on last edited by
                                  #16

                                  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
                                  0
                                  • J Offline
                                    J Offline
                                    janblatt
                                    wrote on last edited by
                                    #17

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

                                    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
                                    A
                                    alasdair17
                                    _
                                    _flx
                                    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