Premium support

Please log in to post in these forums. If you didn't create an account when you purchased, please contact us.

Free support

If you haven't purchased GP Premium, support for the free theme can be found on WordPress.org.

[Resolved] Assigning drop down menu to sticky logo image

Home Forums Support Assigning drop down menu to sticky logo image

This topic contains 3 replies, has 2 voices, and was last updated by  Leo 3 days, 14 hours ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #420805

    Dear Tom,

    We recently purchased the GP premium license in October this year. It is a great theme !

    Have conducted the following so far for a project:
    1. Created top secondary menu – full width.
    2. Created top Primary menu position below the the secondary menu.
    3. Want to assign drop down menu to “sticky logo” image present on the top primary menu? The image logo is visible upon scroll down action.

    I would certainly require your assistance in understanding if there is a possibility to assign drop down menu to the logo image present in the “Sticky header”

    Looking forward for your reply and thanking you in advance for the support,
    kind regards,
    Gp

    #420907

    Leo
    Staff

    Hi there,

    Go to Appearance > Menus and add a new Custom Link.
    As the URL, add in your home page URL (or whatever you like).
    As the Link Text or Navigation Label, add in your logo image HTML:
    <img src="URL TO YOUR LOGO" alt="Your site name" title="Your site name" />
    Then, in the CSS Classes field (you may need to enable it by clicking Screen Options at the top right), add in this class: sticky-only

    Then add this CSS to hide it on non-sticky menu:

    .main-navigation:not(.navigation-stick) .main-nav ul li.sticky-only a {
       display: none;
    }

    Want to help support GP? Please consider leaving us a review!
    https://wordpress.org/support/theme/generatepress/reviews

    #424698

    Hi Leo,

    Thank you for your quick revert and support. Yup it works !

    Trying to replace the sticky image on (Mouse-over – action) with an animated Gif… 🙂 struggling a little bit, but will reach you guys in case i need help.

    Wishing you and your team a nice day !

    kind regards,
    GP

    #425029

    Leo
    Staff

    No problem!

    Want to help support GP? Please consider leaving us a review!
    https://wordpress.org/support/theme/generatepress/reviews

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

You must be logged in to reply to this topic.