Want to place icon in Sidebar
Hi
Maybe I am doing something stupid here, but I am trying to insert a small image (called home2_icon.gif) in the left hand sidebar to the left of the link called "Home/Latest Post". I have tried many different ways to get this to work, without success ... (I know the image is rather small - that isn't the issue, as I plan to resize this once I have got the coding correct), Thanks in advance. :-) |
Put this into HTML/CSS Inserts -> CSS Inserts:
HTML Code:
.home-icon { Change height and line-height values to the height of the image. Change padding-left to the width of the image + desired distance between image and link. and change the link in the text widget to, i.e.: HTML Code:
<a class="home-icon" href="/" title="Matters Today Home">Home Page/Latest Post</a> HTML Code:
.posts-icon, |
Thanks - you are a star. I have managed to get things just as I wanted. :)
|
All times are GMT -6. The time now is 08:33 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.