New Landing How can we help? Themeforest Theme Support Dante how to center those big tabs horizontally…

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #54730
    mgma
    Member
    Post count: 136

    The big, pretty horizontal tabs… I can’t seem to center them horizontally above the containers, etc.

    Ideas/CSS for this?

    Thank you!

    #54835
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi
    Can you post up the URL to a page where this is happening so I can check it out directly?
    Thanks!

    #54852
    mgma
    Member
    Post count: 136

    I’d like these tabs to be centered instead of flush left on the page…

    http://bigidea.pro/chp/2014/

    Thanks!

    #54902
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, does this work for you?

    ul.nav-tabs {
    padding-left: 24%;
    }
    #55634
    mgma
    Member
    Post count: 136

    Thanks. It moves them, but a specific amount. So it’s not responsive. I need them centered always.

    I also tried to find the font size for these, on mobile resolution only, so I can make them smaller on mobile. Can’t find it. Can you direct me?

    Thanks!

    #56203
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @mgma,

    This code will sort it for you:

    .spb_tabs .nav-tabs {
    text-align: center;
    }
    .nav-tabs>li {
    float: none;
    display: inline-block;
    }

    Hope that helps.

    – Ed

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register