I have added an additional banner module called bannertop.
I have placed it in the index.php underneath the jaslideshow (topsl).
Here is the url: http://www.cutterart.com/index.php/shop
I have two issues.
1. What css syntax do I use to center the banner?
2. When I go to a page that does not have the Top banner (http://www.cutterart.com/) the body component (articles) drop out or disappear.
Most importantly I need my content back into the main component.
Here is the modified index code:
<?php if ( $this->countModules('topsl') ) : ?>
<!-- BEGIN: SLIDESHOW -->
<div id="ja-topsl">
<jdoc:include type="modules" name="topsl" style="raw" />
</div>
<!-- END: SLIDESHOW -->
<?php endif; ?>
<!-- START: BANNER -->
<div id="ja-bannertopwrap">
<div id="ja-bannertop" class="clearfix">
<div id="ja-bannertop">
<?php if($this->countModules('bannertop')) : ?>
<!-- BEGIN: BANNER -->
<div id="ja-bannertop">
<jdoc:include type="modules" name="bannertop" />
</div>
</div>
</div>
<!-- END: BANNER -->
<!-- BEGIN: CONTENT -->
Here is an extract of template.css
/* mis */
div.banneritem_text {
padding: 5px 0 !important;
}
#ja-bannertopwrap {
clear:both;
margin:0 auto;
width:950px;
}
div.advs {
clear: both;
display: block;
float: left;
width: 100%;
margin-bottom: 15px;
}
Does anybody have any ideas? Any help would be appreciated.
Thanks!
kevin