Home › Forums › Jevelin Theme › Centralise ‘Tab’ Content Element
Home › Forums › Jevelin Theme › Centralise ‘Tab’ Content Element
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.
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
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; }
Thank you, that sorted it!
You are most welcome here š