Unable to center header widget


I have used custom widget plugin to create a header-widget.

I have used this to place ad just below logo & menu.

But the widget is not getting aligned in center.

Also padding in top & bottom changes on other screens.

Please suggest.


Hey there,
I hope you’re doing well today

Pleas provide me with the URL of your website so I can look into this issue for you.

Best Regards,

Url is https://www.siddharthblogs.com

You can centre align it by adding the following CSS code in the Custom CSS option of the latest version of Sparkling theme on the below path.

Admin Area -> Appearance -> Customize -> Additional CSS

#page > li.widget_text {
    display: table;
    margin: 0 auto;
    padding-top: 30px;


Thanks but nothing change using the code

Please check

Hey there,

I checked your site and noticed that the changes you written about are no longer there. ie logo above the menu.
Is that you’ve decided not to pursue this modification?

I also see that you’ve added https to your website which causes a lot of mix content errors, causing your style sheets not to load. To fix this I suggest installing the following plugin: Really Simple SSL – WordPress plugin | WordPress.org

Best regards,

I can see it is displaying centre aligned now on your site as shown in the attached screenshot so please test it clearing your browser cache.