View Single Post
  #32  
Old 02-29-2012, 11:05 AM
 
sanjuansports sanjuansports is offline
 

Newbie
  
Join Date: Feb 2012
Posts: 1
 

Default Re: FREE Banner Rotator with Links

Just wanted to share a modification I made - so that the slideshow was FLUID WIDTH:

1. Created a new language label:
lbl_banner_rotator
and added the code from the original post (deleted space in "length")

2. placed a div tag around the code in the language label:
Code:
<div id="slideshow"> ... </div>

3. Added the following CSS to my altskin.css file:
Code:
#slideshow { width: 100%; position: relative; } #slideshow img { width: 100%; max-width: 1300px; min-width:800px; height: auto; min-height:300px; }

4. In /common_files/customer/main/welcome.tpl
I placed this:
Code:
{$lng.lbl_banner_rotator}

just before this:

Code:
{$lng.txt_welcome}<br />


I'm using XCART 4.4.3 - www.sanjuansports.com/index.php
__________________
sanjuansports
Reply With Quote