WordPress.org

Support

Support » How-To and Troubleshooting » Center Only 1 Widget in Sidebar

Center Only 1 Widget in Sidebar

  • katiebuglove
    Member

    @katiebuglove

    I would like to be able to center my Grand Galleries widget in my sidebar but leave everything else left-aligned.

    I looked at style.css, sidebar.php, etc., in Editor but couldn’t find the right place to change/add.

    TrustMe

    It’s a little thing I know but I’m kind of fussy that way….

    Any help at all is appreciated!

Viewing 1 replies (of 1 total)
  • You should create a Child theme to make your changes. If you do not, all of your changes will be lost if you update your theme.
    Try adding this to the end of your child theme’s style.css:

    #flag-grandpages-2 .flag-widget {
       margin: auto;
       width: 170px;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Center Only 1 Widget in Sidebar’ is closed to new replies.