Center Only 1 Widget in Sidebar (2 posts)

  1. katiebuglove
    Posted 1 year ago #

    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.


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

    Any help at all is appreciated!

  2. vtxyzzy
    Posted 1 year ago #

    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;

Topic Closed

This topic has been closed to new replies.

About this Topic