Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #936872

    Hello
    I’ve looked at many posts and still can’t get the horizontal padding between my tab titles to be smaller. I think it’s connected to the min-width 540px element but I can’t get it to work. I’d like to have a very horizontal small padding from one to the next since I’m only using ’01’ ’02’ etc for titles, and at the moment there is a large horizontal space between 01 and 02 etc. Here’s my code so far, below. Thank you in advance :)

    /************************ TAB SECTIONS ************************/
    /* title band */
    .av-tab-section-tab-title-container {
    background-color: #ff5057;
    }

    .avia-tab-title-padding-default .av-outer-tab-title {
    padding: 0px !important;
    }

    .av-tab-no-icon.av-tab-no-image .av-inner-tab-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 5px 0px;
    }

    .av-inner-tab-title {

    }

    #top .av-section-tab-title {
    color: #fff;
    padding-left: 0px !important;
    padding-right: 0px !important;
    }

    #top a.av-active-tab-title {
    color: #000;
    }

    #936881

    Hey webWahine,
    Try this code in the General Styling > Quick CSS field:

    .av-inner-tab-title, .av-tab-section-icon, .av-tab-arrow-container, .av-tab-section-image {
        width: 40px !important;
    }

    expected results:
    2018-04-03_203709

    Best regards,
    Mike

    #937292

    Perfect! Thanks so much :)

    #937339

    Hello, again
    I’ve now changed the titles to text from numbers so need a bit more help with mobile styling, please. I’ve removed the arrow and set the text to align left but when you click on a title all of the titles move around a bit horizontally. Can this be removed? It would actually be great to stack the titles instead of having them on two lines – I tried that but it kept disappearing – again, I assume it has to do with the clicks and the movement. Thanks!

    #937473

    Hi,
    Please try:

    @media only screen and (max-width: 460px) { 
    #av-tab-section-1 .av-inner-tab-title,#av-tab-section-1 .av-tab-section-icon,#av-tab-section-1 .av-tab-arrow-container,#av-tab-section-1 .av-tab-section-image {
        width: 80px !important;
    }
    #av-tab-section-1 .av-tab-section-tab-title-container {
        padding-left: 25px !important; 
        padding-right: 0px !important; 
    }
    #av-tab-section-1 .av-section-tab-title {
    font-size: 10px !important;
    }
    }
    
    Best regards,
    Mike
    #937884

    Thanks, Mike but it’s still jumping and the text is not stacked vertically. I targeted just this page, so added in the code, below. I want it to appear like this –

    STUDIO
    1 BD
    2 BD
    2 BD + DEN
    3 BD

    Thanks again!

    /* older plans page to stack titles */

    .page-id-197 #av-tab-section-1 .av-inner-tab-title,
    .page-id-197 #av-tab-section-1 .av-tab-section-icon,
    .page-id-197 #av-tab-section-1 .av-tab-arrow-container,
    .page-id-197 #av-tab-section-1 .av-tab-section-image {
    width: 80px !important;
    }

    .page-id-197 #av-tab-section-1 .av-tab-section-tab-title-container {
    padding-left: 25px !important;
    padding-right: 0px !important;
    }

    .page-id-197 #av-tab-section-1 .av-section-tab-title {
    font-size: 10px !important;
    }

    #939074

    Hi,

    The tab section is not visible on mobile view. Did you use additional modifications? Please provide a screenshot of the mobile layout that you have in mind.

    Best regards,
    Ismael

    #939345

    Sorry, but it’s still there.

    http://8888osler.com/images/mobileTabs.jpg

    As you see it’s still a list but I’d like have the titles stacked, left, just like this –
    STUDIO
    1 BD
    2 BD
    2 BD + DEN
    3 BD

    #940031

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    @media only screen and (max-width: 480px) { 
    .page-id-197 #av-tab-section-1 .av-section-tab-title {
        display: block;
    }}
    

    Best regards,
    Yigit

    #940037

    That’s made it stacked but it loads and then immediately disappears! Odd – perhaps something to do with the animation again?

    #940038

    I tried opacity and that didn’t work either –

    .page-id-197 #av-tab-section-1 .av-section-tab-title {
    font-size: 10px !important;
    display: block !important;
    opacity: 1 !important;
    }

    Perhaps it’s a line height issue? Thanks, again! :)

    #940672

    Hi,

    Please add following code to Quick CSS as well

    .js_active .av-tab-section-tab-title-container {
        left: 0!important;
    }

    Best regards,
    Yigit

    #940682

    That worked! Thank you very much, Yigit :)

    #940698

    Hi,

    I’m glad you were able to get this corrected. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Adjust horizontal space between tab titles’ is closed to new replies.