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.
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
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 🙂
Popular choice Professional Developers At Your Fingertips! If you need services beyond standard support, we've got your back!
Let's get started
Services we offer: Graphic work / visualizations Full WordPress development and design
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.Got it