Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1019027

    Hi,
    I have a problem with the tab section on my website.
    Problem is that I have long title and I don’t want them to be in 3 lines. So I added some custom CSS in General Style : .av-inner-tab-title { display:inline; }.
    Problem is solved for desktop and tablet but on mobile, my 3 tabs appears in two different lines.
    Do you have a solution for me?

    Thanks
    Sorry for my english… I’m french.

    #1019471

    Hey vincentsalin,

    Thank you for using Enfold.

    I don’t see the issue on my end. Is this fixed? If it’s not, please provide a screenshot using imgur or dropbox.

    Best regards,
    Ismael

    #1019506

    Hi Ismael,
    Thanks for reply.
    The problem is not fixed on mobile. See the first link.
    When resizing on desktop, no problem on Chrome (left) but the same issue appears on Safari (right). (Second link)

    Thanks

    • This reply was modified 6 years, 2 months ago by vincentsalin.
    #1019561

    Hi vincentsalin,

    You should wrap your code in a media query to work only for screen sizes above 1024px.
    Like this:

    
    @media only screen and (min-width: 1024px) {
      .av-inner-tab-title { display:inline; }
    }
    

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

    #1019565

    Hey Victoria,
    You saved my life, two times in a day! Thanks so much!

    #1019569

    How can I change the font size of tab titles?

    • This reply was modified 6 years, 2 months ago by SlmnB.
    #1019645

    Hi SlmnB,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .av-inner-tab-title {
        font-size: 14px;   
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1019681

    Hi Victoria.
    None of them worked.

    #1019753

    Hi,

    Thanks for the update. Are you referring to the tabs element? Try this css code instead.

    #top .tab_titles div {
        font-size: 20px;
    }

    Best regards,
    Ismael

    #1019932

    Hello. Thanks for the reply. It worked but I lost tab title background colour. They went white which doesn’t look good.

    #1020139

    Hi,

    It should not have affected the color. Please check the css code and make sure that the curly braces are intact.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.