I am having issues with adding a link to icon menu at the header on my Home Page

1 Kommentare

  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    Wayne, I'm using Copenhagen Theme and adding a link in the icon menu at the header.

       <button class="menu-button" aria-controls="user-nav" aria-expanded="false" aria-label="{{t 'toggle_navigation'}}">
    <a href="#"> // Add the URL, remove the hash (#)
    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" focusable="false" viewBox="0 0 16 16" class="icon-menu">
    <path fill="none" stroke="currentColor" stroke-linecap="round" d="M1.5 3.5h13m-13 4h13m-13 4h13"/>
    </svg>
    </a>
    </button>

    add this CSS code at the bottom of the stylesheet.

    .nav-wrapper .menu-button a{
    display:inline-block;
    }

     

    Or you can share the screenshot of your issue.

     

    Team

     

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk