Post by Tallowman » Mon Nov 28, 2011 11:01 pm

Here is my first effort at a quick responsive stylesheet. Not very pretty, but it does the job!

http://forum.opencart.com/viewtopic.php?f=120&t=47083

Newbie

Posts

Joined
Thu Oct 06, 2011 7:14 pm

Post by exactweb » Wed Apr 04, 2012 12:00 am

Brilliant idea, this is the only reason I am put off using opencart sometimes, is because it can be so hard to change the look of the default theme without duplicating a lot of tpls.

My ideas are:
1. Move all the onclick javascript to a jquery click method. Use data attributes to store the product id etc.

2. Remove all the

Code: Select all

<br />
that are used for styling. E.g Checkout.

3. Most useful would be to add more classes for styling.
E.g: I create a new theme and would like to change how the "Module Featured" looks by using CSS only. If the featured.tpl had a class like this:

Code: Select all

<div class="box module_featured">
. I wouldn't need to duplicate this file just to add the class.

If you look at: http://www.csszengarden.com/ this is a perfect example of how a perfect theme would work, so that you can change the look of the theme with CSS alone.
Isn't this how CSS is supposed to work lol

New member

Posts

Joined
Tue May 31, 2011 5:06 pm

Post by fctextura » Wed Jul 18, 2012 8:10 am

few mistakes were found?

Grafiato
Facebook
Agencia de Publicidade


Newbie

Posts

Joined
Wed Jul 18, 2012 7:35 am

Who is online

Users browsing this forum: No registered users and 1 guest