MariaFY Posted December 11, 2020 Share Posted December 11, 2020 Hi folks, I'm trying to create two different colored buttons in the secondary header nav. I'm working with Brine, so some of my pages are index pages and have a banner, some are not (button color needs to be different on the pages without a banner) I've tried a bit of css, but none of it seems to be working on mobile. /* HEADER BUTTONS **********/ .Header-nav--secondary .Header-nav-item:first-child{ background: none!important; border: 2px solid #fff!important; color:#fff !important; } .Mobile-overlay-nav-item:first-child{ background: #fff!important; border: 2px solid #fff!important; color: #fff!important; } .Header-nav--secondary .Header-nav-item:hover:first-child{ background: white!important; border: 2px solid #fff!important; color: #000 !important; opacity:0.9; } .Header-nav--secondary .Header-nav-item:last-child{ border: 2px solid #fff!important; opacity:0.9; color:#000 !important; opacity:0.9; } .Mobile-overlay-nav-item:last-child{ border: 2px solid #fff!important; color:#000!important; } .Header-nav--secondary .Header-nav-item:hover:last-child{ background: white!important; border: 2px solid #fff!important; color: #000 !important; opacity:1; } The above code doesn't seem to do anything for mobile though. Any suggestions? Goal: Buttons on Index Pages with banner: 1 white, 1 outlined white Buttons on other pages (no banner): 1 blue, 1 outlined blue Site: https://grape-dove-n6ym.squarespace.com/ PW: piper Thanks a lot for any help with this! Link to comment
tuanphan Posted December 13, 2020 Share Posted December 13, 2020 It looks like you solved this? 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