How can I make the toggle open with “smooth slide-in” (same as when it closes) rather than how it just “pops” open?
Also, how can I change the icon color (to left of toggle text for each toggle element)?
Thanks
Hey!
1. Refer to this topic:
https://kriesi.at/support/topic/toggle-smoothness-while-opening/
2. Add this code to the Quick CSS:
/* First one */
.togglecontainer .av_toggle_section:nth-child(1) .toggle_icon,
.togglecontainer .av_toggle_section:nth-child(1) .toggle_icon span {
border-color: red;
}
/* Second one */
.togglecontainer .av_toggle_section:nth-child(2) .toggle_icon,
.togglecontainer .av_toggle_section:nth-child(2) .toggle_icon span {
border-color: green;
}
Best regards,
Josue
Hey!
Try adding this code to the Quick CSS:
.active_tc.toggle_wrap{
display:none;
}
Cheers!
Josue
That did it! Thanks Josue
You are welcome, always glad to help :)
Regards,
Josue
Oh, just found out, for the hover color – it’s showing as grey on hover (not white like I put in my CSS)
This is my CSS:
.main_color .toggler {
background-color: white;
}
.main_color .toggler.activeTitle:hover {
background-color: white;
}
Hey!
I’m seeing it white when hovering it, try refreshing a few times.
Regards,
Josue
Hmmm. Nope. I cleared all browser data, refreshed, but still initial hover shows grey. ?
The background on each toggle element is white background, as it should be. But hover is still grey.
I also tried in another browser, and same thing.
Hey!
You should change this part:
.main_color .toggler.activeTitle:hover {
background-color: white;
}
To:
.main_color .toggler:hover{
background-color: white;
}
So it targets all togglers and not only the active one.
Cheers!
Josue
BAM! Done. Thanks again.