Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Two Quick Questions - Surf's Up! Template

Two Quick Questions - Surf's Up! Template

Views: 1,220

Results 1 to 12 of 12
29 Aug 2012, 10:15 PM
#1
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Two Quick Questions - Surf's Up! Template

I have two quick questions, hopefully someone will be able to help me with this.

I need to change the heading "Product(s)-" from black to white on all Category pages, and I would like to know if there's a way to add a little extra space, like a padding, between pictures in the category lists. Many of the stock photos go right out to the edge, instead of having a white border around them. So they run together, and it's hard to tell where one photo ends and the other begins. A perfect example of both these issues is at http://www.annies-toy-chest.com/toy-store/index.php?main_page=index&cPath=46.

Thanks very much, as always, for your help...she loves the shopping cart, and is starting to get increased sales from it! :D

29 Aug 2012, 10:43 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Two Quick Questions - Surf's Up! Template

Tag this to the bottom of stylesheet.css

.productListing-data {padding: 8px 0px;}
#listCell0-1 a {color:#fff;}

If you want the listings to be even more definitive, you could add alternate colours to their backgrounds:

.productListing-odd {background: #f5f4f3;}
.productListing-even {background: #e2e1e1;}

(Of course, choose your own hex colours)

29 Aug 2012, 10:45 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Two Quick Questions - Surf's Up! Template

And TURN OFF category counts (ie: the numbers appearing in the "manufacturers" menu). Having this ON makes the site much slower...

29 Aug 2012, 10:49 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Two Quick Questions - Surf's Up! Template

Oh... you may also need this at the bottom of the stylesheet: (link hover colour = red)

#listCell0-1 a:hover {color:#ff0000;}

5 Sep 2012, 11:48 PM
#5
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: Two Quick Questions - Surf's Up! Template

I did what you recommended, and it did solve the problem I was having...there is a nice wide white space around each of the images now. :D

But it caused new problems, and removing the code snippets didn't return things to the way they were.

If you go to http://www.annies-toy-chest.com/toy-store/ you'll see what's happening. The text in the sideboxes was all white, but now the counts and prices are black, and they shouldn't be. (How can I get rid of the counts in the left sidebox, btw?) Also the text links in the center box, and all subsequent pages, have disappeared. It flashes up red if I mouseover the link, but that's not what I wanted...I wanted it to be black like the prices just below each one.

I didn't make any changes at all except to add

.productListing-data {padding: 8px 0px;}
#listCell0-1 a {color:#fff;}

and

#listCell0-1 a:hover {color:#ffffff;}

(trying to get the links to turn black again) at the bottom of my stylesheet.css. I don't think these two changes should have done this, but it was working fine beforehand and now it's not. So I'm confused.

Please help? Thank you!!

9 Sep 2012, 11:50 AM
#6
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: Two Quick Questions - Surf's Up! Template

Can anyone please help me with this? The site looks wrong now, I don't know what caused it, removing the new lines of code didn't help, and I need to get it fixed stat.

Thank you.

9 Sep 2012, 4:20 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Two Quick Questions - Surf's Up! Template

I'm not exactly sure what you want what color, but the black sidebox text is coming from here:

body {

margin: 0;

font-family: verdana, arial, helvetica, sans-serif;

font-size: 75.5%;

color: #000000;

background-color: #000000;

}

Probably best not to style stuff site-wide in the body rule.

Change that to #FFFFFF, and then add this to the sheet:

.centerColumn a{color: #000000;}

Admin - Configuration - My Store - Display Category Counts

10 Sep 2012, 1:32 PM
#8
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: Two Quick Questions - Surf's Up! Template

Steve:

That ALMOST solved the problem. The text in both sideboxes is white again, which is what I needed. The counts in the left sidebox are also gone, thank you. BUT............... Now the prices in the center box have gone white and are invisible. LOL

Also, on the category pages (http://www.annies-toy-chest.com/toy-store/index.php?main_page=index&cPath=38) and individual product pages (http://www.annies-toy-chest.com/toy-store/index.php?main_page=product_info&cPath=38&products_id=679), all the text has gone to white.

Is there any way to make them black again, without screwing up the rest of the site?

Thank you!!

Jo

10 Sep 2012, 1:58 PM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Two Quick Questions - Surf's Up! Template

.centerColumn {color: #000000;}

The first rule I mentioned turned all the links in the centerColumn black (.centerColumn a).

This one turns all text that aren't links in the centerColumn black.

10 Sep 2012, 2:10 PM
#10
scully avatar

scully

Zen Follower

Join Date:
Dec 2010
Posts:
257
Plugin Contributions:
0

Re: Two Quick Questions - Surf's Up! Template

That's it...that's exactly what I needed! :D

THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Jo

13 Jan 2016, 4:54 AM
#11
dk_scully avatar

dk_scully

Zen Follower

Join Date:
Jan 2011
Posts:
339
Plugin Contributions:
0

Re: Two Quick Questions - Surf's Up! Template

I used this thread to modify another website, and it worked up to a point. There's a nice margin of white space around the book listings on the individual pages, which is what I wanted. But it also added white lines between each of the sidebar categories and subcategories. http://book-oasis.com/index.php How can I get rid of the white space in the sidebar without losing it in the center module?

Thanks very much for your help, it's greatly appreciated!!

13 Jan 2016, 5:07 AM
#12
dk_scully avatar

dk_scully

Zen Follower

Join Date:
Jan 2011
Posts:
339
Plugin Contributions:
0

Re: Two Quick Questions - Surf's Up! Template

As a sidenote, is there a way to space out the modules in the right sidebar? They're all crammed up against each other with absolutely no space between them. Thanks!!