Forums
Home / Themes and Templates / Widget has no margins around text
(@hannahliz)
8 years, 5 months ago
Hello, I’m trying to fix the css code for the footer widgets on my website, sb.co. The regular widgets had a good sized margin around the text, but the footer widgets have no margin at all. Thanks!
(@mr-case)
given how they are coded you cant use margin. use padding instead. try this in your custom css or child-theme’s style.css file
#footer-widgets .widget { padding: 1.618em 1.618em !important; }
It worked. Thank you so much!