Originally Posted by
nigelt74
Ok Im stuck
I have read the advice given in post 13 of this thread regarding a maximum width for desktops, so it doesn't take the whole screen on a huge monitor.
However everytime I have tried setting a maximum width, it effects all browsers at all sizes it basically sets the width of the site to 980px, Is there anyone on here using this template who has a maximum width set for the desktop, just so I can see it in action.
Thanks
Here I have set it to 990px, and tested it with 1090, and 1190 as well
afzdesign dot com /zencart-downloaded-res-tpls/
It's still in development, so there are stuff to be fixed yet, but as max width goes it seems to be working.
I've used the following in responsive_default.css
Code:
@media (min-width:768px) and (max-width:979px){}
@media (max-width:979px){}
@media (min-width:980px){}
@media (max-width:1200px){}
/*
@media (min-width:980px) and (max-width:1200px){}*/
@media (min-width:1201px){
/* The responsive code automatically adjusts the width to 100% on a desktop screen */
/* Changing the % (100%) to a px (980px) will keep .onerow-fluid from expanding past (980px) */
/* The below (margin:auto;) centers .onerow-fluid if changed to a (px) value */
.onerow-fluid{width:990px;*zoom:1;margin:auto;}
/* The below code will also keep your header and footer from expanding past (980px) */
div#headerWrapper,div#navSuppWrapper{width:990px;margin:auto;}
}
Bookmarks