This thread has been transferred from the old SMF forum.
QUOTE:
Is there a method for setting the default site width in the Shop Front template? I would like to set it for wide and keep it there unless the user changes it to the narrow option.
Also, I've noticed that once I set this and move to another page it reverts back, is there a way to make sure that the setting is kept for the entire session?
Thank you!
Michael
Hi Michael,
Yes this is possible you need to edit the template_css and wide.css files.
Just exhange the width values from the wide.css with the width values for the corresponding divs in the template_css.css ... this will make the width for the template as it loads for the first time for a visitor set to wide. You also need to exchange the padding and other css info for user5, 6 and 7.
The position of the page is stored by a cookie and so there can be a slight jump as the new page loads if the page width set by the stylechanger is different to that of the template_css.css.
You can actually remove the style changer completely if you like by editing out the code in the index.php that is notated in the header as "width resize and text resizer" and then delete the entire <div id="textresizer"> to </div> just before the <?php mosLoadModules ( 'left',-2 ); ?> code.
Hope this helps.
Anthony.