Support Forums

Old 06-19-2006, 05:01 PM   #1
CB
Senior Member
 
Join Date: May 2006
Posts: 390
Rep Power: 21
CB is on a distinguished road
Default Feature Ad Images

I'm trying to set float:left to the featured ad images on the home page. Could someone point me in the right direction to do so. I'm trying to have the descriptions appears to the right of the image.
CB is offline   Reply With Quote
Old 06-19-2006, 05:06 PM   #2
Coder
 
Join Date: Mar 2006
Posts: 4,633
Rep Power: 112
Lhotch is a glorious beacon of lightLhotch is a glorious beacon of lightLhotch is a glorious beacon of light
Default

Description to the right
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 06-19-2006, 05:18 PM   #3
CB
Senior Member
 
Join Date: May 2006
Posts: 390
Rep Power: 21
CB is on a distinguished road
Default

I know however that puts everything on one line. I'm trying to set it so the description shows up right next to the image. I've been told I need to set the float to none on the images but im not sure where that is in the CSS or maybe that's not even the right fix. Any idea's I've pm'ed you too with a link.

Thanks again your a life saver
CB is offline   Reply With Quote
Old 06-19-2006, 05:51 PM   #4
Coder
 
Join Date: Mar 2006
Posts: 4,633
Rep Power: 112
Lhotch is a glorious beacon of lightLhotch is a glorious beacon of lightLhotch is a glorious beacon of light
Default

The syle for the newlistings is actually passed to the plugin via the line that calls the function from home.tpl.php.

I think you can get your desired effect by backing up and then opening...

/includes/classes/smarty/plugins/function.featured_listings_horizontal.php and goto line 129 where the image is loaded, should look like this...

PHP Code:
$output.="<a href='"$link ."'><img src='".$loop[$x][image]."' border='0'></a>"
and simply add a left align to the image so the line looks like this....

PHP Code:
$output.="<a href='"$link ."'><img src='".$loop[$x][image]."' border='0' align='left'></a>"
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 06-19-2006, 05:58 PM   #5
CB
Senior Member
 
Join Date: May 2006
Posts: 390
Rep Power: 21
CB is on a distinguished road
Default

Larry, your a genius! that worked perfect, wow your 2 for 2 today, you get the 68 gold medal. Thank you so much I really appreciate it.
CB is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on loading images manilaboy v3.1 Questions & Support 2 10-26-2006 12:45 PM
Strange Issue Cycling Through Images bgordon v3.1 Questions & Support 2 09-15-2006 08:58 AM
Images in Viewlisting not showing Bucketman v3.1 Questions & Support 9 05-05-2006 10:46 AM
Deletion - Photo Images doug-gb v3.0 Questions & Support 6 04-28-2006 03:51 PM
Featured images quickbiz v3.0 Questions & Support 2 04-10-2006 09:22 AM


All times are GMT -4. The time now is 09:03 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0