Zen Cart Logo
Forums / Basic Configuration / Banner & Sidebox questions...

Banner & Sidebox questions...

Locked

Views: 2,830

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
28 Oct 2006, 6:09 PM
#1
alsmonarch avatar

alsmonarch

New Zenner

Join Date:
Oct 2006
Location:
Maine
Posts:
51
Plugin Contributions:
0

Banner & Sidebox questions...

Hello,

I unkowningly made a change today (I think to the stylesheet) and it centered the contents of the shopping cart in the sidebox. Those items in the cart used to be left justified. (Really, I'd rather just get rid of the 'per item' display and have the cart just show total items and price). Please help.

Also, how do I delete the whitespace under my logo?

Thanks!

Amy

28 Oct 2006, 7:24 PM
#2
pivey avatar

pivey

Zen Follower

Join Date:
Mar 2006
Posts:
192
Plugin Contributions:
0

Re: Banner & Sidebox questions...

did you made changes to ".cartNewItem" & ".cartOldItem" in your stylesheet?
Check them to be position: relative;

Regarding whitespace:
Find in \includes\templates\template_default\common\tpl_header.php

<div id="logoWrapper">

at the end of the logo wrapper section (last </div>) you have a
<br class="clearBoth" />
Remove that

30 Oct 2006, 4:36 PM
#3
alsmonarch avatar

alsmonarch

New Zenner

Join Date:
Oct 2006
Location:
Maine
Posts:
51
Plugin Contributions:
0

Re: Banner & Sidebox questions...

Hi pivey,

Thanks! I got rid of the whitespace, but didn't figure out my shopping cart problem. I hadn't made any changes to the .cartNewItem" & ".cartOldItem items in my stylesheet. Any other suggestions?

Thanks again!

Amy

30 Oct 2006, 8:27 PM
#5
pivey avatar

pivey

Zen Follower

Join Date:
Mar 2006
Posts:
192
Plugin Contributions:
0

Re: Banner & Sidebox questions...

Hi Amy,

It is your Tagline wrapper.

your tagline id is defined as
tagline I {
VISIBILITY: hidden
}

You may comment out the Tagline Wrapper section if not needed.
What version of ZC are you using?

30 Oct 2006, 8:38 PM
#6
alsmonarch avatar

alsmonarch

New Zenner

Join Date:
Oct 2006
Location:
Maine
Posts:
51
Plugin Contributions:
0

Re: Banner & Sidebox questions...

Hi Pivey,

I'm using v.1.3.5

I found this line in my stylesheet
#tagline i{visibility:hidden}
However, if I comment-out it puts the 'my account, shopping cart and contact us' up where my logo is (overlapping it).

1 Nov 2006, 8:25 PM
#7
alsmonarch avatar

alsmonarch

New Zenner

Join Date:
Oct 2006
Location:
Maine
Posts:
51
Plugin Contributions:
0

Re: Banner & Sidebox questions...

Ok, I played around some more in the stylesheet and I got it so both IE and Firefox are displaying the same thing. I'm glad it's finally consistent, but it's not the setting I had hoped for. :wacko:

Now I have a large whitespace under my logo in both. How should I ajdust it?

http://www.theoccasionalcake.com/Cart/

Thanks!!!

Amy

1 Nov 2006, 9:50 PM
#8
pivey avatar

pivey

Zen Follower

Join Date:
Mar 2006
Posts:
192
Plugin Contributions:
0

Re: Banner & Sidebox questions...

Amy,

you made changes in your tpl_header.php
There are links inside the tagline wrapper you are obviously not using.
These are causing your white space.
To see why this happens try:
tagline I {
/VISIBILITY: hidden/
}

You will see that you have content inside the tagline wrapper which belong to the navMainWrapper

1 Nov 2006, 10:08 PM
#9
alsmonarch avatar

alsmonarch

New Zenner

Join Date:
Oct 2006
Location:
Maine
Posts:
51
Plugin Contributions:
0

Re: Banner & Sidebox questions...

Yes,

There is text there. It's
- *Shopping Cart*

  • *Contact Us*
  • *My Account*In my SS I put " a{ display: none}" after #navMain so it wouldn't show the text. I guess I really hacked it up. Is there a fix?

Thanks

1 Nov 2006, 10:52 PM
#10
pivey avatar

pivey

Zen Follower

Join Date:
Mar 2006
Posts:
192
Plugin Contributions:
0

Re: Banner & Sidebox questions...

Yes, it can be fixed...
Amy, try to use the stylesheet to positionig elements instead of repositioning wrappers.
You made to much changes and even missed to close wrappers properly.

For now, I would completely remove the <DIV id=taglineWrapper> section until there, where it ends.
Of course using the override folder.

Then, use your default tpl_header.php to build your header section again from scratch.
Here are some useful liks to start learnig css:
http://www.yourhtmlsource.com/stylesheets/
http://www.freestuff.gr/forums/viewtopic.php?t=21390
http://www.w3.org/Style/Examples/007/

It's all about magic :wink2:

2 Nov 2006, 1:38 AM
#11
alsmonarch avatar

alsmonarch

New Zenner

Join Date:
Oct 2006
Location:
Maine
Posts:
51
Plugin Contributions:
0

Re: Banner & Sidebox questions...

Hi Pivey!

Ok, I re-uploaded the original stylesheet and tp_header and just started from the beginning. It wasn't quite a painful as I expected :P Things are looking better. I didn't do any crazy hacking in the stylesheet. But I do have two more (hopefully easy) questions. Where do I go to increase the height of the header space across the very top of the page (up where I have a string of six images--it's only showing half of the pics). Also, how the heck do I center my logo?

Thanks for all your help, and for posting the 'help' links. I'm making my way through them...

Amy
http://www.theoccasionalcake.com/Cart/

2 Nov 2006, 10:00 AM
#12
pivey avatar

pivey

Zen Follower

Join Date:
Mar 2006
Posts:
192
Plugin Contributions:
0

Re: Banner & Sidebox questions...

Hi Amy

  1. The pics are one defined as a background to navMainWrapper, right?
    Change
    #navMainWrapper {
    BACKGROUND: url(../images/header_bg.gif) repeat-x; MARGIN-BOTTOM: 5px; BORDER-BOTTOM: #666666 1px solid;
    }
    TO
#navMainWrapper {
	BACKGROUND: url(../images/header_bg.gif) repeat-x; MARGIN-BOTTOM: 5px; BORDER-BOTTOM: #666666 1px solid; line-height:150px
}

Change line-height:150px to your background image height.

  1. Find in SSheet
    #logo {
    WIDTH: 404px
    }
    Remove it...this disables your logo width to expand and align into the center.

Also....disable in SSheet all your defines regarding #tagline.
The end result should be that:

  • Logo is aligned center
  • Logo section is in height of your logo, removing the white space under the logo as well
    Hope this helps
2 Nov 2006, 4:24 PM
#13
alsmonarch avatar

alsmonarch

New Zenner

Join Date:
Oct 2006
Location:
Maine
Posts:
51
Plugin Contributions:
0

Re: Banner & Sidebox questions...

Pivey, you are a genius. YOU ROCK! Thank you so much, I didn't think I would ever get my page to look the way I wanted!

:D Amy