HELP: How to create additional lines in color above top and below main menu?

Posted in: Newspaper
Post count: 10

Dear Sirs, can you please help me how to create those two green lines above the top menu and below main menu like the ones in this demo version: https://demo.tagdiv.com/newspaper_magazine/? Thanks in advance

Post count: 22421

Hello,

Those lines were added custom in the news magazine demo If you want to replicate them, they can only be added through coding. Here is the code used on the demo: https://www.screencast.com/t/I0amrVg4

Thank you!

Post count: 10

Thanks Mr. Bogdan! Because I am total beginner, can you please tell me If I can add those code in Theme panel and then custom code? And also if you can to explain me why word HEADER is with some rectangular form in the code, should I change there (in the name) something? Sorry about those basic questions, but I really need your help. Thanks again!

Post count: 20688

Hi,

If you could provide a link to your website we will give you a more accurate solution (code). We will give you a code to set a top border for the top menu, and a bottom one for the main header menu, as you want.
That rectangle appears when a keyword is searched in the code, to highlight it. It is added by the program we use
https://www.screencast.com/t/nXi7T5qn

Thanks

Post count: 10

Hello Mr.Simion. Thank you so much about this. This is the link of my website: http://patuvame.com/. I would be so grateful if you could give me the exact code for my site. Thank you A LOT! Have a nice day.

Post count: 22421

Hello,

Try to add this code in the theme panel-> custom css box:

.td-header-top-menu-full {
border-bottom: 1px solid #e9e9e9;
border-top: 4px solid #009688;
}
.td-header-style-1 .td-header-gradient::before {
height: 5px;
position: absolute;
bottom: 0;
background-color: #009688;
}

Your site is not boxed however so the lines will go full width. If you want to have it boxed as the NM demo, you will have to add a background image in the background section of the theme panel.

Thank you!

Post count: 10

Thank you so much for your support! Just one more, last question. If I want to change the header for example to HEADER STYLE 3 (like the one in NM demo), what should I change in the code, so it would appear? .td-header-style-1 to .td-header-style-3 or? (I’ve tried this and bottom line didnt’t appear). Thanks once again!

Post count: 20688

Hi,

The News Magazine demo uses header style 1, not header style 3. Here you can see how all the header style look
https://forum.tagdiv.com/header-styles/
If you were to change the header style to a different one the code will need modifications.

Thanks

Post count: 10

I am really sorry for disturbing you, but can you please modify the code for this style of the main menu http://patuvame.com/? I just need the line which goes below the main menu, the upper one is right. Thank you so much!

Post count: 20688

Hi,

I believe this is how you want it to be
https://www.screencast.com/t/EmBbohb7dWev

.td-header-style-3 .td-header-main-menu {
border-bottom: 4px solid #2A79AB;
}

Let us know if the code needs modifications, or you want a different result.

Thanks

Post count: 10

Thank you so much, you are the best! 🙂 I will ask for one more very important help for me. Can you please give me a code (http://patuvame.com/) just how to extend the blue element (line) and content of the main menu (house icon etc.) in order to be parallel (aligned) with the top menu’s blue line (ex: https://ibb.co/jiCOHR). Thanks a million!

Post count: 20688

Hi,

I could give you a code for that, with this result
https://www.screencast.com/t/K3fe8j8mM

.td-header-style-3 .td-header-main-menu {
width: 1164px;
}

Enter it in Theme panel->Advanced CSS in the desktop section, so it applies only on desktop.

Thanks

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