-
AuthorPosts
-
November 19, 2020 at 11:22 am #1261496
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!!
November 19, 2020 at 12:14 pm #1261509Hey,
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,
YigitNovember 19, 2020 at 5:07 pm #1261612Thank 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!
November 19, 2020 at 5:14 pm #1261616Hi,
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,
YigitNovember 20, 2020 at 11:35 am #1261752Thanks, 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?November 20, 2020 at 12:18 pm #1261763Hi,
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,
YigitNovember 20, 2020 at 1:02 pm #1261774Thanks 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?November 20, 2020 at 1:23 pm #1261779 -
AuthorPosts
- You must be logged in to reply to this topic.
