If this is your first visit, check our documentation. To post, register or login.

CSS Flyout padding

Locked

Started by fogie on 7 Jun 2006, 3:54 PM · Views: 5,121

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
7 Jun 2006, 3:54 PM
#1
fogie avatar

fogie

New Zenner

Join Date:
May 2006
Posts:
26
Plugin Contributions:
0

Post #1 by fogie

I have installed the CSS Flyout add-on and it works very well with my test pages thus far. I also created a custom template based on Future_Zen and have adjusted and tweeked padding and/or margin settings where necessary for my sideboxes.

However, I am having a difficult time figuring out for myself or finding a pertinent thread in the forums to adjust the categories/flyout sidebox so that the menu does not overlap my footer graphic. For a demonstration of the problem, go to http://bikerbatteries.com/catalog/ and you can see what I mean in the left column.

Any help would be greatly appreciated and I want to say that these forums have been a godsend during my first venture into the ZC world. I have become a LARGE fan of the cart as well as the informative and helpful folks here. Hopefully I can become versed enough to contribute myself in the near future.

Thanks again!

7 Jun 2006, 4:10 PM
#2
bmac avatar

bmac

New Zenner

Join Date:
Jun 2006
Location:
Lisboa - Portugal
Posts:
16
Plugin Contributions:
0

Post #2 by bmac

Hi,
try to put the following in your css, in the definition of the div id categoriescss:
#categoriescss {
....
clear: both;
}

Brunnelli

7 Jun 2006, 4:49 PM
#3
fogie avatar

fogie

New Zenner

Join Date:
May 2006
Posts:
26
Plugin Contributions:
0

Post #3 by fogie

Thanks for the VERY quick response. However, after an extensive search of the source code for my entire catalog with no luck in finding "div id categoriescss" or even just "categoriescss", I'm afariad I must ask for clarification for the Zen-impaired.

(Tell me, the newbie trance that I'm in begin to fade soon?)

7 Jun 2006, 4:58 PM
#4
bmac avatar

bmac

New Zenner

Join Date:
Jun 2006
Location:
Lisboa - Portugal
Posts:
16
Plugin Contributions:
0

Post #4 by bmac

look for it in stylesheet.css in your template directory (includes/templates/YOUR_TEMPLATE/css/stylesheet.css)
If it isn't there, add the following lines

#categoriescss {
clear: both;
display: block;
}

Brunnelli

7 Jun 2006, 5:11 PM
#5
fogie avatar

fogie

New Zenner

Join Date:
May 2006
Posts:
26
Plugin Contributions:
0

Post #5 by fogie

Thanks again for the reply. But, alas, twas to no avail.

I have no idea what bearing this has ir if it might help you solve my dilemma, but when I turn on the "search_header.php" from the layout boxes controller, it solves the spacing issue.

7 Jun 2006, 5:19 PM
#6
bmac avatar

bmac

New Zenner

Join Date:
Jun 2006
Location:
Lisboa - Portugal
Posts:
16
Plugin Contributions:
0

Post #6 by bmac

Not in FireFox & Opera ... !
The problem continues...

Brunnelli

7 Jun 2006, 5:25 PM
#7
bmac avatar

bmac

New Zenner

Join Date:
Jun 2006
Location:
Lisboa - Portugal
Posts:
16
Plugin Contributions:
0

Post #7 by bmac

Try to validate your code throught w3c. It will show you your HTML errors and warnings...
http://validator.w3.org/

Brunnelli

7 Jun 2006, 5:38 PM
#8
fogie avatar

fogie

New Zenner

Join Date:
May 2006
Posts:
26
Plugin Contributions:
0

Post #8 by fogie

Sorry, my brother, I turned the search header back off before my last post... it is back on now if you want to look again.

I submitted to w3c and all was just hunkie-dorie. I guess the search header doesn't look too bad but I wanted to keep the full search box on the right and would be a tad redundant.

7 Jun 2006, 5:50 PM
#9
bmac avatar

bmac

New Zenner

Join Date:
Jun 2006
Location:
Lisboa - Portugal
Posts:
16
Plugin Contributions:
0

Post #9 by bmac

Yes, redundant indeed.
Try to insert the code I gave you, it will resolve your problem in case you want to remove the search again.

Brunnelli

7 Jun 2006, 6:23 PM
#10
fogie avatar

fogie

New Zenner

Join Date:
May 2006
Posts:
26
Plugin Contributions:
0

Post #10 by fogie

Sorry for taking up your time on what was, as it turns out, a simple fix... simply removing the float tag from the css took care of my issue.

Thanks again for everyhting!

7 Jun 2006, 6:46 PM
#11
bmac avatar

bmac

New Zenner

Join Date:
Jun 2006
Location:
Lisboa - Portugal
Posts:
16
Plugin Contributions:
0

Post #11 by bmac

You can leave the *float *tag if it is needed as long as you put the clear both in the same class or id

Brunnelli