How to center image in sidebar widget

Viewing 2 posts - 1 through 2 (of 2 total)
  • #20864
    virtuallyall
    Participant

    Hello,

    I’m trying to center an image in the sidebar and it doesn’t seem to be working. I’ve used the <center></center>. I’ve copied some code into the custom CSS in the child theme, and I’ve used <div> tags and that doesn’t seem to be working.

    Any help would be appreciated.

    Thanks

    #20929
    Daniel Tara
    Keymaster

    If it’s a hard coded image you can apply style=”display: block; margin: 0 auto;” to it.

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

You must be logged in to reply to this topic.