-
AuthorPosts
-
May 6, 2010 at 2:03 pm #150906
HI, I wonder if anyone can help.
Currently I have the layout left-main-right square. I also have a background image that is to be shown on every page across the site. The background image has a specific graphic on the left hand side which at the moment sits behind the left column and any modules placed in it.When I turn off the modules in the left hand column, the main section takes its place. What I would like to do is get rid of the left hand column but retain the space which it leaves vacant, thus permitting me to see the graphic on the background image and the rest of the layout stays as is?
Can anyone point me in the right direction?
Thanks
s
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 6, 2010 at 2:05 pm #342823Without a link to your site and an image of what you are trying to achieve it is very hard to say.
May 6, 2010 at 2:42 pm #342826Thanks for the quick response.
The attached image shows what I’m talking about. If you look at the wine glass carefully you’ll see there are modules over it. What I want is to get ride of those modules (the column in fact) and keep the rest of the layout, ie the main and right, exactly where they are. This will permit the background image of the wine glass to be seen.
BTW. the background isn’t mine, I’m just using it for design purposes since it has similar properties as the one I will be using. I have yet to actually make my image.
Thanks
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 6, 2010 at 3:27 pm #342832Disable the modules and adjust the css to give the main area some padding. Without a link I cannot really say what to adjust (as I do not currently have that template installed nor know what modifications you have already made). It is simple to work out what though if you use Firefox as your browser with the firebug plugin.
micrantha Friendmicrantha
- Join date:
- May 2007
- Posts:
- 465
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 6
- Thanked:
- 158 times in 148 posts
May 6, 2010 at 8:27 pm #342843Hello,
This proposal is a guess, I could not test it.
When you are using layout left-main-right.square.php, left column is loaded in position inset1.
Open layouts/blocks/main.php
Look for these lines:<?php if($this->countModules($inset1)) : ?>
<div class="ja-col column ja-inset1" style="width:<?php echo $this->getColumnWidth('i1') ?>%">
<jdoc:include type="modules" name="<?php echo $inset1;?>" style="JAxhtml" />
</div>
<?php endif; ?>change it to:
<div class="ja-col column ja-inset1" style="width:<?php echo $this->getColumnWidth('i1') ?>%">
<jdoc:include type="modules" name="<?php echo $inset1;?>" style="JAxhtml" />
</div>
Effect should be that column is no longer conditionally shown, if there are modules published in position ‘left’, but always, independent of modules in that position.
Maybe this is what you are looking for.
good luck,
MicranthaPhill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
May 6, 2010 at 9:32 pm #342846Removing the condition should work but it may lead to some odd side effects. With a live site we could test.
Let us know if it works ssaxton.
May 7, 2010 at 2:08 pm #342918Hi Guys
Thanks for your help. php, I know nothing about so I went with Phil’s css suggestion and made the adjustment in the padding on the left hand side.Layout.css Line 23
.main .inner {
padding-left:225px;
padding-right:10px;Thanks again.
Cheers,
S
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 3 voices, and was last updated by ssaxton 14 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Layout issue
Viewing 7 posts - 1 through 7 (of 7 total)