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. Content not updated on page transition

Content not updated on page transition

Scheduled Pinned Locked Moved Bug Reports
sub-menujavascriptpage transition
14 Posts 3 Posters 774 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.
  • arminunruhA Offline
    arminunruhA Offline
    arminunruh
    Global Moderator
    wrote on last edited by
    #5

    Hey so

    I see you're using Custom CSS that uses the class "current-menu-parent"
    That class is not set by lay theme and I will try to fix this now

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

      Ok, I'm releasing a small lay theme update today that properly sets "current-menu-parent" classes. Please use only these to make your type of submenu work.

      Like

      .current-menu-parent .sub-menu,
      .current-menu-item .sub-menu{
          display: block;
      }
      
      .sub-menu{
          display: none;
      }
      
      B 1 Reply Last reply
      0
      • arminunruhA arminunruh

        Ok, I'm releasing a small lay theme update today that properly sets "current-menu-parent" classes. Please use only these to make your type of submenu work.

        Like

        .current-menu-parent .sub-menu,
        .current-menu-item .sub-menu{
            display: block;
        }
        
        .sub-menu{
            display: none;
        }
        
        B Offline
        B Offline
        brogr
        wrote on last edited by
        #7

        @arminunruh Great, thank you Armin. It's working well!

        1 Reply Last reply
        0
        • B Offline
          B Offline
          brogr
          wrote on last edited by
          #8

          Actually, this isn't working properly yet: When you access a project directly through the URL (rather than through JS via the menu), the parent menu item only gets the class current-post-ancestor but not the current-menu-parent one, resulting in the submenu being invisible. Could you please look into this again?

          Example:
          https://2019.nomadicarchitecture.ch/projects/world-exhibitions-of-telecommunications-geneva/ibm-telecom-geneva-1-world

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

            Dear @brogr
            I will let Armin know.
            Thank you!

            Marius

            www.mariusjopen.world

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

              Hey, I can see the error happening on your website. However, I cannot reproduce this on my lay theme. Can you send me your /wp-admin/ login and your ftp login data to info@laytheme.com ?

              I will need to test and fix this on your website.

              1 Reply Last reply
              0
              • B Offline
                B Offline
                brogr
                wrote on last edited by
                #11

                Alright, sent you an email.

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

                  Hey, after further investigation,

                  I see the project you are refering to is this one:
                  https://2019.nomadicarchitecture.ch/projects/world-exhibitions-of-telecommunications-geneva/ibm-telecom-geneva-1-world

                  But the project that is shown when clicking on the menu item "projects" -> "World Exhibitions of Telecommunications, Geneva" is this one:
                  https://2019.nomadicarchitecture.ch/projects/world-exhibitions-of-telecommunications-geneva/

                  Also when you refresh this project, you'll see the menu works as expected:
                  https://2019.nomadicarchitecture.ch/projects/world-exhibitions-of-telecommunications-geneva

                  As far as I can see the problem is that your project you referred to is not linked in your menu at all.

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    brogr
                    wrote on last edited by
                    #13

                    Hi Armin,

                    https://2019.nomadicarchitecture.ch/projects/world-exhibitions-of-telecommunications-geneva/ is a category, not a project.

                    The project is https://2019.nomadicarchitecture.ch/projects/world-exhibitions-of-telecommunications-geneva/ibm-telecom-geneva-1-world -- but it's concerning all of them, so you can click on any of them.

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

                      I see, I fixed it on your website and it will be included with the next update!

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