• Resolved cheryanne

    (@cheryanne)


    Hi Hector,
    I’ve always had the widget title centred like the others on my site but recently I can not convince the WPP title to do it.
    To create a uniform appearance for all widget titles, I use the code below but somehow this is now not working for WPP.
    Any suggestions would be appreciated as always.
    Chery.

    <center><h3 class="has-small-font-size" style="font-style:normal;font-weight:300">
    

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @cheryanne,

    Try adding this CSS rule to your site either by appending it to your theme’s style.css stylesheet or via Appearance > Customize > Additional CSS:

    .sidebar-content > .widget > .popular-posts > h3.has-small-font-size {
        text-align: center;
    }

    Alternatively, you could also just do this instead:

    <h3 class="has-small-font-size" style="font-style:normal;font-weight:300; text-align:center;">
    • This reply was modified 1 year, 1 month ago by Hector Cabrera. Reason: Made CSS rule more specific
    Thread Starter cheryanne

    (@cheryanne)

    Thanks Hector for the prompt response. I’ll test it out when I get back to my desk.

    Thread Starter cheryanne

    (@cheryanne)

    Perfect – thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘center title’ is closed to new replies.