-
AuthorPosts
-
karlgoddard Friend
karlgoddard
- Join date:
- June 2009
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 4 times in 1 posts
January 7, 2012 at 4:03 pm #172542Hi
Is there any way to increase the width of the Featured News Module?
I’d like there to be just the featured news module and the newsletter module at the top of the page. If I remove modules from the sl1-2 position the newsletter module stretches across to take up 50% of the top of the page
I’d like to set the Featured News module to approx 740px width
Is that possible?
Thanks
Karlpixelzombie Friendpixelzombie
- Join date:
- August 2010
- Posts:
- 339
- Downloads:
- 2
- Uploads:
- 49
- Thanks:
- 32
- Thanked:
- 168 times in 107 posts
January 7, 2012 at 8:49 pm #432937Hi Karl,
I allredy assisted someone else with a similar problem. Please check this thread: http://www.joomlart.com/forums/topic/fixing-width-of-user1-10-positions-in-ja_t3_blank-layout/ and if you need any further assistance, don’t hesitate to ask 😉Cheers
Frank
dave_logic Frienddave_logic
- Join date:
- December 2011
- Posts:
- 95
- Downloads:
- 17
- Uploads:
- 6
- Thanks:
- 6
- Thanked:
- 11 times in 1 posts
January 8, 2012 at 8:15 am #432959<em>@karlgoddard 293441 wrote:</em><blockquote>Hi
Is there any way to increase the width of the Featured News Module?
I’d like there to be just the featured news module and the newsletter module at the top of the page. If I remove modules from the sl1-2 position the newsletter module stretches across to take up 50% of the top of the page
I’d like to set the Featured News module to approx 740px width
Is that possible?
Thanks
Karl</blockquote>A cleaner and more non destructive way to achieve this is to create a new Layout in the template admin (or just modify the default layout if you wish. The benefits of doing this are two fold 1 ) If there is a template upgrade your changes will survive 2) This way means that you can apply a different layout to different sections. Editing the css will apply this globally….
Anyway, in the Template Admin page go to Layouts > Clik on edit next to default and you will see the default layout….Somewhere further down will be this snipnet the “specialwidth=”50″ is referring to the left area..Carefully changing this should give you results you are looking for…
<block name=”top-panel” type=”modules” style=”raw” main-inner=”1″>top-panel</block>
<block name=”topmenu” type=”topmenu” ></block>
<block name=”header” type=”header” ></block>
<block name=”mainnav” type=”mainnav” ></block>
<block name=”topbar” type=”topbar”></block>
<block name=”breadcrums” type=”breadcrums”></block>
<block name=”slideshow” type=”modules” main-inner=”1″>slideshow</block>
<block name=”topsl1″ type=”spotlight” special=”left” specialwidth=”50″ main-inner=”1″ >sl1-1,sl1-2,sl1-3</block>
<block name=”topsl2″ main-inner=”1″>slider</block>
<block name=”topsl3″ type=”spotlight” main-Regards,
Dave
1 user says Thank You to dave_logic for this useful post
pixelzombie Friendpixelzombie
- Join date:
- August 2010
- Posts:
- 339
- Downloads:
- 2
- Uploads:
- 49
- Thanks:
- 32
- Thanked:
- 168 times in 107 posts
January 8, 2012 at 1:43 pm #432993Thank you Dave for this solution!
I didn’t know that this is possible too. The downside of this solution is, that you can only change the width of one value. It works for Karl’s problem, but if you want to change the width of the left and the right spotlight modules and leave the centered modules on the calculated width, you have to use the CSS method.dave_logic Frienddave_logic
- Join date:
- December 2011
- Posts:
- 95
- Downloads:
- 17
- Uploads:
- 6
- Thanks:
- 6
- Thanked:
- 11 times in 1 posts
January 8, 2012 at 5:02 pm #433004<em>@pixelzombie 293544 wrote:</em><blockquote>Thank you Dave for this solution!
I didn’t know that this is possible too. The downside of this solution is, that you can only change the width of one value. It works for Karl’s problem, but if you want to change the width of the left and the right spotlight modules and leave the centered modules on the calculated width, you have to use the CSS method.</blockquote>Yeah, this works really well in a 2 module scenario but in 3 the other two modules retain half of the remaining % equally…This is much the same as most template frameworks out there with the exception of Gantry which is a bit more flexible in this area however is outweighed by being an over bloated bulky framework…
Insistent on not being defeated by this limitation with the T3 framework I reckon it may be possible to get around this by creating a new theme in the template admin , copied from one of the existing ones. This in turn will have its own style.css in which the extra changes can be added. This theme can be associated with the layout etc etc…You then still have the original in place as was and have more flexibility….
D
1 user says Thank You to dave_logic for this useful post
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by dave_logic 12 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum