jlama Posted May 19, 2020 Share Posted May 19, 2020 Looking to keep one button solid and other one outline only. Squarespace Design allows only for one button change. Any CSS code out there for this? Link to comment
tuanphan Posted May 19, 2020 Share Posted May 19, 2020 Can you share link to your site? 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
jlama Posted May 19, 2020 Author Share Posted May 19, 2020 Not public yet but attaching home page screenshot Link to comment
tuanphan Posted May 19, 2020 Share Posted May 19, 2020 Difficult to help without checking 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
jlama Posted May 19, 2020 Author Share Posted May 19, 2020 https://jimmy-lama-jd26.squarespace.com/config/design Link to comment
jlama Posted May 19, 2020 Author Share Posted May 19, 2020 I managed to change it to outline but now the hover effect aint working. hELP Here is the CSS code I used: //NAVIGATION BUTTON COLOR CHANGE .Header-nav-item[href="/lets-eat"] { background: transparent !important; border: 2px solid #B98847 !important; color: #00000 !important; } Link to comment
tuanphan Posted May 20, 2020 Share Posted May 20, 2020 19 hours ago, jlama said: I managed to change it to outline but now the hover effect aint working. hELP Here is the CSS code I used: //NAVIGATION BUTTON COLOR CHANGE .Header-nav-item[href="/lets-eat"] { background: transparent !important; border: 2px solid #B98847 !important; color: #00000 !important; } remove !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
jlama Posted May 20, 2020 Author Share Posted May 20, 2020 Looks better on the homepage but now when I go to other pages , my second button shows orange text when it should be white. Link to comment
tuanphan Posted May 20, 2020 Share Posted May 20, 2020 5 minutes ago, jlama said: Looks better on the homepage but now when I go to other pages , my second button shows orange text when it should be white. try this code to create both hover effect .Header-nav-item[href="/lets-eat"] { background: transparent !important; border: 2px solid #B98847 !important; color: #00000 !important; } .Header-nav-item[href="/lets-eat"]:hover { background: red !important; border: 2px solid red !important; color: green !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
jlama Posted May 20, 2020 Author Share Posted May 20, 2020 So much better! Now I have to change the default button text color to white see if it gets better on the other pages. Link to comment
tuanphan Posted May 25, 2020 Share Posted May 25, 2020 On 5/20/2020 at 9:44 PM, jlama said: So much better! Now I have to change the default button text color to white see if it gets better on the other pages. Have you solved yet? 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
MariaFY Posted December 4, 2020 Share Posted December 4, 2020 Hi @tuanphan, I could use your help with fine tuning this. I was able to css two different style buttons in the secondary nav. However this works only on image overlay, but not on pages without a banner. I'd like to css the first button to only have a (blue) 2px border. Right now, the first button is not visible (only on hover). Compare homepage vs. contact page Site: https://grape-dove-n6ym.squarespace.com/ PW: piper Thanks a lot for taking a look! Link to comment
tuanphan Posted December 6, 2020 Share Posted December 6, 2020 On 12/5/2020 at 4:52 AM, MariaFY said: Hi @tuanphan, I could use your help with fine tuning this. I was able to css two different style buttons in the secondary nav. However this works only on image overlay, but not on pages without a banner. I'd like to css the first button to only have a (blue) 2px border. Right now, the first button is not visible (only on hover). Compare homepage vs. contact page Site: https://grape-dove-n6ym.squarespace.com/ PW: piper Thanks a lot for taking a look! Add this CSS body:not(.homepage) .Header-nav--secondary a.Header-nav-item[href="/referrals"] { border: 2px solid black !important; color: black !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
MariaFY Posted December 10, 2020 Share Posted December 10, 2020 Thank you @tuanphan The code works if only the homepage had a banner, but other pages with a banner don't end up having the same buttons as the ones on the homepage. How can I define different button styles for pages with a banner (e.g. 'Our Team'), and pages without (i.e. 'Contact'? Not sure if this is a bigger challenge, or has an easy solution. Thanks again for your support, it's appreciated! Link to comment
tuanphan Posted December 11, 2020 Share Posted December 11, 2020 On 12/10/2020 at 10:53 AM, MariaFY said: Thank you @tuanphan The code works if only the homepage had a banner, but other pages with a banner don't end up having the same buttons as the ones on the homepage. How can I define different button styles for pages with a banner (e.g. 'Our Team'), and pages without (i.e. 'Contact'? Not sure if this is a bigger challenge, or has an easy solution. Thanks again for your support, it's appreciated! Add to Page Header. Disable Ajax Loading if the code doesn't work. <style> .Header-nav--secondary a.Header-nav-item[href="/referrals"] { border: 2px solid green !important; color: violet !important; } </style> MariaFY 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
philipanthonymangan Posted April 16, 2021 Share Posted April 16, 2021 @tuanphan you seem to be pretty knowledgeable and would love it if you could please help me out with something. I'm trying to figure out how to change the button color of "Meet Your Coach" Button that I've added to the banner image area. Any insight would be greatly appreciated, thank you! Link to comment
tuanphan Posted April 19, 2021 Share Posted April 19, 2021 On 4/16/2021 at 7:49 PM, philipanthonymangan said: @tuanphan you seem to be pretty knowledgeable and would love it if you could please help me out with something. I'm trying to figure out how to change the button color of "Meet Your Coach" Button that I've added to the banner image area. Any insight would be greatly appreciated, thank you! Can you share link to your site? We can help easier 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