Page 1 of 1

Additional class in Body tag

Posted: Fri May 11, 2012 4:40 am
by OC2PS
OC layout system is pretty cool. It gives a great deal of granular control that a layout can be chosen for each individual product.

I propose that from next version, each page's <body> tag should have a class associated with it that identifies the page. This will give an immense degree of granular creative control that can be managed via css. I'm thinking something like

Code: Select all

<body class="product_category id-55">

Re: Additional class in Body tag

Posted: Fri May 11, 2012 7:34 pm
by JAY6390
This does sound like a great idea

Re: Additional class in Body tag

Posted: Wed May 30, 2012 11:21 pm
by Yasp0
Great idea yes, was already looking for this.

If want to create this already: http://forum.opencart.com/viewtopic.php?f=21&t=53852