[Resolved] Centre Images

  • Author
    Posts
  • #16061

    Neil
    Participant

    Hi, is there an easy way to automatically centre align images on all posts

    #16062

    Andrew Misplon
    Keymaster

    Hi Neil

    You could try:

    .alignleft,
    .alignright,
    .alignnone {
    	display: block;
    	float: none;
    	margin-right: auto;
    	margin-left: auto;
    }
    #16063

    Neil
    Participant

    Hi,

    That hasn’t worked unfortunately

    #16064

    Andrew Misplon
    Keymaster

    You could try instead:

    .alignleft,
    .alignright,
    .alignnone {
    	display: block !important;
    	float: none !important;
    	margin-right: auto !important;
    	margin-left: auto !important;
    }
    #16065

    Neil
    Participant

    Still not working

    #16066

    Andrew Misplon
    Keymaster

    Please, send a link to an example post or page. Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Scroll to top