This topic has 6 replies, 2 voices, and was last updated 9 years by broadsword.
-
Author
Tagged: Tabs, responsive
-
September 11, 2015 at 06:33 #77142broadswordParticipant
Hi there,
Just wondering if the width of a regular simple nav tab can be set to be responsive.
So, if for instance you have four tabs, how can it be set so that each takes up 25% of the width of the container containing the tabs?
September 11, 2015 at 14:53 #77184RaduModeratorHi,
I cannot figure out about what tabs are you talking about, can you please provide a URL where that tabs appears ?
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 11, 2015 at 18:15 #77217broadswordParticipantSure, right here, @Radu :
http://www.myselfdefensetraining.com/awesome-enrollment-options/
See the four tabs below the first image? I’d like to figure out how to make each take up 1/4th of the width instead of being all stacked up in the center.
September 11, 2015 at 20:01 #77228RaduModeratorHi,
Use this css add it to Wp-Admin -> Theme Options -> General Settings -> Quick CSS
COPY CODEli.vc_tta-tab { width: 25%; padding:0 !important; margin: 0 !important; }
Let me know if its ok
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 11, 2015 at 20:02 #77229RaduModeratorBy using this CSS modifications will be applied only for this page, (page with id )
COPY CODEbody.page-id-19038 li.vc_tta-tab { width: 25%; padding:0 !important; margin: 0 !important; }
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 12, 2015 at 00:09 #77257broadswordParticipantThat’s some very slick CSS right there, @Radu – thanks, will give it a try! 🙂
September 12, 2015 at 02:18 #77276broadswordParticipantSuperb, that worked like a charm. Thanks, @Radu!
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.