Login  Register

Re: Quickie right bar removal question

Posted by Ruth Hoffman on Jun 24, 2006; 12:36am
URL: http://ofbiz.116.s1.nabble.com/Quickie-right-bar-removal-question-tp140128p140135.html

Hi Tim:
I think you want MainColumnStyle to be "nocolumns",  for example in your
decorator screen.  And then you can reset for each individual screen or
just leave the right/left column definitions out, if you want a full screen.

I've done this several times, several different ways and it is a little
confusing since these can be set in many places.
Ruth

Tim Ruppert wrote:

> MainColumnStyle I left - could that be causing the problem?
>
> Cheers,
> Tim
>
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>
>
> Si Chen wrote:
>
>> What about your MainColumnStyle?
>>
>> On Jun 23, 2006, at 4:24 PM, Tim Ruppert wrote:
>>
>>> Commented the left and rightbar .
>>>
>>> Cheers,
>>> Tim
>>>
>>> --
>>> Tim Ruppert
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> o:801.649.6594
>>> f:801.649.6595
>>>
>>>
>>>
>>> Si Chen wrote:
>>>
>>>> By any chance did you change these tags?
>>>>
>>>>                 <set field="leftbarScreenName" value="leftbar"/>
>>>>                 <set field="rightbarScreenName" value="rightbar"/>
>>>>                 <set field="MainColumnStyle" value="center"/>
>>>>
>>>>
>>>>
>>>> On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:
>>>>
>>>>> 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.com
>>>>>
>>>>> o: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
>>>>>>>
>