Adding horizontal line below menu bar and top menu

Posted in: Newspaper
Post count: 4

How can I insert an horizontal line below
– main menu bar
– top menu bar

Thank you vert much!

Post count: 22421

Hello,

You can add a bottom border with css. You will need to provide a link to your site so I can inspect it though so I can provide a proper code.

Thanks.

Post count: 4

Hello,

https://descubralisboa.com/

Is it enough?

Thank you, Bogdan.

Post count: 23312

Hi,

That’s your website -> https://www.screencast.com/t/duLRJnLQJW? I cannot do anything, sorry! Provide a valid URL so we can take a closer look at it.

Thanks.

Post count: 4

Dear Catalin,

I am still working on the construction of the site and for this reason it is in this mode. I would like to customize the top menu with the bar before turning the site public.
Which link can I provide you in such case?

Post count: 20688

Hi,

We could try a more general code and see if it works for you. Something like this
https://www.screencast.com/t/QgFM5nt3fU9u
The code will add a border bottom to the top menu and main menu, all the values in the code can be changed (border size, style and color)

.td-header-menu-wrap,
.td-header-top-menu-full {
border-bottom: 5px solid red;
}

Custom codes such as this can be entered in the Theme panel->Custom CSS section. Try it and see if it works properly.

Such customization can easily be done with the browser inspector tool. Inspect the location you want to customize and identify the elements used. Then create custom code. This is a guide in the matter with some examples
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

If the code does not work for you, please mention the header style used, it might need modifications.

Thanks

Post count: 4

Dear Simion,

The code you provided works! 🙂
Thank you very much and also thank you for the guide. It will be very useful

Best wishes!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.