We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Custom css in shopify inbox app for mobile view

Custom css in shopify inbox app for mobile view

Jitali_2103
Shopify Partner
34 1 2

Hello,

I'm Using the shopify inbox app and I have added some custom CSS for mobile devices but it's not working
is there any solution for that?

 

Replies 12 (12)

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

Hi @Jitali_2103 

Could you show me the code you added? 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Jitali_2103
Shopify Partner
34 1 2
@media screen and (max-width: 768px) {
button.chat-toggle.chat-toggle--icon-button {
  height: 44px;
  min-width: 44px;
  padding: 12px;
  width: 30px;
  border-radius: 50%;
}
button.chat-toggle.chat-toggle--icon-button svg {
  height: 30px !important;
  width: 30px !important;
}
}
Dan-From-Ryviu
Shopify Partner
12073 2359 2539

Please try to update the code to this and check if it works

@media (max-width: 767px) {
button.chat-toggle.chat-toggle--icon-button {
  height: 44px;
  min-width: 44px;
  padding: 12px;
  width: 30px;
  border-radius: 50%;
}
button.chat-toggle.chat-toggle--icon-button svg {
  height: 30px !important;
  width: 30px !important;
}
}

If it is still not working, please use this code

@media (max-width: 767px) {
button.chat-toggle.chat-toggle--icon-button {
  height: 44px !important;
  min-width: 44px !important;
  padding: 12px !important;
  width: 30px !important;
  border-radius: 50% !important;
}
button.chat-toggle.chat-toggle--icon-button svg {
  height: 30px !important;
  width: 30px !important;
}
}

 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Jitali_2103
Shopify Partner
34 1 2

Your CSS still not Working 
Can you please check the preview below?
https://o1p0ofyzc810e9oi-68640112942.shopifypreview.com

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

You hide the chat button on mobile. Could you show me where did you add the code? 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Jitali_2103
Shopify Partner
34 1 2

When you scroll up to down you can see the chat button and down to up then you can not see the chat button I have added js for that.
I added CSS in the custom.css file

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

I cannot see custom.css is using. Please try to add code to base.css file 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Jitali_2103
Shopify Partner
34 1 2

Hi @Dan-From-Ryviu,
As you said I just added css in the base.css file but it still doesn't work.

Jitali_2103_0-1723519996986.png

 

BSSCommerce-HDL
Shopify Partner
2305 835 907

Hi @Jitali_2103 

can you share your store url direct to your button that cant custom style ( with password if needed) so I can figure out problems

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Jitali_2103
Shopify Partner
34 1 2

shonetakelor
Visitor
1 0 0

Having trouble with custom CSS not working on mobile sounds a bit like dealing with mod compatibility issues in Toca Boca Life World. Just as mods need to be compatible with the game version, make sure your CSS selectors are targeting the right elements and that media queries are correctly configured for mobile devices. Using `!important` might help override conflicting styles. It's also a good idea to clear your cache and test on various devices, similar to troubleshooting any issues you might face with mods in Toca Boca. If it persists, check forums or support for additional solutions.

Jitali_2103
Shopify Partner
34 1 2

Hello @shonetakelor ,

I have tried everything but its button doesn't make any difference. Please let me know if there is any other way to get it.