Jump to content

Five Template Navigation Call Button

Recommended Posts

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;
    }

 

Link to comment
  • Replies 3
  • Views 458
  • Created
  • Last Reply
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!)

Link to comment
  • 2 weeks later...
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.

 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.