Forums / Templates, Stylesheets, Page Layout / Specials, New, Featured, Also Purchased Boxes - Heading & Border

Specials, New, Featured, Also Purchased Boxes - Heading & Border

Locked

Views: 1,673

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
16 Feb 2009, 7:32 AM
#1
donn avatar

donn

Zen Follower

Join Date:
Oct 2007
Posts:
241
Plugin Contributions:
0

Specials, New, Featured, Also Purchased Boxes - Heading & Border

Hi...

I am trying to figure out how to add a top border to the Specials, New, Featured, Also Purchased Boxes.

In addition, I would like each to display the name of the box ('featured', 'new', etc) in the heading.

As I recall, the cart default has a box around each of those sections, and a brief word or two in the heading indicating what types of products are displaying in the area below.

I must have changed that, because there are NO borders or text captions...

...and now I can't seem to figure out what to do get the border and text back.

#WhatsNew, #featured , #specials, #AlsoPurch .centerBoxWrapper
	        {
		border-top: 1px solid #000000;
		padding: 0.2em;
		}

I added this to the stylesheet; it did not work, and further, if it had, would not have addressed the missing header name.

Any help would be great....((BTW, I DLed and installed the FireFox Web Developer Tool. Useful, but I'm still sort of unsure))

16 Feb 2009, 12:22 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Specials, New, Featured, Also Purchased Boxes - Heading & Border

Well! Where is your site???

Zen-Venom Get Bitten

17 Feb 2009, 1:20 AM
#3
donn avatar

donn

Zen Follower

Join Date:
Oct 2007
Posts:
241
Plugin Contributions:
0

Re: Specials, New, Featured, Also Purchased Boxes - Heading & Border

OK....I checked the default Stylesheet that comes with ZenCart 1.3.8A, and I found where I changed the information for the heading text.

on line 584 of my stylesheet:

h2.centerBoxHeading {
	font-size: 1.55em;
	color: #000000;
	}

I had set it to white during testing (#FFFFFF) and forgot about it.

The text was there, just the same color as the background.

As a design choice, I decided that I don't need the border-top after all, once I was able to see the heading text appear.