-
AuthorPosts
-
October 23, 2019 at 2:47 pm #1150522
Hi,
I created the tab section with 3 tabs. I need to change the background color for each tab and the content border color must be the same as the tab background color. I t is possible to do this?- This topic was modified 5 years, 2 months ago by IQ2marketing.
October 23, 2019 at 8:45 pm #1150630October 24, 2019 at 9:13 am #1150768I need to create this:
1. When someone clicks on 1 tab
https://lex4you.pl/1.png2. When someone clicks on 2 tab
https://lex4you.pl/2.jpg3. When someone clicks on 3 tab
https://lex4you.pl/3.jpgTab content border-color i the same as tab background-color
October 24, 2019 at 10:19 am #1150803Hi IQ2marketing,
Can you show us what you’ve got so far?
Best regards,
VictoriaOctober 28, 2019 at 11:44 am #1151704sorry I can’t because this site is on the private localhost.
- This reply was modified 5 years, 1 month ago by IQ2marketing.
October 28, 2019 at 10:42 pm #1151929Hi,
We would need to see the exact page to provide accurate ids and classes.
Best regards,
Jordan ShannonOctober 29, 2019 at 9:40 am #1151998ok, I created a test site
October 30, 2019 at 2:29 pm #1152346Hi IQ2marketing,
Thanks for giving us a link to check upon.
Try adding this css code in Quick CSS, located in Enfold > General Styling:.tabcontainer [data-fake-id="#tab-id-1"] { border-color: #ffb803; } .tabcontainer [data-fake-id="#tab-id-2"] { border-color: #32a6a6; } .tabcontainer [data-fake-id="#tab-id-3"] { border-color: #fc6c3a; }
Best regards,
NikkoOctober 31, 2019 at 9:31 am #1152632ok thanks, but this work only for tab title border, not for active content border
November 1, 2019 at 6:51 am #1152937Hi,
You should be able to target the active state using basically the same CSS:
.tabcontainer [data-fake-id="#tab-id-1"]:active { border-color: #ffb803; }
Best regards,
RikardNovember 4, 2019 at 9:30 am #1153646hi, I add this code but still don’t work
November 5, 2019 at 12:25 am #1153798Hi,
Did you add the code to the very top of quick css so it runs first? Also, clear the cache a few times over.
Best regards,
Jordan ShannonNovember 5, 2019 at 9:27 am #1153903yes, I add this code to the top of quick css. Title border is working, but the content has still gray border
November 5, 2019 at 1:26 pm #1153985Hi,
Thanks for the update. Do you mean the blue outline? If so then please try this CSS:
.tab:focus { outline: -webkit-focus-ring-color auto 0 !important; }
Best regards,
RikardNovember 5, 2019 at 4:09 pm #1154017I need to change the content border, color must be the same as the tab title background-color.
https://mppk.pckp.pl/2.jpgNovember 6, 2019 at 1:05 am #1154129Hi,
Add this to quick css:
#tab-id-1-container.tab_content.active_tab_content{ border-color:#ffb803!important; } #tab-id-2-container.tab_content.active_tab_content{ border-color:#32a6a6!important; } #tab-id-3-container.tab_content.active_tab_content{ border-color:#fc6c3a!important; }
Best regards,
Jordan ShannonNovember 6, 2019 at 8:24 am #1154193now is ok, thank you :)
November 6, 2019 at 9:23 pm #1154424Hi,
No problem at all. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘tab section content border color’ is closed to new replies.