Archived topic
Line in primary navigation
5 replies · Started by Fernando on March 18, 2022
Viewing posts 1–6 of 6
Hey,
How can I put a 1px line below the header or put shadow?
Thanks
Hi there,
can you share a link to the site you want it applied to ?
I can then provide the necessary CSS.
Hi David
Thanks, the site is: Fale Saúde
OK so it needs some CSS and here are the options:
FULL WIDTH:
a) Add a Border:
.site-header {
border-bottom: 1px solid #ccc;
}
b) Box shadow:
.site-header {
box-shadow: 0 2px 5px rgb(0 0 0 / 0.5);
}
CONTAINED WIDTH:
a) Add a Border:
.inside-header {
border-bottom: 1px solid #ccc;
}
b) Box shadow:
.inside-header-header {
box-shadow: 0 2px 5px rgb(0 0 0 / 0.5);
}
Thank you very much!
It worked super well!
Glad to hear that
This archived topic is closed to new replies.