Center Sidebar Widget Titles


I was able to figure out how to center the titles of the widgets in my sidebar, but the border line under the title is still aligned left. Nothing I tried I could move those stubborn little lines. :wink:

The following code worked in the custom CSS section for centering the titles:
.widget-title { text-align: center; }

Any suggestions for getting both the titles and the underlines centered?

Thank you!

Anyone have any suggestions on how to fix this?

Thank you! :slight_smile:

Hi @poppyanthology,

Thank you for your another question.

You can make it center aligned by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Activello Options -> Other -> Custom CSS

#secondary .widget-title:after {
    left: 45%;

Best Regards,

Yay! Thank you so much! Everything is all tidy and centered now. :slight_smile:

You are most welcome here :slight_smile: