Cannot figure out how to center div in WordPress theme [closed]
As mentioned in my comment, http://howtocenterincss.com/ is a great resource to get the necessary CSS to horizontally or vertically center containers or paragraphs in CSS. Since you mentioned the text should be centered, the wbesite would give you this solution: <div style=”text-align:center;”>Text Content</div> If you want to center a container instead, margin-right: auto; margin-left: auto; … Read more