Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Get rid of Back button

Get rid of Back button

Locked

Views: 1,739

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
31 Aug 2007, 9:55 PM
#1
bekahruth avatar

bekahruth

Zen Follower

Join Date:
Feb 2007
Posts:
101
Plugin Contributions:
0

Get rid of Back button

How do I get rid of the "back" button on the information pages (about us page, shipping info, page_2, etc.)

Example: http://www.tehome.net/shop/index.php?main_page=about_us

31 Aug 2007, 10:32 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Get rid of Back button

Add to your stylesheet

#aboutUsMainContent .buttonRow {display: none;}

Repeat as required for others.

1 Sep 2007, 7:32 PM
#3
bekahruth avatar

bekahruth

Zen Follower

Join Date:
Feb 2007
Posts:
101
Plugin Contributions:
0

Re: Get rid of Back button

Okay, I did what you said, and it worked for the About Us page, but not the others. Here's what I put in the stylesheet:

#aboutUsMainContent .buttonRow {display: none;}
#pageThreeMainContent .buttonRow {display: none;}
#shippingInfoMainContent .buttonRow {display: none;}
#pageTwoMainContent .buttonRow {display: none;}
#pageFourMainContent .buttonRow {display: none;}
#conditionsMainContent .buttonRow {display: none;}

What did I do wrong?

2 Sep 2007, 8:19 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Get rid of Back button

The others are probably not named like #pageThreeMainContent; you need to see what the actual id is for each page. You can do this in view source, or you can download the Firefox Web Developer extension and find lots of information with that.

2 Sep 2007, 10:24 PM
#5
bekahruth avatar

bekahruth

Zen Follower

Join Date:
Feb 2007
Posts:
101
Plugin Contributions:
0

Re: Get rid of Back button

I did get the names using view source.