- Posts: 62
- Thank you received: 0
Remove Border from Last menu Item?
-
lmw1
Inactive member -
Topic Author
- Member
-
Less
More
13 years 10 months ago #11263
by lmw1
Remove Border from Last menu Item? was created by lmw1
How can I edit my css so it does NOT show the right border on the last menu item?
*see attached image for clarity.
Thanks!
*see attached image for clarity.
Thanks!
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 10 months ago #11270
by ivan.milic
Replied by ivan.milic on topic Re: Remove Border from Last menu Item?
css3:
#nav > LI{
border-right:none!important;
}
jQuery:
jQuery(document).ready(function(){
jQuery('#nav > LI').last().css('borderRight',none);
});
#nav > LI{
border-right:none!important;
}
jQuery:
jQuery(document).ready(function(){
jQuery('#nav > LI').last().css('borderRight',none);
});
Please Log in to join the conversation.
-
lmw1
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 62
- Thank you received: 0
13 years 10 months ago #11296
by lmw1
Replied by lmw1 on topic Re: Remove Border from Last menu Item?
Sorry. That didn't work for me.
Do you use the CSS "with" the JS? If so, I tried that too and nothing.
Just to be sure, where do you put the JS?
- Len
Do you use the CSS "with" the JS? If so, I tried that too and nothing.
Just to be sure, where do you put the JS?
- Len
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 10 months ago #11310
by ivan.milic
Replied by ivan.milic on topic Re: Remove Border from Last menu Item?
css should be (I missed something):
#nav > LI:last-child{
border-right:none!important;
}
for JS version you can put script just before end of head section of index.php of template (</head>)
also try:
jQuery(document).ready(function(){
jQuery('#nav > LI').last().css('border-right',none);
});
or
jQuery(document).ready(function(){
jQuery('#nav > LI').last().css('border',none);
});
#nav > LI:last-child{
border-right:none!important;
}
for JS version you can put script just before end of head section of index.php of template (</head>)
also try:
jQuery(document).ready(function(){
jQuery('#nav > LI').last().css('border-right',none);
});
or
jQuery(document).ready(function(){
jQuery('#nav > LI').last().css('border',none);
});
Please Log in to join the conversation.
-
lmw1
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 62
- Thank you received: 0
13 years 10 months ago #11408
by lmw1
Replied by lmw1 on topic Re: Remove Border from Last menu Item?
None of those worked.
It's definitely an inheritance issue somewhere.
Please help!
It's definitely an inheritance issue somewhere.
Please help!
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 10 months ago #11424
by ivan.milic
Replied by ivan.milic on topic Re: Remove Border from Last menu Item?
it's not inheritance. it has !important; or other script solution also overcomes that. Make that changes, leave them and send me link so I could inspect.
Please Log in to join the conversation.
Time to create page: 0.164 seconds