• Resolved zaredesign

    (@zaredesign)


    Hello, im using PS2ID on Flash Construction theme. My menu has 4 scroll IDS in same page. When i click those my second id “Teenused” stays highlighted and i can’t click it anymore, other don’t have this issue. Sticky header helped for me but how i can use it without sticky header?

    Second question:
    I want that if i click “Avaleht (homepage)” it goes all the way up like back to top button but without refreshing page. Currently i have just homepage url. And it should also work in other pages (to top of homepage from menu)

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    Your links URL is not correct. You have /home/ in your URls but there’s no /home/ page in your site.

    Remove the /home/ from your links. For example, change “Teenused” URL from:

    /home/#teenused

    to:

    /#teenused

    Also, in “Page scroll to id” settings, enable “Prevent other scripts from handling plugin’s links” option.

    The highlight you see (red color on clicked links) comes from your theme or another plugin. You could change this by adding the following to your additional/custom CSS:

    #site-navigation ul li.current-flash-item a:not(:hover) {
        color: inherit;
    }
    Plugin Author malihu

    (@malihu)

    Also, change your “Avaleht” link from:

    #top

    to:

    /#top

    This will should it work from any page on your site.

    Thread Starter zaredesign

    (@zaredesign)

    Thanks a lot! It kinda works now.

    There is a new issue now, after removing /home from everything, all URLS
    are highlighted in menu, i guess it’s due everythings in same page? Even when i click them. After adding your code

    #site-navigation ul li.current-flash-item a:not(:hover) {
        color: inherit;
    }

    they keep highlighted but when i click now they go black, i think i would accept it but the main issue is still there, after clicking URL and scrolling up clicked URL is still highlighted as active.

    EDIT: When i remove / from URL (before id for example #teenused) then it seems to work but scrolling up still last clicked URL stays activated and homepage is also activated
    Also menu colors are different in real peage and theme-customize view, when i add css `#site-navigation ul li a{
    color: #006;
    }`
    they change colors but after publishing in real page they are still red

    • This reply was modified 6 years ago by zaredesign.
    • This reply was modified 6 years ago by zaredesign.
    • This reply was modified 6 years ago by zaredesign.
    • This reply was modified 6 years ago by zaredesign.
    • This reply was modified 6 years ago by zaredesign.
    • This reply was modified 6 years ago by zaredesign.
    • This reply was modified 6 years ago by zaredesign.
    Plugin Author malihu

    (@malihu)

    Not sure if you need to reset your theme’s highlight (red color) issue. It happens because the links point on the same page (the theme does this). If you do, you could use the following CSS:

    a, #site-navigation ul li.current-menu-item > a:not(:hover), #site-navigation ul li.current_page_item > a:not(:hover) {
        color: inherit;
    }

    or use the following to highlight links on-the-fly while the page is scrolling:

    a, #site-navigation ul li.current-menu-item > a:not(.mPS2id-highlight):not(:hover), #site-navigation ul li.current_page_item > a:not(.mPS2id-highlight):not(:hover) {
        color: inherit;
    }
    Thread Starter zaredesign

    (@zaredesign)

    Thanks! It worked! Now it does not show active URL but i think it does not matter.
    Better than glitchy menu 🙂

    I think this whole thing is just about theme, bad as their support.

    Thanks for taking time and helping me out with fast reply!
    Awesome support!

    Case closed

    Plugin Author malihu

    (@malihu)

    You’re welcome 🙂

    Your menu items all point to the same homepage so I guessed there’s no reason to show the active page/URL(?) I mean usually you want to show/highlight the current/active page link when you have links that point to different pages, correct?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Menu stuck ISSUE and scroll to top’ is closed to new replies.