Guest Posted January 30, 2011 Share Posted January 30, 2011 I've looked at V2.2 and managed to build a site using a CSS (basedon an add on) and was happy with that. I know some say the 360 grid is really useful, but I would like to be able to use v2.3 using simple CSS. Is it possible to do this fairly easily? Or would it mean having to re-write large portions of script in 2.3? Thanks in advance for any replies Link to comment Share on other sites More sharing options...
Xpajun Posted January 30, 2011 Share Posted January 30, 2011 There is no reason why you can not do this, after all the grid is only there to position the divs, something that can be done just as well in stylesheet.css osC only uses around half of the grid css anyway, the remainder just adds to the page load time (according to Google) Rewriting the php files won't be necessary but you will have to take note of which grid classes osC uses in order to make use of them My store is currently running Phoenix 1.0.3.0 I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 ) I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2011 Share Posted January 30, 2011 There is no reason why you can not do this, after all the grid is only there to position the divs, something that can be done just as well in stylesheet.css osC only uses around half of the grid css anyway, the remainder just adds to the page load time (according to Google) Rewriting the php files won't be necessary but you will have to take note of which grid classes osC uses in order to make use of them Thanks Xpajun. I'm not quite sure I understand how to change to simple CSS - would I just rename the div classes. I've had a preliminary look at the files and the stylesheet in the new version download, but I can't see anything referencing the new 360 grid - I've seen a post somwhere on the forum explaining how it works but can't seem to find any of the files where you change the numbers when changing the grid layout. If I could find those I might be able to work it out. Seems a bit daunting at the moment..but I had created the layout and style I wanted using V2.2a and would like to keep that. Any suggestions would be appreciated. Link to comment Share on other sites More sharing options...
npn2531 Posted January 31, 2011 Share Posted January 31, 2011 You can remove (or rather disable) the 960gs grid by renaming the file catalog/ext/960gs/960_24_col.css to something else. However, then take a look at your shop. You will have to create a new css layout to fix the result. That said, you can fix the result, or restructure 90% of it to 'simple' css by focusing on four files in the includes folder:, template_top.php, template_bottom.php, header.php and footer.php. Just change any class or id starting with 'grid_ ' to whatever you need. However, the 960gs system is pretty useful once you get the hang of it. It not really rocket science or in depth logic, it's really a matter of learning the rules. Oscommerce site: OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.