Center a Custom Shortcode Widget

Hello,

I was able to center 2 out of 3 widgets.
I do not know how to center the 2nd custom shortcode widget.
Nothign that seems to work ont he other two works on that one.
Is there a way to center the contents of a specific widget?
in this case, i’m referring to the Google Badge in my footer spot a#2.

Jesse

Hello Jesse,

Thanks for asking. :slight_smile:

You can add following CSS under X > Theme Options > CSS:

footer.x-colophon.top .textwidget {
    display: -webkit-inline-box;
}

1- I have found the proper CSS code selector using the Chrome browser Developer Toolbar: https://www.youtube.com/watch?v=wcFnnxfA70g

2- For the CSS code itself, I suggest that you get started with this tutorial: https://www.youtube.com/watch?v=yfoY53QXEnI

Thanks.

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