I am having issues centering a div class in the footer of my WordPress website (using a CPO theme).
I want to call the variable I created in HTML and format it using the additional CSS in the theme of my WordPress site.
After creating div class example I want to use auto margins to center the logo using CSS
#example {
margin-left: auto ;
margin-right: auto ;
}
<div class="example">
<div class="ctwg-social">
<a class="ctwg-social-link ctwg-social-facebook" href="https://www.facebook.com/example" title="Facebook"><span class="ctwg-social-icon"></span></a>
</div>
</div>
I've also tried calling <class id="example">
but that didnt work either.