Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #65148
    DONOVAN
    Member

    This seems like such a rookie thing to do, but for some reason it’s not working for me…

    I have a text widget in a Footer Area 1. In that text widget, I’ve placed an image.

    I want to center that image.

    The CSS I’m putting in to Appearance > Editor doesn’t seem to be having any effect.

    Any suggestions?

    #65177
    Sakin
    Keymaster

    @DONOVAN: You shouldn’t use “Appearance => Editor”. This will edit core theme files and all your edit in core theme files will be reverted back to original when you update or upgrade the theme.

    So, if you want to add custom css then add css in “Appearance => Customize => Theme Options => Custom CSS Options” box or build child theme and add it in your child theme style.css

    You can add the following css in “Appearance => Customize => Theme Options => Custom CSS Options” box

    #colophon .widget img {
        text-align: center;
    }
    #66428
    DONOVAN
    Member

    Perfect! Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Centering an image’ is closed to new replies.