-
AuthorPosts
-
November 20, 2013 at 9:25 pm #191149
hello,
how can we change the colors of the tabs that we drag from content element?
thanksindiatravelz
November 21, 2013 at 4:39 am #191296Hi Indiatravelz!
You can find the css style of the Tab element on css > shortcodes.css:
#top .tabcontainer{ background: transparent; } .tabcontainer{ margin: 30px 0; position: relative; width:100%; clear: both; overflow: hidden; background: transparent; } .tab_titles{ position: relative; width:100%; clear: both; float:left; z-index: 5; } .widget .tabcontainer{ margin-top:0px; } .js_active .tab_content{ visibility: hidden; clear: both; padding: 10px 19px; overflow:auto; position: absolute; top:0; z-index: 0; left:120%; width:100%; } .js_active .tab{ cursor:pointer; margin:0 -1px 0 0; display: block; float: left; z-index: 2; position: relative; padding:12px 16px; top:1px; font-size: 11px; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border-style: solid; border-width:1px; } .js_active .top_tab .tab{ border-bottom: none; padding:12px 16px 14px 16px; } .js_active .active_tab{ z-index: 4; position: relative; font-weight: bold; } .js_active .tab_titles .tab:first-child{ border-top-left-radius: 2px; } .js_active .tab_titles .tab:last-child{ border-top-right-radius: 2px; } .js_active .active_tab_content{ display: block; visibility: visible; z-index: 3; position: relative; overflow:auto; border-style: solid; border-width:1px; border-radius: 2px; left:0; width:auto; } .tabcontainer .tab_icon{ margin-right: 7px; font-size: 13px; } .tab_inner_content{ margin: 11px 0; left:-200%; position: relative; } .active_tab_content .tab_inner_content{ left:0; position: relative; }
Can you please post a screenshot of what you’re trying to do?
Best regards,
IsmaelNovember 21, 2013 at 1:46 pm #191425Hi,
thanks for your reply.
I didn’t understand where exactly should I add the codes you have just sent me
Do you mean:
enfold-> styling-> quick css?
or is there somewhere else and how do i get thereplease see sample on the bottom of the following page:
http://indiatravelz.com/customized-guide-books/also we would like to make the tabs bigger regardless to the length of the text.
thank you in advance
indiatravelzNovember 21, 2013 at 5:37 pm #191517Hi!
Please add following code to Quick CSS in Enfold theme options
div .main_color .tabcontainer .active_tab_content { background-color: #cccc63; color: white; } .js_active .top_tab .tab { padding: 30px 50px 32px 50px; }
If this is not what you meant, please post a screenshot
Best regards,
YigitFebruary 7, 2014 at 3:34 pm #220878Hi, I see the codes above
I would like my ACTIVE tab to be light grey AND the ACTIVE tab CONTENT the same color
What code to put in CSS?
February 7, 2014 at 3:38 pm #220879I would also like to change the size of the font inside the tab
February 8, 2014 at 5:31 am #221134Hi!
You can use this on Quick CSS:
.js_active .active_tab_content { background: gray; } .js_active .active_tab { background: gray; font-size: 15px; }
Change the css values.
Regards,
IsmaelFebruary 8, 2014 at 10:54 am #221189thanks that worked great
and if i want to change the font size and color of the NON active tabs too?
February 10, 2014 at 9:28 am #221586Hi!
Use
.js_active .tab_content{ background: gray; } .js_active .tab{ background: gray; font-size: 15px; }
Best regards,
PeterFebruary 10, 2014 at 9:34 am #221591Hi, that changes the NON active tabs too?
February 10, 2014 at 6:55 pm #221795Hey!
Please try flushing your browsers cache. Peter’s code seems to be working fine on my end http://i.imgur.com/HoaA89f.jpg
Cheers!
YigitFebruary 10, 2014 at 7:28 pm #221810Hi. I think my question was not clear enough
Now the active tab is a big font and also bold
the other 2 not active tabs are small
i want all the fonts in all tabs to look the same
only the background color of the active tab different
February 10, 2014 at 7:57 pm #221814Hey!
Please add following code to adjust active tabs font size
.js_active .active_tab { font-size: 11px; }
and following for non active titles
.js_active .tab { font-size: 15px; }
Cheers!
YigitMarch 25, 2014 at 6:40 pm #242932Hallo
I like to change the Style from the tabs as follow:
1. The Fonts from the Tab titles should be 15 px in Main Content font color (#666666) and bold
2. The Background from the active tab title should be in the primary color (#a81010) and the fonts color should change in white (#ffffff)
3. The Background from active tab should be white (#ffffff), the Fonts in main content font color (#666666)Is this possible and please can you help me.
Best regards,
Dieter
- This reply was modified 10 years, 8 months ago by fotos4friends.
March 28, 2014 at 8:15 am #244228Hi!
Each of those is already listed within the css above. If you need further assistance in customizing the individual elements we recommend looking into a freelance developer from somewhere like Microlancer, Codeable or http://kriesi.at/contact/customization
Individual customization like the above is outside of what we cover through support but we will often provide it as long as our current queue is low. For right now its unfortunately quite high so if you need more detailed customization a freelance developer is the best route to go.
Regards,
Devin -
AuthorPosts
- The topic ‘changing the colors of tabs in content element’ is closed to new replies.