Border color

More
13 years 3 months ago #12669 by stephanR
Border color was created by stephanR
Hi,

in my horizontal MaxiMenu I want to have the bottom border of the hover main link in the color of the dropdown background. I tried with z-index and border styles, but it doesn't work. In the attached file you can see the menu.

Any way to get the bottom border in white?

Thanks, Stephan


Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #12674 by ced1870
Replied by ced1870 on topic Border color
Hi
please give me your url to check
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #12676 by stephanR
Replied by stephanR on topic Border color
Hi CEd,

can I mail or pm you the url and login data for htaccess? It is a customers site which is under construction and not ready for public.

Stephan

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #12679 by ced1870
Replied by ced1870 on topic Border color
you can use the contact form on joomlack.fr

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #12689 by ced1870
Replied by ced1870 on topic Border color
ok, there is a solution but it needs some css skills
1/ remove the padding from the <li> element and put it in the <a>
2/ add a z-index:10000 on the <a> (onhover would be better)
3/ add a z-index:0 on the div.floatck
4/ then adjust the margin-top of the div.floatck to put it under the <a>

;)

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #12691 by stephanR
Replied by stephanR on topic Border color
Hi CEd,

thank you so far, but it doesn't work yet. Here is what I did:

1/ remove the padding from the <li> element and put it in the <a>

div#maximenuck ul.maximenuck li.maximenuck.level1 {padding: 0;}
div#maximenuck ul.maximenuck li.maximenuck.level1 > a {padding: 0 19px;}


2/ add a z-index:10000 on the <a> (onhover would be better)

div#maximenuck ul.maximenuck li.maximenuck.level1 > a:hover {z-index: 10000 !important;}


3/ add a z-index:0 on the div.floatck
4/ then adjust the margin-top of the div.floatck to put it under the <a>

div#maximenuck ul.maximenuck li div.floatck {z-index: 0 !important; margin: -2px 0 0 0;}

Maybe I put the styles on the wrong elements?

Stephan

Please Log in or Create an account to join the conversation.

Time to create page: 0.218 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1425 guests and one member online