Tagged: x
-
AuthorPosts
-
October 12, 2016 at 8:47 am #1212931
Perhaps 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 #1212932This reply has been marked as private.October 12, 2016 at 1:11 pm #1213343Hi There,
Can you let us know where on your website the accordions are placed.
Thanks
Joao
October 12, 2016 at 1:28 pm #1213363Sure, they’re at https://flgajax.com/faq/
Thanks!
October 12, 2016 at 6:35 pm #1213732Hi 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 #1213768Unfortunately 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 #1214229Hi 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 #1214682Oh my… thank you so much!
October 13, 2016 at 9:20 am #1214731One 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 #1214959Hi 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 #1215270Perfect! Thank you again 🙂
October 13, 2016 at 9:47 pm #1215635You’re more than welcome, glad we could help.
Cheers!
-
AuthorPosts