Archived topic
Remove border from last menu bottom
10 replies · Started by Edwin on September 18, 2018
Hi
What is the css for removing the last border right from bottom menu?
.bottom .menu li a
Thanks
Edwin
Hi there,
Can you show me the CSS have you added for the border ? You can paste it in the reply and wrap it using the 'code' button in the text editor.
Hi David
I believe it is part of generate press menu. Footer menu. I didn't added any css.
Can you remove the coming soon from the site so i can see the issue?
Hi David
I can not remove the coming soon, but you can login as a subscriber and after login go to the website.
/wp-admin
david
testing200
Thanks
Edwin
Hi there,
You can use this selector to exclude the last item in the menu:
.bottom .menu :not(:last-child) a
Let me know if this helps :)
Hi Leo
I removes the right border from all list items in the bottom menu, except last one. It should be the other way around.
Thanks
Edwin
Add the border using this CSS:
.bottom .menu li:not(:last-child) a {
border-right:1px solid #cccccc;
}
Hi David
No, that didn't work.
I want to remove the last border right from list items in the bottom menu.
Kind Regards
Edwin
Update: Got it to work by doing this:
.bottom .menu li a:link {
border-right:0px solid #cccccc;
}
.bottom .menu li:not(:last-child) a {
border-right:1px solid #cccccc;
}
Thanks
Edwin
Thats great, Glad to hear you got it resolved.