Knowledge Base

Find solutions for top issues, common error messages and troubleshooting guides

Image Allignment Doesn’t Work

http://colorlabs.co/O2BGpD

Each theme on each site has a different kind rewrite code, sometimes it works in X site, but not at Y site. In this case, the example is for image allignment. When you have a problem for image alignment, that the image not align properly. You can add these codes at style.css or using dashboard > custom.css

Here’s the example codes :

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}

Make sure there’s not the same class for each.

Contact Us