Support » Fixing WordPress » Zenlite: Images won’t center when told to

Viewing 1 replies (of 1 total)
  • Hi,

    You just need to copy the following code and paste it in style.css of the theme.

    img.centered
    {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    img.alignright
    {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

    img.alignleft
    {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
    }

    .alignright
    {
    float: right;
    }

    .alignleft
    {
    float: left;
    }

    Add this code in style.css file.of your theme and it should be resolve the problem. If it does not solve the problem then replace the .img{} tags with the above code in style.css.

    Thanks,

    Shane G.

Viewing 1 replies (of 1 total)
  • The topic ‘Zenlite: Images won’t center when told to’ is closed to new replies.