Centralise 'Tab' Content Element

Home Forums Jevelin Theme Centralise ‘Tab’ Content Element

Home Forums Jevelin Theme Centralise ‘Tab’ Content Element

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    RESOLVED Posts
  • peakgraphicz
    Participant

    Hi,

    Is there any way of centralising the ‘Tab’ content element as my section is all middle-aligned but the tab is defaulted to the left with no visible option to change it (see attached screenshot).

    Thank you.

    Attachments:
    You must be logged in to view attached files.

    Hi @peakgraphicz,

     

    Thank you for your question.

     

    You can try achieving it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    @media (min-width: 1025px){
    #page-container .sh-tabs {
        padding: 0 35px;
    }
    }

     

    Best regards,
    Shufflehound team

    peakgraphicz
    Participant

    Hi,

    Thanks for getting back to me. Unfortunately, the CSS didn’t affect anything. Any ideas?

    Thanks again.

    Solution for this topic

    Please remove the above-shared CSS code and instead use the CSS code shared below.

     

    #page-container .nav-tabs>li {
        float: none;
        display: inline-block;
    }
    
    #page-container .sh-tabs {
        text-align: center;
    }

    peakgraphicz
    Participant

    Thank you, that sorted it!

    You are most welcome here 🙂

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