Add "My account" Icon link to Variant Vertical 2 Header Type

This topic has 8 replies, 2 voices, and was last updated 6 years, 7 months ago ago by Olga Barlow

  • 7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 25, 2017 at 16:51

    Hello,

    Thank you for your choice!
    If you want to change the header structure and add my account link you need to edit xstore/headers/vertical2.php file. Use child theme to do any changes in template files.

    Regards

    Avatar: svidersky.vitaly
    svidersky.vitaly
    Participant
    September 25, 2017 at 16:55

    Great, this is what I thought in the beginning, but thought you have an alternative way.

    So if I copy/paste the line with the login icon from the hamburger to vertical2 it should work, right?

    Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 26, 2017 at 10:53

    Hello,

    Yes, maybe some styles customization will be required.

    Regards

    Avatar: svidersky.vitaly
    svidersky.vitaly
    Participant
    September 26, 2017 at 10:57

    Thanks Olga,

    When I add the line that makes the Account link appear, the link is a text, not as an icon. Here I suppose I need to look what to change in styles in order to make it appear as an icon.

    Another link appears as well, a Newsletter link. Is there a way I can disable it form the admin page or I have to find out where it is in code?

    Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 26, 2017 at 11:02

    Hello,

    You can add the icon using custom CSS styles or by changing the etheme_top_links function (xstore/framework/template-elements.php).
    To disable Newsletter go to Theme Options > E-Commerce > Promo Popup > Show link in the top bar > Off.

    Regards

    Avatar: svidersky.vitaly
    svidersky.vitaly
    Participant
    September 26, 2017 at 11:10

    Cool Thanks.

    Sorry for my ignorance, I rather ask you this and receive a quick answer then search for the entire day and probably not find 🙂

    On my current website, I have a vertical 2 header type. On the mobile menu, the account and social link appears. I was thinking, if I could add the same to the main menu that would work just fine. Can I add the Account link to the main menu?

    Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 26, 2017 at 13:44

    Hello,

    Actually, if you create 2 different menus for the mobile and desktop then you can do this. So, just create Menu and add the My account page into menu, choose “Main menu” in Display location. And create menu for the mobile without this item and choose “Mobile menu” in the locations list.

    Regards

  • Viewing 8 results - 1 through 8 (of 8 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.