Autospot One Page Menu with Blog

Home Forums Jevelin Theme Autospot One Page Menu with Blog

Home Forums Jevelin Theme Autospot One Page Menu with Blog

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    RESOLVED Posts
  • imosek8
    Participant

    Hello,

     

    I’m using autospot demo content.

    I’ve got menu which indicates on locations by id like:

    #backtotop

    #aboutus

    But I also indicate at /blog.
    Now when I am on home page – everything is working fine. But when I go to the blog page and then click on “About us” it appends to “#aboutus” to the current url instead (which is “page url”/blog) of my page url.

    So when I am on home page it looks like: page url/#aboutus
    but when on blog it is: page url/blog/#aboutus

     

    I tried also to add url to menu like:
    page_url/#aboutus
    but it then sets all menu items class to “current_page_item”

    Is there workaround to get it working?

     

    Solution for this topic

    Hi @imosek8,

     

    I hope you are well today and thank you for your question.

     

    Instead of relative URL #aboutus please use absolute URL such as https://test22010.yoursite.pl/#aboutus

     

    Then you can active in page anchor menu colors by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    .sh-header .sh-nav>li.menu-item>a[href*="#"] {
        color: rgba(61,61,61,0.69) !important;
    }

     

    Best regards,
    Shufflehound team

    imosek8
    Participant

    I should have known that. Thanks.

    You are most welcome here 🙂

Viewing 4 posts - 1 through 4 (of 4 total)