Archived topic
CSS style in the button nav lost
1 reply · Started by Jose on January 5, 2021
By mistake I deleted the style for the button class “online-button” for the template Vinyasa.
How can I add back in the code the class “online-button”? so the button in the nav will have again the css style
Before:
<li id="menu-item-3433" class="online-button menu-item menu-item-type-post_type menu-item-object-page menu-item...
Now:
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-...
Hi there,
try:
@media (min-width:769px) {
.main-navigation .main-nav ul li.online-button a {
background-color: #ffffff;
border: 2px solid #000000;
color: #000000;
line-height: 35px; /*this number will likely need to be adjusted*/
}
}
Adjust you colors etc to what your need
If you need further help - share a link to your site and explain the style you need.