• Resolved ashley3ee

    (@ashley3ee)


    My site is located here:
    https://www.veryte.com/animalsfirst4u

    You can see the navigation on the left. I’m trying to replace the text with images (like a button). I’ve been looking for an hour and can’t find any articles on how to do this.

    Here is the code in sidebar.php, why doesn’t the image show up?

    <div id="mainnav">
    		<ul>
    			<li>
    				<ul>
    					<li><a href="<?php echo get_option('home'); ?>/"><img src="images/home.png"></a></li>
    					<li><a href="?page_id=723"><img src="images/boarding.png"></a></li>
    					<li><a href="?page_id=1359">Day Care</a></li>
    					<li><a href="?page_id=725">Grooming</a></li>
    					<li><a href="?page_id=727">Training</a></li>
    					<li><a href="?page_id=122">Classifieds</a></li>
    				</ul>
    			</li>
    		</ul>
    	</div>

    Anyone?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ashley3ee

    (@ashley3ee)

    ok, I figured out how to get the images to show up, now how do I make the box around it go away?

    Thread Starter ashley3ee

    (@ashley3ee)

    ok I added this to the style sheet:

    a img {border:none}

    Hi ashley3ee, I’m looking for the solution on how to get the images to show up and stumbled across this page. I’m doing it exactly like you did. Could you share how you got it to work please?

    ok, I figured out how to get the images to show up, now how do I make the box around it go away?

    So what is your solution? i Still don’t understand.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Replace Navigation with Images’ is closed to new replies.