- This topic has 7 replies, 3 voices, and was last updated 3 years, 3 months ago by
David.
-
AuthorPosts
-
February 4, 2023 at 2:05 am #2520929
Jusung
Hello!
When you see the sticky header,
The menu color and the border between menu is white.
Is there a way to make it black on sticky header and blog page?Also, you can see the underline on the header.
I want to make it blakc on blog page and sticky header.February 4, 2023 at 6:56 am #2521134David
StaffCustomer SupportHi there,
try adding this CSS to change the site title and border colors on sticky nav:
.main-navigation.is_stuck .main-nav > ul > li:not(:first-child)::after { background-color: #000; } .main-navigation.is_stuck .navigation-branding .main-title a { color: #000 !important; }The bottom border color. You have this CSS:
@media (min-width: 769px) { #site-navigation .inside-navigation { border-bottom: 1px solid #f4f2f3; } }Change that to:
@media (min-width: 769px) { #site-navigation .inside-navigation { border-bottom: 1px solid #000; } .header-wrap #site-navigation .inside-navigation { border-bottom: 1px solid #f4f2f3; } }That way the light color only gets applied where the merged header is enabled.
February 4, 2023 at 10:17 am #2521433Jusung
On the blog page, on the main menu, is there a way to make the title and the border between menu black.?
Also, I have one more question.
When you see the border between menu, the thickness is different.
Can I make the thickness the same?.main-navigation .main-nav > ul > li:not(:first-child):after {
content: “”;
height: 50px;
width: 1px;
background-color: white;
position: absolute;
top: calc(40% – 10px);
}
.main-navigation .main-nav > ul > li {
position: relative;
}This code is applied
February 4, 2023 at 4:08 pm #2521602Ying
StaffCustomer Supportis there a way to make the title and the border between menu black.?
The border is added using below CSS, you can simply change the
whitetoblack.
.main-navigation .main-nav > ul > li:not(:first-child):after {
content: “”;
height: 50px;
width: 1px;
background-color: white;
position: absolute;
top: calc(40% – 10px);
}Can I make the thickness the same?
They are the same, they are all 1px in width.
February 4, 2023 at 9:33 pm #2521761Jusung
It has to be black only on blog page.
on other page, it has to be white.February 5, 2023 at 4:35 am #2521955David
StaffCustomer SupportThis CSS:
.blog .main-navigation .main-nav > ul > li:not(:first-child):after { background-color: #000; }February 5, 2023 at 4:43 am #2521962Jusung
Thank you! It works!
February 5, 2023 at 6:42 am #2522043David
StaffCustomer SupportGlad to hear that
-
AuthorPosts
- You must be logged in to reply to this topic.