Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] Problem with class="clearfix rMenu-hor rMenu" (http://forum.bytesforall.com/showthread.php?t=10813)

Talia Oct 29, 2010 07:27 AM

[SOLVED] Problem with class="clearfix rMenu-hor rMenu"
 
Hello, Double Hello, it's my first post! :)

My config: WP 3.0.1 and Atahualpa 3.5.3

My site: http://www2.nt-entreprises.com

My problem:
The second menu has a margin-left: -1px automatically set. (1px is not very visible so you can easly see it, selecting the entire header with your mouse.)
I don't know where I can control that.
For me, the two menus are build with the same method.
It does'nt depend on what menu is the second.

When I look in the code page, I don't see the difference between the two menu! (But I can see it with firebug:
I have style="visibility: visible; display: block; overflow: visible; height: auto; margin-left: -1px;"
From where does that come???

Thank you for support!

lmilesw Oct 29, 2010 08:05 AM

First of all THANK YOU for your very complete post and welcome.

If you look in ATO>Add HTML/CSS I nserts>CSS Inserts you MAY see the following to explain this.

/* Adjustments for the menu bars, which in their default
state have 1px borders plus -1px margins to avoid 1+1=2px
borders between neighbor items. */

You could compensate with CSS but how about using the %bar1 or %bar2 for the green line if you are just using the menu for color?

Talia Oct 29, 2010 09:00 AM

Thanks for the answer of the first part of my question.
Now I know where to change le margin-left!

But, you can see that my problem still alive!

I explain:
You can see 1px different between the two menu. The second is one pixel more on the left.

(The two bars doesn't matter.)

juggledad Oct 29, 2010 10:55 AM

Try shutting off the 'Animate Page Menu Bar' option

lmilesw Oct 29, 2010 12:43 PM

You could also try adding the following to ATO>Add HTML/CSS Inserts>CSS Inserts
HTML Code:

ul#rmenu {margin-left:1px !important;}

Talia Oct 29, 2010 01:35 PM

I don't know why but the HTML code down resolved my problem: (replacing 1px by 0px)
HTML Code:

ul#rmenu {margin-left:0px !important;}
:)
Thank you for your support!

RESOLVED!


All times are GMT -6. The time now is 11:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.