Tagged: Widget
I placed a script in a footer widget and i see quite some padding/margin around this element. I’m not sure if this is due to the script, or due to enfold, hence I’d like to check here.
If it is enfold, then how do i get right of the margin/padding around it? Ideally the content of the script nicely aligns with the titel of the widget (content aligned left without box around it)
https://schoonheidsinstituutdiane.nl/ (is salonized review element under ‘reviews’ in the footer)
script in private content
Hey Peter,
In this screenshot the green is the padding:
I assume that you want to remove this, but unfortunately this is loaded as a iframe so you can not remove it, it needs to be adjusted where the iframe comes from.
Another option is to add the same padding to the widget title and the image below it and then remove the same amount of margin from the column.
#footer #text-6 h3.widgettitle,
#footer #media_image-3 {
padding-left: 24px;
}
#footer .flex_column.av_one_third:nth-child(3) {
margin-left: calc(6% - 24px);
}
Best regards,
Mike
Hi Mike, do I add this to custom CSS? Or elsewhere?
I’m asking as I placed the CSS before in Quick CSS and it did nothing :/ can you advice (it’s added now)
Hi,
It looks like your widget title is now a “p” instead of a “h3”, so try this css instead:
#footer #text-6 p.widgettitle,
#footer #media_image-3 {
padding-left: 24px;
}
#footer .flex_column.av_one_third:nth-child(3) {
margin-left: calc(6% - 24px);
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike
works like a charm, thanks!
Hi,
Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard