Pesquisas recentes
Sem pesquisas recentes
How can I make header links appear as buttons?
Respondido
Publicado 15 de jul. de 2021
I want the links at the top-right of the header to be buttons. How would I do this?
Something like this:
Thanks in advance,
Victoria
1
4
4 comentários
Ifra Saqlain
Hi,
Follow the steps below. I am doing on Default Copenhagen Theme.
1). Go to the header.hbs file and add the links the inside the nav-links. See how I did.
2). Add the CSS to make the links button.
3). Output.
Or you can share your HC public URL so I can share updated code with your theme's header classes.
Team
0
Victoria Campagna
Hi Ifra,
Thank you - here is our page: https://customers.nastel.com/hc/en-us
Thanks,
Victoria
0
Ifra Saqlain
Hey Victoria ,
Add the below code snippet to your stylesheet at the bottom:
Output:
Desktop
Tablet & Mobile
Thanks
0
Victoria Campagna
Worked perfectly and looks awesome! Thank you so much, Ifra :)
-Victoria
0