If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Problem w/Category Tabs

Problem w/Category Tabs

Locked

Started by landsknecht on 3 Sep 2006, 10:04 PM · Views: 2,567

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
3 Sep 2006, 10:04 PM
#1
landsknecht avatar

landsknecht

New Zenner

Join Date:
Jul 2005
Posts:
15
Plugin Contributions:
0

Problem w/Category Tabs

I'm trying to use the Category Tabs add-on by JollyJim. I've installed the add-on and done the CSS changes it calls for, my tabs display now. The problem is that now none of the rest of the site displays except the header! Any ideas here?

Thanks in advance,
Stephen

3 Sep 2006, 11:18 PM
#2
landsknecht avatar

landsknecht

New Zenner

Join Date:
Jul 2005
Posts:
15
Plugin Contributions:
0

Re: Problem w/Category Tabs

Ok, this is weird. I just noticed what's going on. It's not preventing the page from displaying, it's forcing the page to display a page width to the right. So the tabs are showing, and if you scroll to the right, the rest of the page is visible.

Getting stumped here.

5 Sep 2006, 2:22 AM
#3
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

Re: Problem w/Category Tabs

Hmm - that is weird. I tested this to death before submitting it and tried really hard to break it without success.

Have you uploaded all the files in the contribution exactly as instructed?

What web browser are you using?

Do you have any other add-ons installed?

Did you delete anything from your CSS file which are not related to the category tabs?

Have you accidentally deleted a , or ; from the css file by mistake?

It sounds css related to me - if so, Kuroi is the man for CSS help.

Jim

5 Sep 2006, 2:39 AM
#4
landsknecht avatar

landsknecht

New Zenner

Join Date:
Jul 2005
Posts:
15
Plugin Contributions:
0

Re: Problem w/Category Tabs

I've got a question then. What versions of Zen have you tested it against? My version is a couple minor revisions out of date I think, maybe that might be the issue? I'll try a clean install of the latest version as well as the version I'm running atm.

6 Sep 2006, 10:20 PM
#5
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

Re: Problem w/Category Tabs

This was only tested on the "then" latest version of Zencart 1.3.02

There are no changes to any core files as far as I can remember - mostly it is css so it follows the css is likely to be causing a problem. Possibly there is a duplicate style in your stylesheet which is not being over-ridden, or you have deleted something by mistake from your stylesheet or made some kind of typo.

Please keep me updated on your progress. If there are any bugs I would like to hear about it so they can be fixed.

JJ

26 Sep 2006, 12:00 PM
#6
dmservices avatar

dmservices

New Zenner

Join Date:
Feb 2006
Posts:
21
Plugin Contributions:
0

Re: Problem w/Category Tabs

Hi,

I have a similar issue i was hoping JollyJim in particular could look at.

https://www.klmtrophies.com

Using the same mod with my site space at 100% when you shrink page to past the last tab the rest of the site shifts to the right.

this doesnt happen in IE by the way, but does on firefox.

I assume it just requires a tweak of stylesheet_BetterCategoriesEzInfo but dunno where!

thanks

29 Sep 2006, 1:46 AM
#7
jollyjim avatar

jollyjim

Totally Zenned

Join Date:
May 2005
Location:
Cheshire, UK
Posts:
401
Plugin Contributions:
2

Re: Problem w/Category Tabs

I cannot reproduce this error using 1.3.2 so either you are using an older version of zencart or the newer 1.3.5 version of zencart.

If it is the newer 1.3.5 version you will need to use winmerge on the files and see if there are any differences. Finding differences in the CSS is a bit more tricky because I created a standalone css file which was much easier to track any changes and maintain. Unfortunately I currently don't have time to set up 1.3.5 and test the contrib for errors because I am rather booked up and have a backlog of work to clear.

I will put it on my growing list of things to do. Please let me know if you track any problems. You may also want to PM Kuroi who is absolutely brilliant with CSS and who may/may not have some time available to offer advice.

Keep me informed please

JJ

29 Sep 2006, 8:57 AM
#8
dmservices avatar

dmservices

New Zenner

Join Date:
Feb 2006
Posts:
21
Plugin Contributions:
0

Re: Problem w/Category Tabs

Thanks for that JollyJim, yes I am using 1.3.5 and still not finished the basics! Will attempt to look at winmerge (never used before though) & also hopefully get Kuroi involved

Dan

29 Sep 2006, 11:27 AM
#9
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: Problem w/Category Tabs

when playing with this problem in firefox I found that in editing the html for the page if I inserted a "<br class="clearBoth">" at the end of the code for the display of the cat tabs it clears up the problem. I haven't used the mod so I don't know where in its code this would need to inserted but it might point you in the right direction.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

1 Oct 2006, 12:08 AM
#10
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Problem w/Category Tabs

I've taken a quick look at the KLM Trophies site and here are a few quick thoughts ...

... to avoid the site being pushed to the right: braco57's suggestion is along the right lines, but rather than changing code, I'd recommend adding clear:both to the styling for #contentMainWrapper.

(At first glance your setup up appears slightly different to the case against which JollyJim will have tested this add-on as you have an additional div with class .navBottom inserted between the tabs and the main content)

... to get rid of the whitespace below the tabs in Internet Explorer, find > #navMain ul, #navSupp ul, #navCatTabs ul {

margin: 0;
padding: 0.5em 0em;
list-style-type: none;
text-align: center;

}and below it add> #navCatTabs ul {
padding-bottom:0;
}
... to avoid potential problems later with your credit card acceptance box, consider replacing it with the Zen Cart 1.3 compliant version in the downloads (or just mentally note this in case you have porblems later).

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

1 Oct 2006, 12:25 AM
#11
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Problem w/Category Tabs

In fact better still for the second point above, would be to remove all references to navCatTabs from your stylesheet.css as these are over-riding the settings in your stylesheet.categorytabs.css.

You can them more easily control the height and width of tabs by simply adjusting the padding settings for #navCatTabs li and #navCatTabs a.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

1 Oct 2006, 12:27 AM
#12
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: Problem w/Category Tabs

I knew that clearboth had to go somewhere, thanks Kuroi for the clarification. Good to know somebodies got my back:cool:

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

1 Oct 2006, 2:21 PM
#13
dmservices avatar

dmservices

New Zenner

Join Date:
Feb 2006
Posts:
21
Plugin Contributions:
0

Re: Problem w/Category Tabs

Thankyou very much to Kuroi and barco57, I really appreciate your time and efforts on this, will get straight onto the changes tomorrow when im in work mode!

Dan

3 Oct 2006, 11:08 AM
#14
dmservices avatar

dmservices

New Zenner

Join Date:
Feb 2006
Posts:
21
Plugin Contributions:
0

Re: Problem w/Category Tabs

Just to let everyone know that the code changes from Kuroi worked fine for all the issues!!

thanks again