Hello i am trying to setup an accordian that wont be in accordian setup on a desktop so it will be expanded on a desktop:
On a mobile device i would like it to be in an accordian without the green arrows on the side:
Hi andre_clarke!
Please turn on custom CSS field for ALB elements – kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then add icon box elements to your page and give them a custom CSS class and then add following code to Quick CSS in Enfold theme options under General Styling tab
@media only screen and (max-width: 768px) {
.your-custom-class .iconbox_icon {
display: none;
}}
Cheers!
Yigit
I have given the icon box a custom class of “.accordianmobile”.
I have then put that into the theme options, i am using a child theme does this make a difference?
Just the changes are having no effect?
Hi!
then try this code:
@media only screen and (max-width: 768px) {
.accordianmobile .iconbox_icon {
display: none;
}}
Don’t forget to clear browser cache (and/or clear cache plugin) and hard refresh a few times.
Best regards,
Andy
Tanks Andy but the client has gone with another designer & i have uninstalled the theme.