Re: Quickie right bar removal question
Posted by
Tim Ruppert on
URL: http://ofbiz.116.s1.nabble.com/Quickie-right-bar-removal-question-tp140128p140130.html
Yeah - the snippet looks like this:
<div id="ecom-mainarea">
<div class="center">
<div class="contenttext">
<h3>Introduction</h3>
<p>Just some text</p>
</div>
</div>
</div>
No mention of left or right anywhere. Here's the associated CSS (adapted from the original ecommain.css):
#ecom-mainarea {
position: relative;
width: auto;
height: auto;
}
#ecom-mainarea .center {
background: #fff;
text-align: left;
margin-top: 10px;
vertical-align: top;
}
#ecom-mainarea .center {
padding: 30px;
voice-family: inherit
}
.contenttext {
color: #49422c;
font-size: 11px;
font-family: "Trebuchet MS";
line-height: 2;
text-decoration: none;
letter-spacing: 1px
}
This is pretty straight forward stuff - this same css file works when we've built the same code outside of OFBiz - so I know must be just forgetting something.
Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.como:801.649.6594
f:801.649.6595
Adrian Crum wrote:
> Probably a CSS issue. Maybe the content area width is specified there.
>
> Tim Ruppert wrote:
>> I have been able to turn things on and off and customize them quite
>> simply, but my most recent application requires totally removing the
>> right bar. We are working on a current copy (within the last week)
>> and are customizing the ecommerce application.
>>
>> I have completed modifications to a customized the CommonScreens.xml
>> file. Commented out leftbar from each of the screens, including main
>> and the commonForumDecorator.
>>
>> On the page, the left and right bar have been properly removed, but
>> there is still room left for them in the main ecom-mainarea .
>>
>> What am I missing here? Any help would be appreciated.
>>
>> Cheers,
>> Tim
>>