dchavez Posted July 17, 2020 Share Posted July 17, 2020 Hi, I want to change the color of the logo only when the navigation on mobile is open. Currently is black I would like it to be white. Also I want to change the shopping cart icon to white when the menu is open only. Currently what the X is doing now. www.gypset.com password: gypset2020 Link to comment
tuanphan Posted July 18, 2020 Share Posted July 18, 2020 Add to Home > Design > Custom CSS @media screen and (max-width:767px) { .header--menu-open { .header-title-logo img { filter: invert(1); } svg.icon.icon--cart { stroke: white !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
Gueifao Posted October 11, 2021 Share Posted October 11, 2021 On 7/18/2020 at 8:16 AM, tuanphan said: Add to Home > Design > Custom CSS @media screen and (max-width:767px) { .header--menu-open { .header-title-logo img { filter: invert(1); } svg.icon.icon--cart { stroke: white !important; } } } Hi Tuan, I tried this code but couldn't achieve nothing. I have different color logos throughout the website and im trying to have the same in the mobile version. Link to comment
tuanphan Posted October 13, 2021 Share Posted October 13, 2021 On 10/11/2021 at 10:55 PM, Gueifao said: Hi Tuan, I tried this code but couldn't achieve nothing. I have different color logos throughout the website and im trying to have the same in the mobile version. Hi. 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
Gueifao Posted October 13, 2021 Share Posted October 13, 2021 6 hours ago, tuanphan said: Hi. What is your site url? masking.co Link to comment
Gueifao Posted October 13, 2021 Share Posted October 13, 2021 Just now, Gueifao said: masking.co miaskin.co Link to comment
tuanphan Posted October 15, 2021 Share Posted October 15, 2021 On 10/13/2021 at 9:23 PM, Gueifao said: miaskin.co Try this new code @media screen and (max-width:767px) { .header--menu-open { .header-mobile-logo img { filter: invert(1); } svg.icon.icon--cart { stroke: white !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
ikennajn Posted June 24 Share Posted June 24 On 7/18/2020 at 8:16 AM, tuanphan said: Add to Home > Design > Custom CSS @media screen and (max-width:767px) { .header--menu-open { .header-title-logo img { filter: invert(1); } svg.icon.icon--cart { stroke: white !important; } } } Hi, anyone? Is it possible to have this code work for just the homepage alone? I have all other pages with a white background and on using this code they all have the header logo within them (which was black) reverted to white. I want the logo in the homepage to invert to black when the burger menu is clicked and revert to white when it's back to the homepage display. Link to comment
paul2009 Posted June 24 Share Posted June 24 5 minutes ago, ikennajn said: Is it possible to have this code work for just the homepage alone? Yes, prefix your selector (on line 2) with the .homepage class. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
ikennajn Posted June 24 Share Posted June 24 22 minutes ago, paul2009 said: Yes, prefix your selector (on line 2) with the .homepage class. Thank you so much... It worked. paul2009 1 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