Forums / Templates, Stylesheets, Page Layout / New Products display Issue

New Products display Issue

Locked

Started by joshlfisher on 19 Jan 2007, 6:06 PM · Views: 3,679

Results 1 to 20 of 29
This thread is locked. New replies are disabled.
19 Jan 2007, 6:06 PM
#1
joshlfisher avatar

joshlfisher

New Zenner

Join Date:
Jul 2006
Posts:
93
Plugin Contributions:
0

New Products display Issue

As per Ajeh's suggestion, I am posting this in hopes that a nice style-guru can help.
On my site https://www.throughmylensphotography.com/store I have a New Products box in the content. The problem is that it doesn't display the items an nice orderly rows. one row may only list one product, then the next row lists 4. I just want them to line up without blank spaces.

26 Jan 2007, 5:29 AM
#2
dusky avatar

dusky

New Zenner

Join Date:
Feb 2006
Location:
Perth Western Australia
Posts:
49
Plugin Contributions:
0

Re: New Products display Issue

Hi -- I have a New Products display issue also. Although I found a closer match to my problem here:
http://www.zen-cart.com/forum/showthread.php?t=26776&highlight=unwanted+images
The above however is an old thread that has been closed off and doesn't pertain to 1.3.7.
1.3.7 doesn't have the file "main_template_vars_images_additional" to check.

To cut a longer story short, I'd appreciate any assistance to be able to remove the vertical line of images I have just above the 'New Products' and below the final line of my text.

I'm still editing a client's site and am not live - but here is the offending page to help with clarity.
http://ghphosting.com/eestore/index.php?main_page=index&cPath=1

I'm sure its something simple... as usual... but my brain won't tell me what it is.

Many thanks in advance - and thanks for the light you are always so fantastic at shedding on our problems.

Regards
Dusky.

26 Jan 2007, 5:34 AM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,717
Plugin Contributions:
0

Re: New Products display Issue

Zen Cart uses an automatic system to add the "Additional Product Images". Thos images show because you have them named similarly to the main product on that page. For more information on image naming conventions, try a search for calicocat*

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

26 Jan 2007, 5:37 AM
#4
dusky avatar

dusky

New Zenner

Join Date:
Feb 2006
Location:
Perth Western Australia
Posts:
49
Plugin Contributions:
0

Re: New Products display Issue

Thanks for the quick response Kim -- I'll look into it.

Dusky. x

26 Jan 2007, 5:44 AM
#5
dusky avatar

dusky

New Zenner

Join Date:
Feb 2006
Location:
Perth Western Australia
Posts:
49
Plugin Contributions:
0

Re: New Products display Issue

Okay.. I see how that may be the case for someone.

I tried renaming the images, but the only thing that happened was that the images were replaced by blank squares on the same page. The placement of the images still remained whether it could read the image names or not.

Could there be something in the tpl_product_info_display.php that could be creating this scenario?

Or am I thicker than two short planks? :)
Over...

--- oh... to add..
The third image in the vertical line is named 'image(1).jpg' and has been from the onset... so I'm thinking the 'calicocat' theory may not apply?

26 Jan 2007, 5:55 AM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,717
Plugin Contributions:
0

Re: New Products display Issue

My apologies for not paying proper attention to the page I was looking at. The page you posted is the SubCategories display and those images are the subcategories associated with the category you are in.

They should be displaying across the page not in a single line - they should be floated left.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

26 Jan 2007, 5:58 AM
#7
dusky avatar

dusky

New Zenner

Join Date:
Feb 2006
Location:
Perth Western Australia
Posts:
49
Plugin Contributions:
0

Re: New Products display Issue

Ok... sorry for the lack of complete Zen, but where would I go to change this?

And mostly -- I didn't really need those images there at all, so can they be removed and where would I go again?

26 Jan 2007, 6:25 AM
#8
dusky avatar

dusky

New Zenner

Join Date:
Feb 2006
Location:
Perth Western Australia
Posts:
49
Plugin Contributions:
0

Re: New Products display Issue

Kim:

My apologies for not paying proper attention to the page I was looking at. The page you posted is the SubCategories display and those images are the subcategories associated with the category you are in.

They should be displaying across the page not in a single line - they should be floated left.

Am I assuming that this is a bug? I haven't handled any of the SubCategory files manually, and I haven't 'Add include SubCategories' etc in the setup of the items...
I haven't been able to locate anywhere to edit anything [ie 'float: left'] for SubCategories using the Developers Toolkit...

Where can I go please Kim?

Stumped downunder :)

26 Jan 2007, 8:14 AM
#9
dusky avatar

dusky

New Zenner

Join Date:
Feb 2006
Location:
Perth Western Australia
Posts:
49
Plugin Contributions:
0

Re: New Products display Issue

Are you seeking a resolution? You've disappeared Kim.

26 Jan 2007, 11:15 AM
#10
dusky avatar

dusky

New Zenner

Join Date:
Feb 2006
Location:
Perth Western Australia
Posts:
49
Plugin Contributions:
0

Re: New Products display Issue

Okay Kim... no I was seeking resolution. :)

So... there wasn't the word 'SubCategories' to find.
Anyhow... the work is in the stylesheet for anyone who comes across this.
(I know I'm must sound mind-numbingly boring)


{
#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
}


It straightened the images out from being horizontally aligned one on top of the other, to vertically aligned. I still don't want them on the page because they are unnecessary, but at least it doesn't look as bad as it did.

Peace,
Dusky.

26 Jan 2007, 12:36 PM
#12
dusky avatar

dusky

New Zenner

Join Date:
Feb 2006
Location:
Perth Western Australia
Posts:
49
Plugin Contributions:
0

Re: New Products display Issue

Hey Josh...

I notice that if you go to any of your products links that when you come back to the page with the New Products featured, that the images change.
You have some kind of mod installed I imagine?

Could your issue lie in the coding for the mod?
and/or could it be interfering with the layout?

26 Jan 2007, 12:54 PM
#14
dusky avatar

dusky

New Zenner

Join Date:
Feb 2006
Location:
Perth Western Australia
Posts:
49
Plugin Contributions:
0

Re: New Products display Issue

Right.

What happens if you resize the pages back to normal size instead of having everything at virtual 100% not to mention the oversized text. It look kind of funky ;) -- but it could be throwing your pages out.

You know I'm guessing while I keep you company until someone who knows what they're talking about wanders by, right? :)

26 Jan 2007, 1:39 PM
#17
dusky avatar

dusky

New Zenner

Join Date:
Feb 2006
Location:
Perth Western Australia
Posts:
49
Plugin Contributions:
0

Re: New Products display Issue

It looks like you have your site set to at least 80-90% of the width of the page rather than the original setting of 750px (mind you I've set mine to 800 px to be inline with the majority of users computer screens).
I just wondered if having the width set to 'wider' is pulling the divs around the New Products area out of shape (forgive my technical terminology or lack there of)... if having it wider allows the images to float randomly within the div rather than lock them in to place within the div...
Don't know if I'm making sense but hope you get what I mean.

**stops before she confuses further. :)

26 Jan 2007, 2:05 PM
#20
dusky avatar

dusky

New Zenner

Join Date:
Feb 2006
Location:
Perth Western Australia
Posts:
49
Plugin Contributions:
0

Re: New Products display Issue

I had a sort of similar issue and found that separating the #mainWrapper from the others seemed to help my issue -- I can only guide you to there for a start.

This is how I ended up just to give you an indication:

#mainWrapper {
background-color: transparent;
text-align: left;
width: 800px;
height: 130px;
vertical-align: top;
border: 0px solid #996666;
}

#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
background-color: #Ffffff;

Perhaps you can mess around with something similar and see how you go.