Add a "Buy" button only in the scrolling top menu

This topic has 6 replies, 3 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp

  • Avatar: groubee
    groubee
    Participant
    April 29, 2015 at 09:18

    Hi

    Is it possible to add a “buy” button inside the Scrolling topmenu? only shown in the scrolling menu – not in the normal topmenu. (Orange to black – on hover)

    See image: https://www.dropbox.com/s/gu00v4tt30badjc/buy-button-in-scroll-menu.jpg?dl=0

    Best regards
    Tonny

    5 Answers
    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 29, 2015 at 12:40

    Hello

    In this case you should manually edit wp-content/themes/woopress/header.php. We strongly recommend to make all changes within the child theme. You may read here about child theme: http://codex.wordpress.org/Child_Themes.
    Please tell us what is the function of this button.

    With best regards
    Brian Johnson

    Avatar: groubee
    groubee
    Participant
    April 29, 2015 at 14:33

    Hi

    The function of this button is to link to the product page: http://smooff.serv11.powerhosting.dk/?product=smooff or to link to the shop page: http://smooff.serv11.powerhosting.dk/?post_type=product if there is more than one product.

    I will try to create a child theme.

    Thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    April 29, 2015 at 15:23

    Hello,

    Unfortunately there is no feature to create a separate menu for fixed header.
    As Brian said you need edit header.php and specify what menu to load in the fixed header. A new menu should be created in Appearance > Menu.

    Regards,
    Eva Kemp.

    Avatar: groubee
    groubee
    Participant
    April 29, 2015 at 20:40

    ok – thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    April 29, 2015 at 20:42

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.