Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #1150522

    Hi,
    I created the tab section with 3 tabs. I need to change the background color for each tab and the content border color must be the same as the tab background color. I t is possible to do this?

    • This topic was modified 5 years, 1 month ago by IQ2marketing.
    #1150630

    Hey IQ2marketing,

    You can set the background color for each tab
    Image 2019-10-23 at 21.44.46.png

    Could you please attach a mockup of what you’re trying to achieve?

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1150768

    I need to create this:
    1. When someone clicks on 1 tab
    https://lex4you.pl/1.png

    2. When someone clicks on 2 tab
    https://lex4you.pl/2.jpg

    3. When someone clicks on 3 tab
    https://lex4you.pl/3.jpg

    Tab content border-color i the same as tab background-color

    #1150803

    Hi IQ2marketing,

    Can you show us what you’ve got so far?

    Best regards,
    Victoria

    #1151704

    sorry I can’t because this site is on the private localhost.

    #1151929

    Hi,

    We would need to see the exact page to provide accurate ids and classes.

    Best regards,
    Jordan Shannon

    #1151998

    ok, I created a test site

    #1152346

    Hi IQ2marketing,

    Thanks for giving us a link to check upon.
    Try adding this css code in Quick CSS, located in Enfold > General Styling:

    .tabcontainer [data-fake-id="#tab-id-1"] {
        border-color: #ffb803;
    }
    
    .tabcontainer [data-fake-id="#tab-id-2"] {
        border-color: #32a6a6;
    }
    
    .tabcontainer [data-fake-id="#tab-id-3"] {
        border-color: #fc6c3a;
    }

    Best regards,
    Nikko

    #1152632

    ok thanks, but this work only for tab title border, not for active content border

    #1152937

    Hi,

    You should be able to target the active state using basically the same CSS:

    .tabcontainer [data-fake-id="#tab-id-1"]:active {
        border-color: #ffb803;
    }

    Best regards,
    Rikard

    #1153646

    hi, I add this code but still don’t work

    #1153798

    Hi,

    Did you add the code to the very top of quick css so it runs first? Also, clear the cache a few times over.

    Best regards,
    Jordan Shannon

    #1153903

    yes, I add this code to the top of quick css. Title border is working, but the content has still gray border

    #1153985

    Hi,

    Thanks for the update. Do you mean the blue outline? If so then please try this CSS:

    .tab:focus {
        outline: -webkit-focus-ring-color auto 0 !important;
    }

    Best regards,
    Rikard

    #1154017

    I need to change the content border, color must be the same as the tab title background-color.
    https://mppk.pckp.pl/2.jpg

    #1154129

    Hi,

    Add this to quick css:

    #tab-id-1-container.tab_content.active_tab_content{
    border-color:#ffb803!important;
    }
    
    #tab-id-2-container.tab_content.active_tab_content{
    border-color:#32a6a6!important;
    }
    
    #tab-id-3-container.tab_content.active_tab_content{
    border-color:#fc6c3a!important;
    }

    Best regards,
    Jordan Shannon

    #1154193

    now is ok, thank you :)

    #1154424

    Hi,

    No problem at all. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘tab section content border color’ is closed to new replies.