Hello, I used a Hero Widget for my website http://dario-ospina.com/
I’ve been trying to set a left margin over the text because I don’t want it to be in the center of the image.
I tried hard coding the margin over the class “.sow-slider-image-wrapper” but it doesn’t work. On the Theme File Editor can’t find where to modify it. I appreciate if you can help me figure this out.
Thanks in advance.
Hi Darío
Thanks for reaching out.
Perhaps you could wrap your text in a div and then target it with Custom CSS. Within the Hero in the Text tab:
Then at Appearance > Custom CSS or Appearance > Additional CSS:
If you don’t want the margin on mobile devices then wrap the above CSS rule in a media query.
Hello Andrew, thank you so much for your help.
I tried that but the new div gets embedded into the parent/existing one and adpots its size :/
Sure, no problem. Try adding a max-width value to your div in Custom CSS.
https://www.w3schools.com/cssref/pr_dim_max-width.asp