Forums / Templates, Stylesheets, Page Layout / Removing category links from top of page

Removing category links from top of page

Started by eddy_r3 on 29 Sep 2011, 8:56 AM · Views: 1,833

Results 1 to 20 of 22
29 Sep 2011, 8:56 AM
#1
eddy_r3 avatar

eddy_r3

New Zenner

Join Date:
Sep 2011
Posts:
58
Plugin Contributions:
0

Removing category links from top of page

Hey guys, any ideas on how to remove the category links from the top of the page, i thought it was the Breadcrumb trail, but its not. Please see image for reference of what i want to remove! :)

Many thanks

29 Sep 2011, 9:02 AM
#2
petlife avatar

petlife

New Zenner

Join Date:
Jun 2010
Location:
Denmark
Posts:
62
Plugin Contributions:
0

Re: Removing category links from top of page

a Link to the site would help a lot, then its a lot easy to give you the correct answer :clap:

Morten Andersen
Petlife
Web: http://www.Petlife.dk

29 Sep 2011, 9:05 AM
#3
eddy_r3 avatar

eddy_r3

New Zenner

Join Date:
Sep 2011
Posts:
58
Plugin Contributions:
0

Re: Removing category links from top of page

No problem, didnt know it was needed! :)

http://bubleeboutique.com/shop/

29 Sep 2011, 9:12 AM
#4
petlife avatar

petlife

New Zenner

Join Date:
Jun 2010
Location:
Denmark
Posts:
62
Plugin Contributions:
0

Re: Removing category links from top of page

you can remove, if you add this line i stylesheet.php :

.category-top, .category-links {
    background-image: url("../images/point.gif");
    background-position: left center;
    background-repeat: no-repeat;
    visibility: hidden;

but you will need to find a way to get you customer from you front page to the page were the category side box is.

Morten Andersen
Petlife
Web: http://www.Petlife.dk

29 Sep 2011, 9:13 AM
#5
eddy_r3 avatar

eddy_r3

New Zenner

Join Date:
Sep 2011
Posts:
58
Plugin Contributions:
0

Re: Removing category links from top of page

Is there anyway of removing just from the main pages and leave it on the home page?

29 Sep 2011, 9:24 AM
#6
petlife avatar

petlife

New Zenner

Join Date:
Jun 2010
Location:
Denmark
Posts:
62
Plugin Contributions:
0

Re: Removing category links from top of page

i think that calls for a lot of coding, but i think there is and esay way around.

create at Ez-page and name it "Go shopping" (just a suggestion)

set the settings like this:
Open New Window:no
Header:yes
Sidebox:no
Footer:no
Chapter: no

then set its Internal Link URL to :index.php?main_page=index&cPath=2

save it. that might do the tick, try it an let us see what it looks like

Morten Andersen
Petlife
Web: http://www.Petlife.dk

29 Sep 2011, 9:32 AM
#7
petlife avatar

petlife

New Zenner

Join Date:
Jun 2010
Location:
Denmark
Posts:
62
Plugin Contributions:
0

Re: Removing category links from top of page

I just came op with another solution. Make the main picture a link to index.php?main_page=index&cPath=2

that might seems more i treed with the design??

Morten Andersen
Petlife
Web: http://www.Petlife.dk

29 Sep 2011, 11:01 AM
#8
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

Re: Removing category links from top of page

Hi,

Correct me if I'm wrong Marten but the code suggested will also hide the following from the categories sidebox: Clothes-> (leaving the count of 1), Accessories->, Footwear->, New Products and All Products.

I suggest the following in the stylesheet.css:

#navCatTabs {
    visibility: hidden;
    }

To reverse the effect in the Home page only as requested, the following code in a new css file named index_home.css will do the trick (the index_home.css is executed only when the home page is loaded).

#navCatTabs {
    visibility: visible;
    }

I hope this helps.

30 Sep 2011, 7:22 AM
#9
eddy_r3 avatar

eddy_r3

New Zenner

Join Date:
Sep 2011
Posts:
58
Plugin Contributions:
0

Re: Removing category links from top of page

Hey guys thanks very much for the tips and code! :) Ended up keeping it as it was anyway! waste of time lol

Wandering if you could help me with another project.

The link: http://testing.newdirectionmedia.co.uk/s4w/cart/index.php?main_page=product_info&cPath=1&products_id=9

The attributes (checkboxes) what file controls the layout for this page? I want to drop the 'add to cart' button below the attributes, any ideas?

Many thanks in advance

Eddy

30 Sep 2011, 1:43 PM
#10
petlife avatar

petlife

New Zenner

Join Date:
Jun 2010
Location:
Denmark
Posts:
62
Plugin Contributions:
0

Re: Removing category links from top of page

if it was me I would change this in the stylesheet_new.css

#cartAdd {
    float: left; change this to right

that makes the "ad to cart" go to the right side an that if you ask me look nice

Morten Andersen
Petlife
Web: http://www.Petlife.dk

1 Oct 2011, 8:23 AM
#11
eddy_r3 avatar

eddy_r3

New Zenner

Join Date:
Sep 2011
Posts:
58
Plugin Contributions:
0

Re: Removing category links from top of page

Great stuff, that worked a treat! :)

But if you take a look now http://testing.newdirectionmedia.co.uk/s4w/cart/index.php?main_page=product_info&cPath=1&products_id=9

the attributes are a bit too far apart, how would i draw those closer together and make them level? Sorry to be a pain and i really appreciate the help guys! :)

Many thanks

1 Oct 2011, 6:34 PM
#12
petlife avatar

petlife

New Zenner

Join Date:
Jun 2010
Location:
Denmark
Posts:
62
Plugin Contributions:
0

Re: Removing category links from top of page

change this in the stylesheet:

from:

.wrapperAttribsOptions {
    margin-bottom: 0.3em;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.3em;

to:

.wrapperAttribsOptions {
    margin-bottom: -18px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1px;

Morten Andersen
Petlife
Web: http://www.Petlife.dk

1 Oct 2011, 8:54 PM
#13
eddy_r3 avatar

eddy_r3

New Zenner

Join Date:
Sep 2011
Posts:
58
Plugin Contributions:
0

Re: Removing category links from top of page

You guys are the best! :D Thankyou VERY much for all your help and suggestions, worked perfectly!

THANKYOU!:clap:

5 Oct 2011, 11:51 AM
#14
eddy_r3 avatar

eddy_r3

New Zenner

Join Date:
Sep 2011
Posts:
58
Plugin Contributions:
0

Re: Removing category links from top of page

Hey guys got another issue i could do with some help with! :) If you dont mind..

http://bubleeboutique.com/shop/index.php?main_page=index&cPath=2

That page shows no products etc, is there a way of showing the products from all sub categories on that page? It looks a bit bare! :)

Many thanks in advance!

5 Oct 2011, 1:13 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Removing category links from top of page

Did you try adding any Products within that Category of subcategories so that there is something to show? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Oct 2011, 1:42 PM
#16
gjh42 avatar

gjh42

Black Belt

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

Re: Removing category links from top of page

Perhaps use Configuration > Index Listing > Show Featured Products on Main Page - Category with SubCategories? (You need featured products in the category's subs for this to show anything.) There are several options like this, maybe just use
Show New Products on Main Page - Category with SubCategories.

5 Oct 2011, 1:48 PM
#17
gjh42 avatar

gjh42

Black Belt

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

Re: Removing category links from top of page

By the way, the best answer to the OP's question> Hey guys, any ideas on how to remove the category links from the top of the page, i thought it was the Breadcrumb trail, but its not.is to turn off Categories-Tabs in Configuration > Layout Settings > Categories-Tabs Menu ON/OFF.

5 Oct 2011, 2:16 PM
#18
eddy_r3 avatar

eddy_r3

New Zenner

Join Date:
Sep 2011
Posts:
58
Plugin Contributions:
0

Re: Removing category links from top of page

Hey guys thanks for the replies! :) much appreciated.

I have tried various settings with no luck, and the client does not want to list featured products, just all products in the categegories.

http://bubleeboutique.com/shop/index.php?main_page=index&cPath=4

That has items in, but does not show them on the main category page :(

Thanks again

Eddy :D

5 Oct 2011, 2:21 PM
#19
gjh42 avatar

gjh42

Black Belt

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

Re: Removing category links from top of page

Then use the "new products" centerbox for that page, as mentioned in post 16. You can set what is considered "new" to "everything", and you can change the text of the centerbox heading if you like.

5 Oct 2011, 2:42 PM
#20
gjh42 avatar

gjh42

Black Belt

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

Re: Removing category links from top of page

I notice that you don't even have the subcategories showing on the top category page. What do you have for Configuration > Product Listing > Show SubCategories on Main Page while navigating?