Hi
I wonder if someone of the coders could help me with something.
I sometimes find the template to be cool both as left aligned and center aligned.
Only thing to do is of course to give the wrapper a new margin. BUT, i would like to try to give the user the option by having a link/button at the top of the page,, maybe with the user controls, where the user can just click a button and the template would go to the left or center as the user wishes…
Is this a big task or something achieveable by a few lines of code?
UPDATE:
One more thing while i’m at it…
I am trying to ad a module position to the left side of the main content (using it if i have the site left aligned).
I tried something like this:
—————————————————–
<div id=”ja-current-content”>
<?php if ($this->countModules(‘advert3’)) : ?>
<div id=”ja-col3″>
<div class=”ja-innerpad”>
<jdoc:include type=”modules” name=”advert3″ style=”xhtml” />
</div>
</div>
<?php endif ; ?>
<?php if($this->countModules(‘advert1’) || $this->countModules(‘advert2’)) : ?>
<!– BEGIN: BANNER –>
————————-
And this css:
#ja-col3 {
float: left;
overflow: hidden;
width: 180px;
}
#ja-col3 div.ja-innerpad {
padding: 5px;
}
————————————————————
But that didn’t work out to well. Tried a few other positions with the code in the template but i keep on getting it wrong lol.
Anybody that can help me here as well?
thx