Hi,
i need to change the color (and size) of the font in tabs – active and not active. The same for the body – here also when hovered for not active tabs.
Also the tabs should reach to the end of the tab box no matter how long the text is.
Thanks Simon
Hi simonac!
Use this for border color:
.js_active .tab {
border-color: blue;
}
.js_active .active_tab_content {
border-color: blue;
}
Use this for background color of inactive tabs and white font color:
.main_color .sidebar_tab, .main_color .tabcontainer .tab {
background: blue;
color: white;
}
Use this for blue font color of active tab:
.main_color .template-archives .tabcontainer a, #top .main_color .tabcontainer .tab:hover, #top .main_color .tabcontainer .tab.active_tab {
color: blue;
}
Adjust color as needed.
Regards,
Andy
Hi Andy,
thanks for your answer!
Two things:
1. When hovering a non active tab the background color should change and not the font color.
2. Is it possible that the boxes of the headings reach over the complete weidth of the tab container?
Thanks a lot!!
Simon
Hi!
1- Please add following code to Quick CSS
.tabcontainer .tab:hover {
background-color: orange;
color: white!important;
}
2- Can you please post a screenshot and show the changes you would like to make? Not sure if i understood you clearly
Regards,
Yigit
Hey!
Please add following code to Quick CSS as well
div .main_color .tabcontainer .active_tab {
color: #212121!important;
}
@media only screen and (min-width: 1440px) {
.js_active .top_tab .tab {
padding: 12px 27px 14px 27px;
}}
Cheers!
Yigit
The code changes the active tab’s font but nothing else.
If i try without the first part also nothing changes.If i play with min-width it gets to long and flows over in a second line.
Hi!
Try with this:
@media only screen and (min-width: 767px) {
.top_tab .tab {
padding: 12px 0 14px 0 !important;
width: 20.07%;
font-size: 14px;
text-align: center;
}
}
Cheers!
Josue
You made it Josue!!!
Thanks!