This topic has 16 replies, 2 voices, and was last updated 9 years by 5high-photohub.
-
Author
Tagged: visual composer, Tabs, kleo, styling, tour
-
March 20, 2015 at 20:42 #509835high-photohubParticipant
Hi,
I’m sure this is a really basic question, but i can’t see it for looking!
I’ve inserted a vertical tabbed ‘tour’ element via VC into a page and would like to add style elements to it, just like the Kleo Theme Options are laid out in the wp-admin section (or similar). But I can’t find where to do this! So what I’d like to do is:
-
I want to add borders to the tabbed elements
and colours to the tabs
and sit a few tabs grouped under one tab (like your Style Options section)I can’t even find where to add a border to define the tabs, or how to control how wide the tabs are in comparison to the tabbed content, so my tabs are really long and the content is pushed to the right! Where do I control this styling from?
I’ve attached a screenshot of yours and mine for comparison!
many thanks.
Attachments:
You must be logged in to view attached files.March 23, 2015 at 17:57 #51198RaduModeratorHello,
In Kleo Styling Options is not exist section to customize tabbed content, this are styled from theme core css.
Please provide me URL of that page , i will give you a CSS Fix for borders
Sorry for inconvenience
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 25, 2015 at 22:18 #515405high-photohubParticipantHi Radu,
Thanks for that – but i was after the vertical tabs section styling; the ‘Tour’ vertical tabbed content in VC. Like in your Theme Options that shows in wp-admin area (see my first screenshot).
Any help appreciated!
Cheers.March 26, 2015 at 17:35 #51678RaduModeratorHello,
The “problem” was caused by having background section like as tab hover and active color.
I used this fix
COPY CODE.wpb_tour .nav-tab li:hover, .wpb_tour .nav-tab li.active { background-color: #eee !important; }
Now it’s ok.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 26, 2015 at 21:52 #517275high-photohubParticipantThanks Radu,
I’ve had a look at it to find the selectors for styling the borders for the tabs and the ‘pages’ beside them, which i thought would be easy with having your selectors as a guide as to what to look for, but I’m stuck! Just can’t track them down!
Could you give me the list of selectors i need to style these things on the tabbed tour? –
1. how to change the width of the tab, as at present it’s really wide compared to the content part beside it (So I’d like the tab shorter, so the page bit beside it is wider).
2. tab/page border colours
3. tab/page border width
4. tab colours
5. and lastly how to arrange the tabs into ‘sub tabs’ (if possible), like in your theme options > styling options section in wp-admin.Even if you could show me where to find these styles in style.css would be great. Thanks.
Cheers,
JMarch 28, 2015 at 04:21 #519245high-photohubParticipantOK I’ve managed to track down some of it. These seem to work but can you just check my css below?
COPY CODE/* Trial change colour of tab on hover in vertical tour tabbed content - SeventhQueen support */ .wpb_tour .nav-tab li:hover, .wpb_tour .nav-tab li.active { background-color: #6ebad3 !important; } /* Trial change colour of tabs in vertical tour tabbed content and borders on tabs */ .wpb_tour .nav-tab { background-color: #bde1f9 !important; border: solid 1px !important; border-color: #6ebad3 !important; } /* Trial change colour of border for tabbed contents in vertical tour tabbed content */ .wpb_tour .tab-content { border: solid 1px !important; border-color: #6ebad3 !important; }
But the things I can’t find are:
#1. how to change the tab width, yet remain responsive
#5. how to group as sub=tabsAny help would be great! Cheers.
March 29, 2015 at 05:08 #520185high-photohubParticipantHi again,
I’ve found the correct css for controlling the tab widths:COPY CODE.wpb_tour .nav-tab { width: 200px;}
but this of course doesn’t work for when it scaling to a smaller screen, likw it should. Can you give me an idea of how to do it so it’s narrower ina large screen, then reverts back to it’s default wider width in a smallerscreen -so it looks like a normal menu then?
So still after answers to #1 and #5 above!
Thanks.March 30, 2015 at 19:10 #52255RaduModeratorHello,
Try like this :
COPY CODE.wpb_tour .nav-tab { width: 200px; } @media (max-width: 600px) { .wpb_tour .nav-tab { width: 100% !important; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 30, 2015 at 22:47 #523145high-photohubParticipantHi Radu,
Yup, that seems to do the trick.
Thanks again, J
April 7, 2015 at 09:21 #534875high-photohubParticipantHi again,
Can you please clarify how to style tabs as ‘sub-tabs’ – as per below Q…
5. and lastly how to arrange the tabs into ‘sub tabs’ (if possible), like in your Kleo theme options > ‘styling options’ section in wp-admin.
many thanks,
J
April 9, 2015 at 18:13 #53794RaduModeratorThis module “Tour Vertical tabbed content”
Arrange content and works similar to theme options panel
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 10, 2015 at 01:18 #538435high-photohubParticipantHi Radu,
Hope, can’t track it down. In the docs it say all style is in assets/css/app.css, and when I look in this I can only find stle for standard tour tabs – not the sub-tabs style.
If I use Firefox to locate your styling for Theme options in wp-admin for the Vertical tour tabs then I think I’m only seeing WP css as I can’t find any of these selectors in the kloe css:
.redux-sidebar .redux-group-menu li.active.hasSubSections a, .admin-color-sunrise .redux-sidebar .redux-group-menu li.activeChild.hasSubSections a
Any help appreciated.
Thanks.April 10, 2015 at 23:36 #539735high-photohubParticipantActually don’t worry, I’ve designed it differently now -so all good.
Thanks for your help before. -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.