StuJanis Posted July 13 Share Posted July 13 I'm trying to turn the last item (Volunteer at Art's House) in the navigation bar into a button. The site uses a Montauk template and version 7. I used the code from https://www.bigcatcreative.com/blog/header-navigation-button-squarespace for the Avenue Template (that blog post doesn't have code for Montauk), and it looks great with one exception. The top of the button seems to be aligned with the rest of the navigation items, which makes the text somewhat offset. Is there any way to align the button text with the rest of it? Link to comment
StuJanis Posted July 14 Author Share Posted July 14 I should have included that the website is www.riverfallscab.org. The screenshot above is from an unsaved version. Link to comment
Solution tuanphan Posted July 15 Solution Share Posted July 15 (edited) You can use this CSS nav>ul>li:last-child>a { background-color: black; color: white !important; padding: 10px 20px; } nav.main-nav>ul { display: flex; align-items: center; } Edited July 15 by tuanphan StuJanis 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
dasMeerIstBlau Posted October 28 Share Posted October 28 Unfortunately it does't work with Avenue template, Squarespace 7.0. Could you help me out? Das Meer ist blau. is a brand design agency based in Hamburg, since 2014. Our range of services includes: - full service campaign - corporate design | Brand-design - classic advertising - web design - magazine design - packaging design - merchandising - development of pos materials Link to comment
tuanphan Posted October 30 Share Posted October 30 On 10/29/2023 at 12:29 AM, dasMeerIstBlau said: Unfortunately it does't work with Avenue template, Squarespace 7.0. Could you help me out? With Avenue, use this code .main-nav>ul>li:last-child>a { background-color: black; color: white !important; padding: 10px 20px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
dasMeerIstBlau Posted November 3 Share Posted November 3 On 10/30/2023 at 10:16 AM, tuanphan said: I'm sorry, it does't work on our Website Prinzenart, Squarespace7.0, Avenue Das Meer ist blau. is a brand design agency based in Hamburg, since 2014. Our range of services includes: - full service campaign - corporate design | Brand-design - classic advertising - web design - magazine design - packaging design - merchandising - development of pos materials Link to comment
tuanphan Posted November 6 Share Posted November 6 On 11/3/2023 at 10:44 PM, dasMeerIstBlau said: What is your site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
dasMeerIstBlau Posted November 16 Share Posted November 16 https://kathrin-prinz-8wdn.squarespace.com Das Meer ist blau. is a brand design agency based in Hamburg, since 2014. Our range of services includes: - full service campaign - corporate design | Brand-design - classic advertising - web design - magazine design - packaging design - merchandising - development of pos materials Link to comment
tuanphan Posted November 18 Share Posted November 18 On 11/16/2023 at 4:52 PM, dasMeerIstBlau said: https://kathrin-prinz-8wdn.squarespace.com Use this code .main-nav>ul>li:nth-last-child(2)>a { background-color: black; color: white !important; padding: 10px 20px !important; position: relative; top: 50px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment