koala Posted August 17, 2021 Posted August 17, 2021 Site URL: https://project351.org Hello, I am trying to differentiate the last item in our secondary mobile navigation bar ("Donate") by giving it a border/making it look like a button. Look: border: 2px solid white; background: #004F9C; color: rgba(255,255,255,1); padding: 10px 12px What I am struggling with is applying the formatting to the item I want to edit. I am trying this with no luck: .Mobile-overlay-nav.Mobile-overlay-nav--secondary > a:last-of-type Do you have any ideas of how I could change it?
tuanphan Posted August 18, 2021 Posted August 18, 2021 12 hours ago, koala said: Site URL: https://project351.org Hello, I am trying to differentiate the last item in our secondary mobile navigation bar ("Donate") by giving it a border/making it look like a button. Look: border: 2px solid white; background: #004F9C; color: rgba(255,255,255,1); padding: 10px 12px What I am struggling with is applying the formatting to the item I want to edit. I am trying this with no luck: .Mobile-overlay-nav.Mobile-overlay-nav--secondary > a:last-of-type Do you have any ideas of how I could change it? Hi. It looks like you solved? 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.