I have a test site I'm using to develop a client site. My client really likes the layout and menu formats used in the Free Estate template. This is not for a real estate site, but for a magazine format site displaying text articles.
I have installed Free Estate on my dev site (not including the quickstart components). However, the articles appear *below* the side menu rather beside it to the right. I have the Main Menu in the Mainmenu position (which creates a vertical menu at the left) and am not currently using the Sidebarleft position for anything.
I have compared the code of my development site to your FreeEstate demo (e.g. buttons page:
ordasvit.com/realestatemanager18/index.p...-13-09-46-32/buttons ). The buttons page displays fine, with the article content floating to the right of the Main Menu, which is how my site should display but doesn't.
When I compare them, I see there is a different span class assigned to ContentBox in each site. On my dev site, ContentBox is assigned span12, but on the demo buttons page it is assigned span9. When I use Firebug to change span12 to span9, it displays fine, like on the demo buttons page. (FYI: This is being viewed on a desktop monitor.)
The class seems to be assigned from line 257 in Index.php:
Code: |
<div id="contentBox" class="<?php if ($left && $right) {print('span6');} else if ($left xor $right) {print('span9');} else {print('span12');} ?>">
|
Can you please help me figure out how I can get this to work? There must be a way to get this to work using the template's existing structure. I would prefer to customize the code as little as possible, since that can create other problems.
Many thanks for your assistance.
Wendy