put a picture into my page link
-
Hi, first, sorry for my english, i’am french.
I try to explain my problem correctly.
I have 3principal part in my template.
Header, slidebar and content.
Header is OK.
Content is OK too.
But I have a problem with my slidebar:
I would like to insert a background picture on my Page-link.
I do that :<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <ul> <li class="categories"> <ul> <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?> </ul> </li> <?php wp_list_pages('title_li=<h2>Pages</h2>'); ?> ECT............ </ul>
And in my css:
.sidebar { background-image:url(images/fondslide.gif); float: left; width: 385px; } .sidebar ul { padding:0; } .sidebar .page_item a:link, .sidebar .page_item a:visited, .sidebar .page_item a:active { background-image:url(images/fondmenupage.gif); color: #000000; text-align:right; width:358px; height:50px; padding:25px 0 0 300px; } .sidebar li.categories { background-image:url(images/fondmenupage.gif); width:358px; height:50px; list-style:none; }
And it show this:
Picture of that it showThank for your help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘put a picture into my page link’ is closed to new replies.