Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #531148

    I’m trying to figure out how to center a tabs element on my page and create a color border/highlight color on the tabs similar to the “Blog” and “Ebook” tabs on the homepage of this website – http://www.smartbugmedia.com/.

    • This topic was modified 9 years, 1 month ago by rutledgeim.
    #531236

    In addition to my previous question – Is there a way to insert a blog post slider and a content slider element inside of a tabbed area?

    #532508

    Hey!

    try this code in Quick CSS field:

    .active_tab {
    border-top: 2px solid blue;
    }
    

    and adjust as needed.

    You could try to add slider’s shortcodes into your tab element. For this activate debug mode to be able to see them.

    Cheers!
    Andy

    #532819

    Thanks for getting back to me. Unfortunately, the Quick CSS doesn’t seem to have any effect on the tabs when I added. I activated the debug mode as suggested and I can now see all of the shortcode – but I’m not really sure what to edit to center the tabs. Any other suggestions for how to accomplish these things.

    #533052

    Hey!

    Please add this in the Quick CSS field in order to center align the tab title:

    .tab_titles {
        text-align: center;
    }
    
    .tab_titles .tab {
        display: inline-block;
        float: none;
    }

    Cheers!
    Ismael

    #533397

    Thanks for your help! That CSS helped center the tabs. Then I was able to apply the border property to the “.tab_titles .tab” for the color border.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Help with styling tabs element’ is closed to new replies.