[Resolved] Centre ImagesThis topic has 5 replies, 2 voices, and was last updated 3 years, 3 months ago by Andrew Misplon.AuthorPosts August 28, 2021 at 12:04 pm #16061 NeilParticipantHi, is there an easy way to automatically centre align images on all posts August 28, 2021 at 12:50 pm #16062 Andrew MisplonKeymasterHi NeilYou could try:.alignleft, .alignright, .alignnone { display: block; float: none; margin-right: auto; margin-left: auto; } August 28, 2021 at 1:35 pm #16063 NeilParticipantHi,That hasn’t worked unfortunately August 28, 2021 at 5:51 pm #16064 Andrew MisplonKeymasterYou could try instead:.alignleft, .alignright, .alignnone { display: block !important; float: none !important; margin-right: auto !important; margin-left: auto !important; } August 29, 2021 at 2:22 pm #16065 NeilParticipantStill not working August 29, 2021 at 7:16 pm #16066 Andrew MisplonKeymasterPlease, send a link to an example post or page. Thanks.AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)The topic ‘Centre Images’ is closed to new replies.