Goz Posted June 24, 2021 Posted June 24, 2021 Site URL: https://www.ozworx.space Used this code to add a call button to the end of my Navigation Bar in my Five template. However, it is now "buttoning" the last item on the "Services" and "Locations" navigation menu too. How can I limit the "buttoning" to just the call button? Any assistance sincerely appreciated. nav#main-navigation ul li:last-child a{ color: #fff !important; padding:5px 10px !important; border: 1px solid #000 !important; background-color: #000 !important; border-radius:16px !important; }
tuanphan Posted June 28, 2021 Posted June 28, 2021 On 6/24/2021 at 8:53 PM, Goz said: Site URL: https://www.ozworx.space Used this code to add a call button to the end of my Navigation Bar in my Five template. However, it is now "buttoning" the last item on the "Services" and "Locations" navigation menu too. How can I limit the "buttoning" to just the call button? Any assistance sincerely appreciated. nav#main-navigation ul li:last-child a{ color: #fff !important; padding:5px 10px !important; border: 1px solid #000 !important; background-color: #000 !important; border-radius:16px !important; } Change this Quote nav#main-navigation ul li:last-child a to this Quote nav#main-navigation>ul>li:last-child>a Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Goz Posted July 7, 2021 Author Posted July 7, 2021 On 6/27/2021 at 8:32 PM, tuanphan said: Thank you! That got rid of the "buttoning" on the navigation menu drop downs, which was desired, but also the "buttoning" on the phone number, which was not desired. Any other suggestions? Many thanks for your kind assistance.
tuanphan Posted July 9, 2021 Posted July 9, 2021 On 7/8/2021 at 3:49 AM, Goz said: You mean make last item in desktop & mobile navigation to button? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.