-
AuthorPosts
-
April 22, 2015 at 1:04 pm #255981
I’m trying to remove the accordion icon for a custom class, so that I can use the accordion styling for items that I don’t want collapsed. That way I can aesthetically tie together text boxes and accordions. I’m also open to alternative short code methods that could accomplish same goal.
.custom-header { content:"" !important; }
The page I’m working on is http://heritagehumanesociety.org/hhs/adopt The first section “How to Adopt” is perfect example.
Thanks
April 22, 2015 at 6:11 pm #256174Hi there,
Thanks for writing in! Please add the following CSS rule into your Customizer, Custom > CSS area. So that it will only apply for the heading that you have applied your custom class.
.x-accordion .custom-header .x-accordion-heading .x-accordion-toggle::before { content: ""; }
Hope that helps.
April 22, 2015 at 8:00 pm #256241That worked perfectly, thanks!
April 22, 2015 at 10:26 pm #256336You’re welcome. Glad we could help.
November 17, 2015 at 1:41 pm #668912I don’t know why, but this has stopped working. I have not changed the CSS, although I have updated to latest version of X Theme.
November 17, 2015 at 3:04 pm #669021Hi there,
Please try this CSS instead:
.x-accordion-heading .x-accordion-toggle.collapsed:before, .x-accordion-heading .x-accordion-toggle:before { display: none; }
Hope this helps.
November 18, 2015 at 5:43 pm #670737This reply has been marked as private.November 18, 2015 at 9:17 pm #670922Hi There,
If you add the original code we provide above on top of the Custom CSS you’ll see that it still work.
The issue is this css rule
@media only screen and (max-width:767px){ .x-topbar .x-social-global { display: none; }
You miss the closing bracket for the @media query, this means that all CSS rules underneath it will only take effect on a device with 767px screen and below.
Hope it helps, Cheers!
November 19, 2015 at 7:03 am #671374Thank you very much! I totally missed that!
November 19, 2015 at 9:20 am #671500You are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts