Make an osCommerce Template by Yourself (6)

E-mail Print PDF

Giving the Main Contents Area some style


Let's now look at the Main Content Area. We need to give it a bit of room to breath and also a background colour.


Open up stylesheet.css once again, and add the following code:


.main-content {
background: #fafafa;
padding: 10px;
}


This gives our Main Content Area (remember we set it up to use the stylesheet class “main-content” when we made the changes to all of our main .php files) some padding (room for it to breath) and a nice light grey background colour.

Easy, isn't it ? :) And now your new osCommerce Store should look exactly like this:

Testimonials

Hi, ada beberapa isu yang semua diselesaikan dengan tidak menggunakan 'fetchscript.php' di root/components/com_virtuemart/.

--- MUTAMAKKIN

Hi Again, Started afresh, brand new install. Now all good when i did dump.sql.

--- Darrin

Comment puis-je modifier la page Contactez-nous du thème Magento?Laughing

--- Berdine

With your instructions, I have successfully replaced the flash images.

--- Gerrit Lefebure

Su página web son grandes temas.

--- García

 
You are here: osCommerce Tutorial Make an osCommerce Template by Yourself (6)