hey guys
is there a way to have a 2 column layout within a textfield in a toggle?
I’d like to have the Icon right next to the text and not above like it is now. any idea of how to do this?
thanks ahead!!
Hey,
Please try adding following code to bottom of Quick CSS field in Enfold theme options > General Styling
.hasCurrentStyle .team-member-name:nth-child(1) {
float: left;
}
If that does not help, please post a screenshot showing the changes you would like to make. You can upload your screenshots on imgur.com and post the links here.
Best regards,
Yigit
Thank you so much Yigit!
We are getting close! Is it possible to only make this changes on mobile and for every toggle? For now, only the first one is affected.
thanks!
Hi,
Please edit your Accordion element and give it a unique ID (“custom-acc” in example below) in Advanced > Developer Settings – https://imgur.com/a/vMDPGG8 and then change the code to following one
@media only screen and (max-width: 768px) {
#custom-acc .team-member-name:nth-child(1) {
float: left;
}}
Best regards,
Yigit
Thanks, added the unique ID in the accordion and added your code but it did not change anything and is back to original state now.
any suggestion why?
Hi,
Please use the code as following
@media only screen and (max-width: 768px) {
#custom-acc .team-member-name:nth-child(1),
#custom-acc img.aligncenter {
float: left;
}}
Best regards,
Yigit
Thanks again!
Now looking amazing on mobile, even better than I expected!
However, on mobile it looks bad. icon is not on the same row as text .. any idea?