Site logo

Archived topic

How do I get the border above and below the navigation

3 replies · Started by Ian on September 12, 2021

Viewing posts 1–4 of 4

I am recreating the navigation I did in Themer to Gen Press and I would like to replicate the top and bottom gradient borders in GP. I tried to use GB for this but could not add the menu in the block.

Hi Ian,

Try adding this CSS:

header#masthead:before, header#masthead:after {
    content: "";
    height: 8px;
    width: 100%;
    display: block;
    background-image: linear-gradient(
90deg, #15DFA0 0%, #429CD8 98%);box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 50%);
}

As usual Elvin, it worked perfectly. :-) Thank you!

No problem. Glad to be of any help. :D

This archived topic is closed to new replies.