How can I centre my spinning animation?

Hey all. Can anyone what I need to add to this code to centre it in my blog post?
It’s a wordpress blog post and the template is in Showit. My header code is in the Showit template.

<img class="logo" src="">

This is how it looks on the blog post now:
Blog post with spinning image

Thank you! I’m very new so be kind haha.

You could set display: block on the image and then use auto margins to center it (margin: 0 auto).

thank you. do I put that code in the line already, if so how? sorry i dont know much about CSS.

I worked it out woo hoo!
<div style="text-align: center;"> <img class="logo" src="">

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.