|
|
#1 |
|
Senior Member
Join Date: Oct 2007
Location: victoria, Australia
Posts: 179
Rep Power: 11 ![]() |
hi,
i would like the color of the text in the featured box on home page to be different to the body. i have this in the home.tpl: <br> {* Featured Listings *} {feature_listings_horizontal number=12 cols=4 table_attr='width="100% style="border: 1px solid #C4C4C4;"' td_attr='valign="middle" align="left"'} <br> how do i add a class to this so i can change the text color of the adds in css? thanks heaps |
|
|
|
|
|
#2 |
|
Coder
Join Date: Mar 2006
Posts: 4,564
Rep Power: 111 ![]() ![]() |
Thats a call to a smarty function which is in actuality php code that queries the database and builds the table. As you can see from the line it does accept variables for you to alter the look of the returned data.
already the above line contains one css style for border......ie style="border: 1px solid #C4C4C4;" and you can just add aditional styles to it after the semicolon. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Oct 2007
Location: victoria, Australia
Posts: 179
Rep Power: 11 ![]() |
thanks, i tried that and couldnt get it to go, do i need to add it to css as well?
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Make a featured package have no "featured" option | getsmart | v3.0 Questions & Support | 1 | 07-01-2007 07:00 PM |
| Featured table | louad | v3.1 Questions & Support | 5 | 02-06-2007 01:59 PM |
| Need help with Featured items display | sedonagate | v3.1 Questions & Support | 2 | 09-18-2006 12:18 PM |
| Featured Ads | Bucketman | v3.1 Questions & Support | 2 | 05-12-2006 04:51 AM |
| Seperating ads in Horizontal Featured from Vertical | GSP | v3.1 Questions & Support | 19 | 05-04-2006 03:51 PM |