Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Image placement box in upper left corner of header

Image placement box in upper left corner of header

Locked

Views: 2,467

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
18 Jul 2009, 5:48 PM
#1
martin_smith avatar

martin_smith

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

Image placement box in upper left corner of header

I am using v 1.38.....on linux server.
I have everything about done to my clients satisfaction.....but now have a image placement box in the upper left corner of the logo header with a red x in it.

I know this question has been ask many times on the forum....I have tried many of the suggestions to no avail. Red x is still there.

How can I get rid of it ? also has link to the shopping cart.

https://www.centraltrailer.com/cart

Thanks,
Martin

18 Jul 2009, 6:18 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Image placement box in upper left corner of header

In the stylesheet - add display:none; to #logo

18 Jul 2009, 6:43 PM
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Image placement box in upper left corner of header

Martin, you have set yourself up for failure. By using the Classic Template as your own, you will lose everything when you do an upgrade. Every 'classic' dir. will be overwritten and all your work... gone.

Best to create you own Template and use the overrides system. Use the FAQ section if not sure how to do that.

20 Jul 2009, 6:11 PM
#4
martin_smith avatar

martin_smith

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

Re: Image placement box in upper left corner of header

I have already added "In the stylesheet - add display:none; to #logo" and it does nothing.

Thanks,
Martin

20 Jul 2009, 6:43 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Image placement box in upper left corner of header

Try #logo rather than #Logo. Sometimes case makes a difference.

22 Jul 2009, 7:41 PM
#6
russellmcox avatar

russellmcox

New Zenner

Join Date:
Jun 2009
Posts:
20
Plugin Contributions:
0

Re: Image placement box in upper left corner of header

Zencart 1.3.8 / linux

I'm having the same problem.
I want to eliminate the logo from appearing at all.
I have created the over-ride directory and populated it with "stylesheet.css".

I am new to css, so a little unsure of what to do.
Am I modifying a line of code...
Or adding a line of code?

If I'm modifying, can you give me a "before & after"...
If I'm adding, can you give me the precise code to add?

Is Now = xxxxxxx
Shud be = yyyyyyy

or

Add this = zzzzzzzz

22 Jul 2009, 9:50 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Image placement box in upper left corner of header

Can't be sure without a link to your site, but in a stock Zencart installation, you'll have this statement in stylesheet.css:

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

Remove the #logo, (don't forget to remove the comma)

Then add this underneath:

#logo {display:none;} (no comma)

What the designers did in the first statement was combine elements that all need the float:left; attribute, to make the stylesheet smaller. What you did was remove the #logo id, and set it up in its own statement so you could make it disappear without affecting the others.

23 Jul 2009, 3:42 PM
#8
russellmcox avatar

russellmcox

New Zenner

Join Date:
Jun 2009
Posts:
20
Plugin Contributions:
0

Re: Image placement box in upper left corner of header

Worked as advertised...

Thank You for your help!

The caliber and responsiveness on this forum has been very good.
I want you all to know I appreciate it and will return the favor to other newbies as I gain experience.

24 Jul 2009, 2:24 AM
#9
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Image placement box in upper left corner of header

Yep - Thanks from me:clap: too!