Jump to content

Change tapped item color in Mobile Information Bar in v.7.0

Go to solution Solved by darob78,

Recommended Posts

Posted

Site URL: https://robertsonphoto.com

Hi, I've already changed the tray color of the Mobile Information Bar to white to suit my website, thanks to a link I found to a post by tuanphan (ty!) Now I'd like to change the color of the box that appears when you tap an item in the information bar (see attached.) How do you reference this color block (around the email icon in the screenshot?) Squarespace support won't tell me the keyword but suggested I try this forum.

 

Many thanks

Mobile Info Bar active item color.jpg

Custom CSS mobile info bar background color.png

Posted

I've had a look, but I can't see where this colour comes from and therefore how to change it. Maybe someone else can help? Luckily you only see it for half a second before you go to your email or phone app, if that's any consolation! 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted (edited)

Users are leaving the site at that point so I agree it's not a big deal, but if it's possible to change it to suit I'd like to. Thanks for looking Ziggy

Edited by darob78
Posted

After some more research and with trial and error I've gotten closer:

.sqs-mobile-info-bar-trigger {
  	background-color: silver !important;
}

This changes the color of the boxes under the icons, but it's fulltime; I just need to constrain it to active only, whatever the correct nomenclature is. I don't know why squarespace is so secretive about this.

Any ideas from the experts appreciated. Thanks!

Posted
On 10/6/2022 at 5:48 AM, darob78 said:

After some more research and with trial and error I've gotten closer:

.sqs-mobile-info-bar-trigger {
  	background-color: silver !important;
}

This changes the color of the boxes under the icons, but it's fulltime; I just need to constrain it to active only, whatever the correct nomenclature is. I don't know why squarespace is so secretive about this.

Any ideas from the experts appreciated. Thanks!

You want to change

  • Blue background around email/call icon?

image.png.d53ae118345c670aba1a36e40d2e36fc.png

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!)

Posted
10 hours ago, tuanphan said:

You want to change

  • Blue background around email/call icon?

image.png.d53ae118345c670aba1a36e40d2e36fc.png

That's right, probably to the shade of grey used in my site navigation already. I haven't had any luck finding out how to access the blue background that occurs when you tap the email and call icons. Do you have any idea?

Many thanks

Posted

ok I've just shifted my main site color to a blue from turquoise so the mobile navigation color no longer looks like a mistake-- a solution even if not the one I was looking for lol.

If anyone knows how to target the mobile info bar navigation color I'm still interested in your ideas. Many thanks. 

Posted
On 10/12/2022 at 6:58 AM, darob78 said:

ok I've just shifted my main site color to a blue from turquoise so the mobile navigation color no longer looks like a mistake-- a solution even if not the one I was looking for lol.

If anyone knows how to target the mobile info bar navigation color I'm still interested in your ideas. Many thanks. 

Try adding this to Design > Custom CSS

.sqs-mobile-info-bar-trigger {
    background-color: #f1f !important;
}
.sqs-mobile-info-bar-trigger * {
    color: white !important;
}
span.sqs-mobile-info-bar-trigger-icon {
    filter: invert(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!)

Posted
On 10/15/2022 at 1:59 AM, tuanphan said:

Try adding this to Design > Custom CSS

.sqs-mobile-info-bar-trigger {
    background-color: #f1f !important;
}
.sqs-mobile-info-bar-trigger * {
    color: white !important;
}
span.sqs-mobile-info-bar-trigger-icon {
    filter: invert(1);
}

 

Hi tuanphan, thanks for investigating, however with these additions the trigger area is now purple. The navigation color is still blue on top of this.

trigger color.jpg

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.