Re: Template-width-changer for 12-column-layout of gantry
Posted 13 years 3 months ago
Hi Deb,
The 1180 width is controlled by the 80 that you would have put in the mywidth field in template admin. The mywidth.php recalculates the css for columns.
The template does not have a left margin. Margins are automated to be equal left and right.
I already explained that you have .rt-container set to 1600px. That class of .rt-container is used extensively throughout the template. If you have manually adjusted css to 1600px then that is your problem with layout.
When I put the 80 back to 60 (default) the .rt-container displays at 1280px so something else has been changed and until that is corrected you will not get your template layout resolved.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information
Re: Template-width-changer for 12-column-layout of gantry
Posted 13 years 3 months ago
I just unistalled Halcyon 1.5 template then re-installed it, then put back the mywidth.php and added the code to the bottom of templateDetails.xml
The exact same issue happens. I set the width back to 70 and I see that on a large monitor the template shifts to the left about 30px.
Thus, until I have a solution I have no choice but to keep this site with 'mywidth.php-off' so the site centers itself on the page. Hopefully I can sell my client that he does not need a wide template
The login info I gave you before still works if you want to take another look.
Re: Template-width-changer for 12-column-layout of gantry
Posted 13 years 2 months ago
Hello,
I just read the thread and tryed the hack on Joomla 2.5 with Clarion.
I was impressed how easy this hack can be set up, and wonder why its not available regulary.
But unfortunately it wont work for 2.5.
The template in total got wider, but the sidebars and its modules inside does not get bigger.
I used the mywidth.php for 1.7 and followed the instructions given by David Goode.
Mywidth is set to 70
Mainbody Positions are 2 | 8 | 2
Can I use the mywidth.php and there are some css fixes to do, or does anyone has to create a specific mywidth.php for 2.5?
Re: Template-width-changer for 12-column-layout of gantry
Posted 13 years 2 months ago
Thanks Henning
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information
Re: Template-width-changer for 12-column-layout of gantry
Posted 13 years 2 months ago
Thank you Henning for your fast reply,
I guess I have to make changes in the main-light.css
It works fine when there is only one sidebar. But how can I change when having two sidebars?
.mb7-sa5 {background: url(../images/main/light/columns/mb7-sa5.png) 49% 0 repeat-y;}
I changed 50% to 49% - looks good
.sa2-mb8-sb2 {background: url(../images/main/light/columns/sa2-mb8-sb2.png) 50% 0 repeat-y;}
By changing both lines are not changing equally. How can i move the background in both ways?
Re: Template-width-changer for 12-column-layout of gantry
Posted 13 years 2 months ago
I have to point out that this is an incredibly powerful patch - and should be included with all templates as part of the regular feature set.
What would be an even better enhancement would be to also sniff the user agent string and allow for style switching based on OS, Referrer, Time of Day, and then dynamically switch between styles within the template for selected pages.
This would be a big plus for i-framing RocketTheme templates into FaceBook for example
Re: Template-width-changer for 12-column-layout of gantry
Posted 13 years 1 month ago
I just found out about this and I would like to try it out. I have read the thread and it seemd to indicate to place the configuration in the template-options.xml, what should I add to templateDetails.xml?
Also, when I enable the feature (by adding it to the template-options.xml) I get an error in the front end - line 59 of mywidth.php - the variable bottom is not defined.
I'm using J2,5 latest version, latest version of Gantry and the mercado template. I understand that there will be some things (css/image wise) that need to be worked out... I just want to experiment with this in the mean time..
Am I missing anything? :-S
This is a great feature that I'm looking forward to try.