WordPress.org

Support

Support » How-To and Troubleshooting » Cannot center images, only is I use Live Writer

Cannot center images, only is I use Live Writer

  • Cannot center images, only is I use Live Writer
    Since now I use MAC OS I cannot center images without text around them, I’d like the text under the image.
    I tried using both center within image properties and using center tab in the text editor.
    The image ha always text around.
    How come ?
    thanks

    http://lnx.sinapsi.org/wordpress/

Viewing 1 replies (of 1 total)
  • Hi,

    The solution is simple just need to copy the this 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 ‘Cannot center images, only is I use Live Writer’ is closed to new replies.