Shape 5

Joomla Templates => CommPortal - July 08 - Club => : winstart November 04, 2008, 06:58:13 AM



: adjust width
: winstart November 04, 2008, 06:58:13 AM
i want to increase the distance between the left and right pane
can anyone give me a hand, suggestion

:) Annelies


: Re: adjust width
: jonahh November 05, 2008, 12:43:06 PM
Hello Annelies,

Can you explain this a bit more in detail, what do you mean by the left and right pane?


: Re: adjust width
: winstart November 14, 2008, 12:55:25 AM
ah sorry
the left one is with 'intro' the right one with 'oplossing'


: Re: adjust width
: jonahh November 17, 2008, 05:11:52 PM
Hello,

You can start by decreasing the width in the main body where the intro is.  You'll have to subtract some pixels on the mainbody area in your index.php file.  Look for:

:
if (!mosCountModules("left") && !mosCountModules("right")) { $s5_mainbody_width = (($s5_body_width) - 46); }
else if (mosCountModules("left") && !mosCountModules("right")) { $s5_mainbody_width = $s5_body_width - ($s5_left_width + 62);}
else if (!mosCountModules("left") && mosCountModules("right")) { $s5_mainbody_width = $s5_body_width - ($s5_right_width + 62);}
else if (mosCountModules("left") && mosCountModules("right")) { $s5_mainbody_width = $s5_body_width - (($s5_left_width + $s5_right_width) + 78); }

Notice the following line:

else if (mosCountModules("left") && !mosCountModules("right")) { $s5_mainbody_width = $s5_body_width - ($s5_left_width + 62);}

Just add more to the 62 to decrease the main body width.

The open up your template_css.css file and look for:

template_css.css  on line 774

:
#s5_rightcolumn {
float:right;
padding-left:5px;
}

Perhaps add some padding as I have done above.

Regards,


: Re: adjust width
: winstart November 21, 2008, 04:32:57 AM
need a little bit more help
i did what you said, but doesn't make the gap between the two bigger.
only thing happening by changing the numbers is that right module goes down becaus of lack of space i guess


: Re: adjust width
: jonahh November 21, 2008, 04:56:11 PM
Do you have a URL you could post so I can see what else needs to be changed, adjusted?


: Re: adjust width
: winstart December 02, 2008, 03:00:50 AM
yep: http://winstart.nl/q2net/index.php
i would like more space between the left (welkom...) and the right (with the pictures)



: Re: adjust width
: jonahh December 03, 2008, 12:46:27 AM
It doesn't appear you've made any edits to the above code I've pasted?  If you aren't sure PM login access.


: Re: adjust width
: winstart December 04, 2008, 01:51:32 AM
i did mak the changes and tried with the values different things
but it didn's came out the way i wanted


: Re: adjust width
: jonahh December 08, 2008, 12:33:23 PM
Hello,

I've made some changes to the width on your site, is this what you were looking for?


: Re: adjust width
: winstart December 16, 2008, 10:01:55 AM
your a wizzard
thnx !!