replacing sidebar titles with an image

  • Author
    Posts
  • #1035051

    I want to replace each sidebar category title on my blog with an image. Can you help me with this?

    The blog I need help with is oneyounglove.com.

    #1035148

    timethief
    Member

    The custom design upgrade comes with Staff support but you may not receive that support until Monday.

    #1035217

    I’m still waiting to hear on this subject, is it possible that since there was a response that it looks like this question was answered? If so is there a way to show that it hasn’t been answered?

    #1035218

    timethief
    Member

    This thread is not display “resolved”. It’s an open thread and it has not fallen through the cracks. The CSS upgrade is not recommended to those who do not have CSS editing skills and aren’t able to work independently with very little support. Staff are backlogged and it will take time for them to work through all the CSS Forum threads from the earliest date to the most recent date.

    #1035219

    I want to replace each sidebar category title on my blog with an image.

    You can use an image replacement like this:

    #blog_subscription-3 .widget-title {
    	background: url(http://s.wordpress.org/about/images/logos/wordpress-logo-32-blue.png) 15px 0 no-repeat;
    	display: block;
    	width: 36px;
    	height: 36px;
    	text-alignment: left;
    	text-indent: -9999px;
    	border: 0;
    }

    Note that you need to look in the page source code to see which selectors to use. In this example, “#blog_subscription-3” refers to the first widget in your sidebar. Each widget gets a unique ID after it is added.

    I used a WordPress logo as an example image. To use a different image, replace the url() value with an image from your media library and adjust the width and height for your image.

    #1035220

    Thank you so much for your help. It looks perfect!

    #1035221

    Cheers :)

The topic ‘replacing sidebar titles with an image’ is closed to new replies.