center headings/text in sidebar

  • Author
    Posts
  • #735543

    I would like the center the text headings like “The Smart Cookie Cook” (above the cookie image @ the top of my sidebar) and “365 Days of Delicious” (above the calendar @ the bottom of my sidebar) that are in my sidebar. I had the first one centered, but for some reason, it isn’t anymore. I played around w/ the CSS but can’t figure it out. Any suggestions? Thanks!

    The blog I need help with is thesmartcookiecook.com.

    #735672

    Here is a link to my site: The Smart Cookie Cook

    #735909

    If you want only those two widget titles centered then you have to specifically target those individual widgets by widget ID as below:

    #image-4 h3, #calendar-3 h3 {
    text-align: center;
    }
    #735930

    That’s perfect, thanks!

    #735940

    You are welcome.

The topic ‘center headings/text in sidebar’ is closed to new replies.