Support » Themes and Templates » Adding Image to Sidebar in Blix

  • Resolved madtripper



    I am trying to use images instead of headings in my sidebar, i.e. for Categories, Archives, etc.

    I believe my code is is order, but the image is still broken. I’ve already verified that the path to the image is correct, reviewed the code and searched support.

    Can anyone help me out?

    I am using the code below in my sidebar.php file, maybe the problem is in the CSS?:

    <h2><img src=”images/spring_flavour/topics.gif” border=”0″ alt=”Categories” class=”heading” /></h2>

    <ul class=”categories”>
    <?php wp_list_cats(‘sort_column=name&hide_empty=0’); ?>

    my site is

    Thanks in advance 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • <h2><img src="images/spring_flavour/topics.gif" border="0" alt="Categories" class="heading" /></h2>

    Don’t use the relative URL, as it will change as the page changes. Use an absolute one: i.e. http:/…

    (obviously it’s http:// but if I put that in the forum makes it into a link).

    Thanks! Worked perfectly 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Image to Sidebar in Blix’ is closed to new replies.