• Im trying to centre align a image in one of the pages. It shows ok in editor but when i update it, it is aligned to the left on the actual website. Images in posts are ok. Its just the pages

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello Purplerose,

    I think the themes CSS effect on your image which you are adding from the editor.

    You need to add CSS on custom.css or style.css .Parentclass(theme image parent class) .img {float: none; display: block;}

    Thread Starter Purplerose123

    (@purplerose123)

    Girish,
    Where in style.css should i put this?

    In wp-content/themes/your-theme-name folder where you will find style.css ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image alignment’ is closed to new replies.