-
Author
-
July 19, 2016 at 02:04 #129544digitalbazaarParticipant
Greetings. I would like to style multiple sets of “kleo tabs” differently. You can see on the site that there are two different sets of tabs on the home page of the site, one under “solutions” and one under “about”. I want to style one set of tabs one way and the other another way.
I see under “Kleo Tab Settings” there is a section called “extra class name” with a note that says “If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.”
How do I create a new class name and refer to it in the css file? What is the code to restyle the tabs to change the dimensions, background color, and text color? Is it possible to use an image as a tab?
Your assistance with this is much appreciated.
Thanks,
July 20, 2016 at 02:32 #129633LauraModeratorHello, please list me each change you want to do and i will give you the css code for it, then you can edit it as you prefer 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 20, 2016 at 04:20 #129639digitalbazaarParticipantHi Laura, thanks for getting back to me. I am not sure what you mean by “list me each change you want to do”. I want to style both sets of tabs on this page. http://new.digitalbazaar.com/
I’d like to change the color of the tab(the background and the text), when its clicked and when its not clicked, as well as the height of the tabs.
Thanks
July 20, 2016 at 04:57 #129644digitalbazaarParticipantIt would be great to be able to make tab backgrounds transparent as well, is this possible?
July 20, 2016 at 05:28 #129645digitalbazaarParticipantI would like to control the border color and thickness as well.
July 21, 2016 at 16:29 #129758LauraModeratorHello, you can use this css 🙂
Add it to style.css of child themeCOPY CODE.kleo-tabs.tabbable li { background-color: black; }
You can use also transparent, like:
COPY CODE.kleo-tabs.tabbable li { background-color: transparent; }
For active tab, use this
COPY CODE.kleo-tabs.tabbable li a:focus { background-color: green !important; color: white; }
Color is the text color 🙂
Border
COPY CODE.kleo-tabs.tabbable li { border: 1px solid red; }
Change 1px for border size 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 21, 2016 at 16:35 #129764digitalbazaarParticipantThanks for this! I tried activating the Child theme before and it messed up the site, undid some settings. Any suggestions on how to switch to the child theme without these unintended consequences? Can you have the child and parent theme activated at the same time?
This is really the last thing I need for this site to be complete, thanks again for your help.
July 25, 2016 at 05:28 #130015LauraModeratorHello, the child theme just changes the theme options because you did not set it up, so go to the main theme, copy theme options at the export section, switch to child theme and import the settings. All is at theme options.
You need to use the child theme for security reasons as your changes could be lost in a theme updateHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 25, 2016 at 17:54 #130103digitalbazaarParticipantI exported the options and tried to import them into the child theme but I don’t see how to import the file. It says “input file here” but I can’t figure out how to input that file. I tried dragging and dropping, copy/pasting, but neither of those work.
Please help.
July 25, 2016 at 18:11 #130109digitalbazaarParticipantAlso, what is the point of having the Main Kleo theme if I am using the child theme?
July 25, 2016 at 18:23 #130112digitalbazaarParticipantI was also asking how to stlye different sets of tab differently. Won’t adding this CSS to the style sheet style all the tabs not just a specific set of tabs?
July 25, 2016 at 19:03 #130133digitalbazaarParticipantThe style.css is not writable either, so I can’t make any of these changes. How do I make style.css writable?
Thanks
July 26, 2016 at 20:11 #130297LauraModeratorHello, to change the style you need to use css codes and add them to the style.css
The child theme is needed to make changes to the website, main theme and child theme should be installed and child theme activated.
If you cant edit the style.css find it at File Manager of the hosting or ftpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 26, 2016 at 21:02 #130307digitalbazaarParticipantokay, thanks for that. I got it to be editable but the CSS is not really working. When you land on the page the “active” tab has a white background. When you click on the tab it turns the color I want but then if you click anywhere else on the page it goes back to white. I want transparent inactive tabs and colored active tabs that stay that color even if you click on a non-tab area of the page.
Here is the css I am using that you provided that I thought would work.
.kleo-tabs.tabbable li {
background-color: transparent;
}
.kleo-tabs.tabbable li a:focus {
background-color: #026d63 !important;
color: white;
}Also, apparently the css does not work for the “line” rather than “square” style of tabs. Is there different css for the line tabs?
the site URL, http://new.digitalbazaar.com/
Thank you.
July 27, 2016 at 21:33 #130443LauraModeratorHello, can you share admin credentials so i can add it for you? 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 28, 2016 at 20:03 #130559LauraModeratorHello, changed, does it work? Let me know if you need more adjustments
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 28, 2016 at 20:40 #130569digitalbazaarParticipantHi Laura. No, it seems to be doing the same thing as before. The tab that is showing is not green when you land on the page and when you click anywhere on the page the green tab turns white even though that tab is still open. It might be with how an “active tab” is defined in the tabs module. The green should not disappear with any click, only a click on another tab in the same tab module. Seems like a bug to me, not just my preference.
Any ideas of what else to try?
July 29, 2016 at 18:14 #130682LauraModeratorHello, is not happening for me, maybe clean your cache?
Check attachedHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
Attachments:
You must be logged in to view attached files.July 29, 2016 at 18:26 #130695digitalbazaarParticipantIts still happening for me after I cleared the cache and when I tried in it a browser I don’t usually use. Its looks like its happening for you too–your second image has “Application Platform” selected but the tab is not green. That must be because you clicked somewhere else on the page before you did the screen capture, which should not change the color of the “active” tab.
August 1, 2016 at 05:03 #130831LauraModeratorHello, by default it does change it, sadly, there is nothing else i can do but help you with css. The functionality of the tabs is something different and should be reviewed by a developer as a custom request 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
August 1, 2016 at 17:14 #130887digitalbazaarParticipantThat is really disappointing. As far as I am concerned its a bug with the theme that should be fixed. However, the line version of the tabs does not seem to have this same bug. How can I style the line version of the tabs? If you go to my site in the “About” section there are tabs. I want to change the active tab text color to another color.
Thanks
August 1, 2016 at 21:21 #130941LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
August 2, 2016 at 15:46 #131009RaduModeratorHi,
Let’s solve this quick 🙂
You can style content of each tab using this css
COPY CODEdiv#tab-bedrock { background: red !important; color: #fff; } div#tab-credentials_management { background: yellow; color: #000; } div#tab-payments_processing { background: green; color: #fff; }
That was possible by matching the ID of the elements, without the element id name this was not possible, you should add to that section that contains the tabs an custom class to can match the rest of the elements that you need to style, please quick summarize me what do you want to achieve in your next message
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 4, 2016 at 21:11 #131408creatinglakeParticipantSounds good Radu
For the first set of Tabs under “Solutions”, I want them to be the colors that they are. The problem is that when you land on the page the default active tab “credentials management” is not teal even though that is the active tab. The other problem is that when you click off the tab, anywhere on the page, the active tab color is turned off. All I want is the tab with the content/text showing to always be the teal color no matter if you click anywhere else on the page and the non-active tabs to be the way they are now.
In the tab section under “about” I just want to change the color of the tab font for the active tab.
Thanks 🙂
August 5, 2016 at 17:03 #131465RaduModeratorHi,
Add this css to wp-admin -> theme options -> general settings -> quick css
COPY CODE.kleo-tabs.tabbable ul.nav.nav-tabs.responsive-tabs.tabs-style-default li.active a { background-color: #026d63 !important; color:#fff !important; }
Now the active tab will be shown at page load
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 5, 2016 at 17:26 #131471creatinglakeParticipantThank you! That was the solution I had been waiting for.
Now, the last thing, how do I change the color of the Font of the active tab for the “line” version of the tabs in my “about” section?
August 5, 2016 at 18:22 #131483RaduModeratorYou can do that with this kind of selector
COPY CODE.section-container .kleo-tabs.tabbable ul.nav.nav-tabs li.active {color:red !important;}
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.