Tagged: x
-
AuthorPosts
-
October 12, 2016 at 8:47 am #1212931
NueraParticipantPerhaps you can help me? I’ve read through every post about accordion tab colors, and so far not a single CSS mod has even affected my accordions’ appearance.
Basically, I would like my inactive tabs to be #00338e with white text, and the hover color to be #dc291e with white text. The active tab can remain unaffected.
I’ll post my login creds below, just in case.
Thanks!
October 12, 2016 at 8:48 am #1212932
NueraParticipantThis reply has been marked as private.October 12, 2016 at 1:11 pm #1213343
JoaoModeratorHi There,
Can you let us know where on your website the accordions are placed.
Thanks
Joao
October 12, 2016 at 1:28 pm #1213363
NueraParticipantSure, they’re at https://flgajax.com/faq/
Thanks!
October 12, 2016 at 6:35 pm #1213732
JadeModeratorHi there,
Please add this code in the customizer:
.x-accordion-heading .x-accordion-toggle.collapsed { background-color: #00338e; color: #fff; } .x-accordion-heading .x-accordion-toggle:hover { background-color: #dc291e; }October 12, 2016 at 7:41 pm #1213768
NueraParticipantUnfortunately that code isn’t taking either. It’s almost as if something is blocking the styling from appearing on the page…
If you have another suggestion, I’m happy to try it; but it does feel like something else is at play here.
Thanks for your help Jade!
October 13, 2016 at 2:20 am #1214229
FriechModeratorHi There,
That code works, you just miss the closing bracket for the
@media (max-width: 480px)query. I did go ahead and address it.Cheers!
October 13, 2016 at 8:48 am #1214682
NueraParticipantOh my… thank you so much!
October 13, 2016 at 9:20 am #1214731
NueraParticipantOne last element I didn’t anticipate.
Would it be possible to just keep the active tab color #dc291e with white text? I was trying to go for a ‘red, white & blue’ thing with the tabs, but I think just keep them red and blue actually looks better.
Many thanks!
October 13, 2016 at 11:43 am #1214959
RupokMemberHi there,
Thanks for writing back. Let’s use this :
.x-accordion-heading .x-accordion-toggle { background-color: #dc291e; color: #fff; }Cheers!
October 13, 2016 at 3:51 pm #1215270
NueraParticipantPerfect! Thank you again 🙂
October 13, 2016 at 9:47 pm #1215635
FriechModeratorYou’re more than welcome, glad we could help.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1212931 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
