Support » Themes and Templates » Making good progress, image ref help please

  • Resolved dave-g-o

    (@dave-g-o)


    Hello,

    I am trying to build a nav menu on my left side bar using the following code:

    <div class="left">
    
    	<ul>
    
    		<ul class="mynav">
    <li><img src="images/designstyle.gif" width="179" height="32"/></li>
    <li><img src="images/planning.gif" width="168" height="35"/></li>
    <li><img src="images/designstyle.gif"/></li>
    <li><img src="images/designstyle.gif"/></li>
    <li><img src="images/designstyle.gif"/></li>
    <li><img src="images/designstyle.gif"/></li>
    <li><img src="images/designstyle.gif"/></li>
    </ul>

    however the images come out blank, not sure if I need to ref them in the CSS file instead and how to do this?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • are the image folder is in your wp-content/themes/(yourtheme)

    if it is, try put <?php bloginfo(‘template_directory’); ?>
    <img src="<?php bloginfo('template_directory'); ?>/images/designstyle.gif"/>

    -A-r-

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Making good progress, image ref help please’ is closed to new replies.