Hi there, I’m using icons in a text field. How can achieve to align the second text line with the first (follwing the icon)? Somehow I’m struggling to find a solution. Please see website link attached.
Hey lassebu!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.avia_textblock p .av-icon-char {
float: left;
}
Best regards,
Yigit
Thanks for the quick reply Yirgit. After having inserted the code, the second, third, forth… line of text is now aligned with the icon. My intention was to have it aligned with the text in the first line by creating a indent. Could you please advise how to do this?
.
Thanks for the quick reply Yirgit. After having inserted the code, the second, third, forth… line of text is now aligned with the icon. My intention was to have it aligned with the text in the first line by creating a indent. Could you please advise how to do this?
Hey!
Please turn on custom CSS field for ALB elements – kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and give your text block a custom CSS class and then add following code to Quick CSS
.your-custom-class p .av-icon-char {
position: absolute;
left: -30px;
}
.your-custom-class {
margin-left: 30px;
}
P.S.: Self posting pushes your query to the end of our queue. If your case is urgent, please try avoiding it :)
Regards,
Yigit
Thanks Yirgit, looks perfect! Great support!