Okay
  Public Ticket #3447333
Break tab title onto two lines
Closed

Comments

  •  17
    TheSnapAgency started the conversation

    Hi,


    Please can you tell me how I can break the tab title onto two lines like the following mock-up?

    7715481306.png

    Here is the page where I have created the tabs.

    https://avntn.nimsite.uk/claims-process/

  •  8,839
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    .tabbed[data-alignment=center] .wpb_tabs_nav li a {
        max-width: 80% !important;
    }
    .tabbed[data-alignment=center] .wpb_tabs_nav li {
        white-space: wrap !important;
    }

    Thanks


    ThemeNectar Support Team 

  •  17
    TheSnapAgency replied

    Thanks Tahir