The Is No Place To Order Good Chinese Food From In Fort Greene

wah-wah-wahI don’t care that at a quick glance Fort Greene appears well stocked with Asian Eateries. Yes, there are about 200,000 Thai restaurants on Myrtle (OK, 3). And about 340,000 Chinese restaurants (more like 20) with a few spatterings of Indian occurrences but Thai is Thai and Indian is Indian (not sure why I mentioned it now that I think of it–desperation?) and those Chinese restaurants are not Good Chinese restaurants.

Have you ever eaten in any of the many “Dog Food” Chinese establishments on Myrtle, Dekalb or Park? If you are not sure, here is how to spot a “Dog Food” Chinese restaurant: your order is thrust at you through a bullet proof partition and it is always garbage. Their main focus seems to be deep frying chicken and french fries (the fries are crinkle cut and chicken wings are immensely battered and both have been frozen for about 26 years).

Plus, there are faded pictures of food on the walls. I always know the food is going to suck if there are pictures of it on the walls.

The one acceptable Chinese restaurant on Myrtle does not deliver and is 16 blocks from my house. I don’t want to make the 32 block hike for food, even for Sichuan. As the deprived and lazy grow in numbers if we band together we might be able to get a City ordinance to Force Kum Kao to deliver. Or better yet, entice and entreat several proper Chinese food chefs to move in and open shop.

We Can Do It!

Redesign Your Product Pages For WP-E-Commerce.

Update!

If you are experiencing issues in IE7 or 8 – product boxes display in a vertical row instead of side by side it is because div.productdisplay_group is set to [css]height:auto;width:100%;margin:0;padding:0;[/css] Since this is the containing div for the following 2 divs: textcol_group & imagecol_group it is width:100% causing the vertical display.

TRY THIS (Proven Fix):

[css]
/*Group Style*/
/*Feel free to make the boxes shorter or wider or taller.*/
div.productdisplay_group {
float: left;
position: relative;
/*Feel free to make the boxes shorter or wider or taller.*/
width: 205px;
height: 460px;
margin: 0 4px 0 8px;
padding: 10px 4px 0 4px;
}
/*Group Style*/
div.textcol_group {
width:100%;
margin:0;
padding:0;
}
/*Group Style*/
div.imagecol_group {
text-align: center;
display: block;
margin: 5px auto 5px auto;
}
[/css]

I have tested this fix on a user’s site who asked me for help -in IE7 because that is the version I have on my Windows box. If you still see issues after trying this fix on IE8 Please let me know.

Read Original Post:

When the fabulous creators of wp-e-commerce released version 3.7+ they added the template engine to each theme making it possible to style the multiple products page and single products page independently of each other.

This makes it really easy for me and you to write our own styles for the multiple product page while keeping the single product page structure intact.
The Objective: To leave the single products page style intact while restyling the multiple product page.

To follow this tutorial please be using wp-e-commerce version 3.74 or higher. I don’t want to get blamed if you try this on an incompatible version. Thank you.

To follow this tutorial you must have a text editor. I like Crimson Editor (PC) and Textwrangler (MAC) because they show line numbers and have Search capability.

BEFORE YOU START
Please make copies of the files you are going to edit, especially if you have already made changes you quite like. If something goes very wrong you can then delete the problem files and re load the intact ones and we can all walk away from this a little sadder but perhaps a bit wiser.

Files we will be editing:
Your_theme.css (either marketplace.css, iShop.css or default.css)
Products_page.php

Open products_page.php.

Search for productdisplay
Rename to productdisplay_group

Search for textcol
Rename to textcol_group

Search for imagecol
Rename to imagecol_group

Save and re upload with ftp. Or use your filemanager in your cpanel..

Let’s start writing our own styles.
Open either default.css, iShop.css or marketplace.css. Find @ line 209
(assuming you have not edited before and the line #’s are still intact)

Find div.productdisplay {} Copy & Paste & rename to div.productdisplay_group {}
Find div.imagecol{} Copy & Paste & rename to div.imagecol_group{}
Find div.textcol{} Copy & Paste & rename to div.textcol_group{}

Remember the idea is to add more classes not to delete existing ones. We don’t want to wreck the single product page style.
Also we aren’t deleting the style rules in between the brackets,either. I just didn’t feel like copying it all here.

Your style sheet should now have :
div.productdisplay{}

/*Group Style*/
div.productdisplay_group {}

div.textcol{}

/*Group Style*/
div.textcol_group{}

div.imagecol{}

/*Group Style*/
div.imagecol_group{}

A very basic design:
[css]
/*Group Style*/
div.productdisplay_group {
height:auto;width:100%;margin:0;padding:0;
}

/*Feel free to make the boxes shorter or wider or taller.*/
/*Group Style*/
div.textcol_group {
float: left;
position: relative;
/*Feel free to make the boxes shorter or wider or taller.*/
width: 205px;
height: 460px;
margin: 0 4px 0 8px;
padding: 10px 4px 0 4px;
}

/*Group Style*/
div.imagecol_group {
text-align: center;
display: block;
margin: 5px auto 5px auto;
}
[/css]
Save. Re upload with ftp. Or use your filemanager in your cpanel.
Now look at your shop page. (Refresh the page.) A lot of corrective tweaks can be made by making textcol_group wider, shorter, taller or narrower.

Continue reading Redesign Your Product Pages For WP-E-Commerce.

Following Up …

sorry Britney
My last post about the All In One SEO Pack (a plugin for WordPress) was not an attempt to grab folks searching for it, just to inform them that I had had some unexpected results when upgrading. But only when used in conjunction with another plugin. Standard All In One SEO Pack plugin users will not have any problems and should not hesitate to upgrade.