Premium Joomla Templates
the width of the moduls
Hi, have another question.
I insert a minicalendar (view of the month) of jEvents into my Homepage into modul "user11". So far so good.
The Problem now. Because the moduls user12 until user15 are not in use the calendar in modul user11 is stretched to the whole width.
Is it possible to fix the width of the modul user11 in its default size. (The default size is the width the modul user11 would have when user12 - user15 would be in use).
Thanks for help.
I insert a minicalendar (view of the month) of jEvents into my Homepage into modul "user11". So far so good.
The Problem now. Because the moduls user12 until user15 are not in use the calendar in modul user11 is stretched to the whole width.
Is it possible to fix the width of the modul user11 in its default size. (The default size is the width the modul user11 would have when user12 - user15 would be in use).
Thanks for help.
The discussion has been resolved.
3 responses Add Yours
-
Hi Tom,
So you only intend to use user11 and not user12-user15 (whilst keeping user11 to approx 20% of the width? If this is the case, then you could modify the layout xml file of the template to set the width of the user11 module and remove the unused modules as shown below:
<?xml version="1.0" encoding="utf-8"?> <layout name="desktop"> <!--Extra css load for this layout--> <stylesheets> </stylesheets> <blocks name="top" style="xhtml"> <block name="header" type="header" main-inner="1"></block> <block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block> <block name="mainnav" type="mainnav" main-inner="1"></block> </blocks> <blocks name="middle" colwidth="22"> <block name="content-mass-top" type="spotlight" style="JArounded">user6,user7,user8,user9,user10</block> <block name="left1" style="JArounded">left</block> <block name="right1" style="JArounded">right</block> </blocks> <blocks name="bottom" style="xhtml"> <block name="botsl" type="spotlight" style="JArounded" totalwidth="20">user11</block> <block name="botsl2" type="spotlight" style="JArounded" main-inner="1" special="right" specialwidth="40">user16,user17,user18,user19</block> <block name="navhelper" type="navhelper" main-inner="1"></block> <block name="footer" type="footer"></block> </blocks> </layout>
The key change in the snippet above is shown below:
<block name="botsl" type="spotlight" style="JArounded" totalwidth="20">user11</block>
FYI: In your original layout, this is probably as follows:
<block name="botsl" type="spotlight" style="JArounded">user11,user12,user13,user14,user15</block>
What we've done is removed user12-user15 and set the total width to 20.
Hope that helps!
ThemeRepublic.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.