On the CONTACT page of my site, I placed a logo in the center, below the introductory text. Somehow, it has become misaligned.
So, I went to the inspector and found that the element was:
img src="/backlight/custom/images/petitboutoncouleur.jpg" style="top; 10px;margin-left: 530px;" width="71"
also in the styles section:
element { margin-left: 530px; }
In my own CSS file, I changed it to this:
/* logo */
element.style {
margin: auto;
}
This would align the logo centred.
But even after clearing all caches, still no change.
What am I missing?
UPDATE
I found that by altering the HTML in the PAGE setting/Page copy/Main copy, I had to change this line:
<img src="/backlight/custom/images/petitboutoncouleur.jpg" width="71" style="top; 10px;margin: auto;">
(edited by moderator so code would appear)
Looks good now.