I adjust the height and font size of the top bar in the header by using custom CSS.
/* Increase the height of the top bar */
.site-header .top-bar {
height: 60px; /* Adjust the height as needed */
}
/* Increase the font size of the top bar */
.site-header .top-bar a {
font-size: 16px; /* Adjust the font size as needed */
}
But it doesn’t work?
Hi liuxuewu,
Can you try adding this CSS code and see if it helps:
#header_meta .container {
padding: 15px 0;
}
Best regards,
Nikko
Unfortunately, there is still no change
Hi,
The css classes .site-header & .top-bar are not typical for Enfold, I would recommend this css:
#header_meta .container {
min-height: 60px;
}
#header_meta .container * {
font-size: 16px;
}
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.
If this doesn’t help please include the url to the page in question so we can take a closer look.
Best regards,
Mike
Thank you, I’ve got it covered.