This topic has 28 replies, 4 voices, and was last updated 8 years by Radu.

  • Author
  • #129544
     digitalbazaar
    Participant

    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,

    #129633
     Laura
    Moderator

    Hello, 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 solution

    Laura 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 🙂

    #129639
     digitalbazaar
    Participant

    Hi 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

    #129644
     digitalbazaar
    Participant

    It would be great to be able to make tab backgrounds transparent as well, is this possible?

    #129645
     digitalbazaar
    Participant

    I would like to control the border color and thickness as well.

    #129758
     Laura
    Moderator

    Hello, you can use this css 🙂
    Add it to style.css of child theme

    COPY 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 solution

    Laura 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 🙂

    #129764
     digitalbazaar
    Participant

    Thanks 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.

    #129788
     digitalbazaar
    Participant
    This reply has been set as private.
    #130015
     Laura
    Moderator

    Hello, 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 update

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura 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 🙂

    #130103
     digitalbazaar
    Participant

    I 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.

    #130109
     digitalbazaar
    Participant

    Also, what is the point of having the Main Kleo theme if I am using the child theme?

    #130112
     digitalbazaar
    Participant

    I 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?

    #130133
     digitalbazaar
    Participant

    The style.css is not writable either, so I can’t make any of these changes. How do I make style.css writable?

    Thanks

    #130297
     Laura
    Moderator

    Hello, 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 ftp

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura 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 🙂

    #130307
     digitalbazaar
    Participant

    okay, 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.

    #130443
     Laura
    Moderator

    Hello, 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 solution

    Laura 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 🙂

    #130445
     digitalbazaar
    Participant
    This reply has been set as private.
    #130559
     Laura
    Moderator

    Hello, 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 solution

    Laura 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 🙂

    #130569
     digitalbazaar
    Participant

    Hi 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?

    #130682
     Laura
    Moderator

    Hello, is not happening for me, maybe clean your cache?
    Check attached

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura 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.
    #130695
     digitalbazaar
    Participant

    Its 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.

    #130831
     Laura
    Moderator

    Hello, 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 solution

    Laura 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 🙂

    #130887
     digitalbazaar
    Participant

    That 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

    #130941
     Laura
    Moderator

    Hello, 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 solution

    Laura 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 🙂

    #131009
     Radu
    Moderator

    Hi,

    Let’s solve this quick 🙂

    You can style content of each tab using this css

    COPY CODE
    
    div#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 solution
    #131408
     creatinglake
    Participant

    Sounds 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 🙂

    #131465
     Radu
    Moderator

    Hi,

    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 solution
    #131471
     creatinglake
    Participant

    Thank 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?

    #131483
     Radu
    Moderator

    You 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
Viewing 29 posts - 1 through 29 (of 29 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?