Search
  
Categories
 Last Articles
 Design
 Coding: PHP and Smarty
 Miscellaneous
 Admin Area
 Installation
[add new article]
Changing Featured Link Background Color

Author: Sharr76
Added: February 19, 2006

Introduction


This will go over how to change the background color of your feature links. This was taken from a thread in the forums. Click Here (http://www.phplinkdirectory.com/forum/viewtopic.php?t=435) to view the thread.




How To


First you will need to open templates/main.tpl Go down about 47 lines until you reach


<h3>{l}Featured Links{/l}</h3>


Now you will need to go right below this and add this





Now you'll scroll down to about line 51 and add



right after


{/foreach}


You are now done with templates/main.tpl The next thing you will do is open main.css and add


.show_featured {


  margin-top: 2px; 
padding: 3px;
background: yellow;
line-height: 19px;
border: 1px solid #5e74b3;

}


This is all you have to do. If you want to change it to a different color just edit the background: yellow; to whatever color you want