northshore Posted November 4, 2019 Share Posted November 4, 2019 I would like to make one of my navigation menu items/titles to look like a button/be highlighted compared to the rest. I am using the om-template. It looks like the attached photo and I would like the DONATE to be in a darker font with a white rectangular background behind it. I would like it to look similarly to the other attached photo where the CONTACT looks like a button. Thank you! Link to comment
tuanphan Posted November 4, 2019 Share Posted November 4, 2019 6 minutes ago, northshore said: I would like to make one of my navigation menu items/titles to look like a button/be highlighted compared to the rest. I am using the om-template. It looks like the attached photo and I would like the DONATE to be in a darker font with a white rectangular background behind it. I would like it to look similarly to the other attached photo where the CONTACT looks like a button. Thank you! You should share link to your site. It needs some custom code. 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
northshore Posted November 4, 2019 Author Share Posted November 4, 2019 Here is the link to the site: minidokafilm.com Do you know what the custom code should be? Link to comment
tuanphan Posted November 5, 2019 Share Posted November 5, 2019 2 hours ago, northshore said: Here is the link to the site: minidokafilm.com Do you know what the custom code should be? Add to Home > Design > Custom CSS .main-nav a[href="/donate"] { background: darkgray; padding: 5px 10px !important; border: none !important; color: white; } northshore 1 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
northshore Posted November 5, 2019 Author Share Posted November 5, 2019 Thank you so much! Link to comment
DAVYR Posted November 20, 2019 Share Posted November 20, 2019 On 11/5/2019 at 6:11 PM, northshore said: Thank you so much! On 11/5/2019 at 3:12 AM, tuanphan said: Add to Home > Design > Custom CSS .main-nav a[href="/donate"] { background: darkgray; padding: 5px 10px !important; border: none !important; color: white; } Hi Tuanphan, i am looking for this highlight too and i tried to use your code but it doesn't work My website is www.rouas.fr (MONTAUK template) and i want to highlight the last navigation item ACCCES CLIENT It would be great if you could help me ! Many thanks, Davy Link to comment
tuanphan Posted November 20, 2019 Share Posted November 20, 2019 @DAVYR replace .main-nav a[href="/donate"] with .main-nav 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
DAVYR Posted November 22, 2019 Share Posted November 22, 2019 Perfect ! Many thanks tuanphan ! Link to comment
tuanphan Posted November 22, 2019 Share Posted November 22, 2019 47 minutes ago, DAVYR said: Perfect ! Many thanks tuanphan ! there has a like button on right... 😎 Erin_SQSP and Eivind_ 1 1 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
Kate Posted April 24, 2020 Share Posted April 24, 2020 For your 7.1 sites, we have a freebie navigation highlight effect if you want to keep going with a more custom look. www.squareaddons.com If you are looking for a way to add Anchor Links, Gallery Blocks, or a Rotating Banner with Content Blocks overlaid in Squarespace 7.1, you can find all these plugins in our Squarespace add-on store here: www.Squareaddons.com -- Enjoy! Link to comment
shoshinmatcha Posted May 9, 2020 Share Posted May 9, 2020 Hi @tuanphan I am trying the same thing with my website www.shoshinmatcha.com I would like to highlight the Shop Now navigation menu item at the top of the page. I tried to alter you code but it didn't work... please help? :) Link to comment
tuanphan Posted May 10, 2020 Share Posted May 10, 2020 19 hours ago, shoshinmatcha said: Hi @tuanphan I am trying the same thing with my website www.shoshinmatcha.com I would like to highlight the Shop Now navigation menu item at the top of the page. I tried to alter you code but it didn't work... please help? :) header.Header [href*="/select-your-matcha"] { background: red; color: white !important; padding-top: 5px !important; padding-left: 5px !important; padding-right: 5px !important; } shoshinmatcha 1 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
shoshinmatcha Posted May 11, 2020 Share Posted May 11, 2020 @tuanphan - Thanks so much! it worked. it looks cool thanks! there was just one question now that it works, it looks like now the shop now is slightly higher? the text "SHOP NOW" looks like a mm higher in the navigation? any help is appreciated 🙂 Link to comment
tuanphan Posted May 11, 2020 Share Posted May 11, 2020 6 minutes ago, shoshinmatcha said: @tuanphan - Thanks so much! it worked. it looks cool thanks! there was just one question now that it works, it looks like now the shop now is slightly higher? the text "SHOP NOW" looks like a mm higher in the navigation? any help is appreciated 🙂 try play with padding top or padding bottom in above code shoshinmatcha 1 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
shoshinmatcha Posted May 11, 2020 Share Posted May 11, 2020 yes perfect that worked! thanks so much Link to comment
tuesdayroo Posted May 17, 2020 Share Posted May 17, 2020 @tuanphan I believe this is what I need too - I just want to differentiate a menu item when the mouse if hovering over it. The site I am working on isn't live yet, how can I show you? Thanks! Link to comment
tuanphan Posted May 18, 2020 Share Posted May 18, 2020 12 hours ago, tuesdayroo said: @tuanphan I believe this is what I need too - I just want to differentiate a menu item when the mouse if hovering over it. The site I am working on isn't live yet, how can I show you? Thanks! You can setup password & share url. See how to in my singature. 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
tuesdayroo Posted May 18, 2020 Share Posted May 18, 2020 Hey @tuanphan - here is the url - https://bagpipe-squid-gspa.squarespace.com/ password is hello2020 Thank you 🙂 I also have another 2 x sites that I need to know how to do this for, so would be great if you could show me in a way that I can replicate. Thanks! Link to comment
tuanphan Posted May 18, 2020 Share Posted May 18, 2020 22 minutes ago, tuesdayroo said: Hey @tuanphan - here is the url - https://bagpipe-squid-gspa.squarespace.com/ password is hello2020 Thank you 🙂 I also have another 2 x sites that I need to know how to do this for, so would be great if you could show me in a way that I can replicate. Thanks! Add to Home > Design > Custom CSS .header-nav-list a[href="/gallery"]:hover { color: red !important; } .header-nav-list a[href="/contact"]:hover { color: green !important; } .header-nav-list a[href="/poetry"]:hover { color: black !important; } Repeat for other items 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
tuesdayroo Posted May 18, 2020 Share Posted May 18, 2020 @tuanphan thank you but it's not working - it's only making the top menu item (poetry) disappear which i'm guessing is making that black. The rest, nothing is happening with? Thank you 🙂 Link to comment
tuanphan Posted May 18, 2020 Share Posted May 18, 2020 9 minutes ago, tuesdayroo said: @tuanphan thank you but it's not working - it's only making the top menu item (poetry) disappear which i'm guessing is making that black. The rest, nothing is happening with? Thank you 🙂 I see worked here? Above is example code for 3 items, you can repeat for other items. 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
tuesdayroo Posted May 18, 2020 Share Posted May 18, 2020 @tuanphan ahhh i see - I need to change colours only for the dropdown menu items underneath 'Portfolio' The top nav is fine like that, I just need to be able to differentiate the different Portfolio items when someone hovers over them. I hope that makes sense? Thanks 🙂 Link to comment
tuanphan Posted May 18, 2020 Share Posted May 18, 2020 You can repeat code poetry for other items, replace with page url slug (in example, /poetry is poetry page url) 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
tuesdayroo Posted May 18, 2020 Share Posted May 18, 2020 Ah ok great!! Thank you for your help 🙂 Link to comment
tuanphan Posted June 21, 2020 Share Posted June 21, 2020 On 6/20/2020 at 4:28 AM, Becs said: Hello @tuanphan, I need to highlight main-menu on hover and selection (when the page is selected it stays highlighted, so the user can see exactly where they are). I am wanting the light blue colour on the "Book a meeting" button. My 7.1 site is: triangle-badger-tshn.squarespace.com Enter password: Kendons1234 Hi. I see 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!) 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