Originally Posted by
Sharon J
Hi Anne,
I tried this, but it didn't work..Only had a homepage with background. Now, instead of the zx slideshow, I would rather implement your module sliding home images. Is there a way to install any of your templates without the built in slider? I really like your templates, but I am having issues removing the easy slider. I think part of it has to do with the stylesheet.css. There are references to the slider, and when I try to remove them, I end up with just a background on my home page, so I am really not sure what code to eliminate and which code needs editing. Thank you
Sharon
To remove the styles for the slider, remove this from the stylesheet.css file:
Code:
/*bof easy slider*/
#slider{margin:0 auto;position:relative;top:-8px;}
#slider ul, #slider li, #slider2 ul, #slider2 li{margin:0;padding:0;list-style:none;}
#slider2{margin-top:1em;}
#slider li, #slider2 li{/*define width and height of list item (slide) entire slider area will adjust according to the parameters provided here */width:980px;height:250px;overflow:hidden;}
/*bof easy slider numeric controls*/
#control_div{width:200px;height:18px;position:relative;left:400px;top:-40px;}
ol#controls{margin:1em 0;padding:0;height:18px;}
ol#controls li{margin:0 10px 0 0;padding:0;float:left;list-style:none;height:18px;line-height:18px;}
ol#controls li a{float:left;height:18px;line-height:18px;/*border:1px solid #141312;*/background:#e4cdd3;color:#444;padding:0 10px;text-decoration:none;}
ol#controls li.current a{background:#ae3953;color:#fff;}
ol#controls li a:focus, #prevBtn a:focus, #nextBtn a:focus{outline:none;}
and add this to the #home-banner:
Also, remvoe the file I posted previously, and the includes/templates/bristol_lace/common/tpl_home_slider.php file. You will need to remove this code from the includes/templates/bristol_lace/common/tpl_main_page.php file:
Code:
<?php
if ($this_is_home_page) {
?>
<div id="home-banner"><center><?php require($template->get_template_dir('tpl_home_slider.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_home_slider.php');?></center></div>
<?php
}
?>
Then you can add any slide show that you like.
Thanks,
Anne
Bookmarks