T
Typebotyoviaditya

Show Bubble only on Desktop

Has anyone try to only show the bubble on desktop and hide it on mobile devices? I was thinking it may have to be done by writing a Custom script. Please share if you have a better idea. Thanks
B
Baptiste43d ago
Yes, that should be doable with CSS even. What’s your website builder?
F
FzinaHaMed43d ago
this is a simple version of it like since most mobile screens are 768px function isMobile() { // Media query to check for specific screen width range commonly associated with mobiles return window.matchMedia("(max-width: 768px)").matches; } // Usage example if (isMobile()) { console.log("Mobile device detected"); // Option to or not, load mobile-specific content or styles here } else { console.log("Laptop or desktop device detected"); // Option to, load desktop-specific content or styles here } it basically checks the screen width range its not optimal for different screen but that you will have to tweak with
Y
yoviaditya43d ago
thanks @Baptiste . we use wordpress appreciate the reply. i am aware about using JS to solve the initial problem of hiding the bubble altogether on mobile. I was kinda interested to know if there's more 'native' way to handle it via Typebots
F
FzinaHaMed42d ago
oh i dont think so
B
Baptiste39d ago
No native way to do that 🙏
I
imoclub39d ago
Why you dont put typebot script inside blocks/container on wordpress then use responsive option to enable it on desktop only? What builder are you using on wordpress?
Y
yoviaditya39d ago
Yes that's what we're planning of doing
Want results from more Discord servers?
Add your server
More Posts
Webhook errorI am unable to configure the webhook in the integration with Whtsapp. I'm hosting at Vercel Hobby. HDiscrepancy in Bot Responses: Missing Initial Characters When Transitioning from Dify to TypebotI'm using the Dify block to call gpt-3.5-turbo in part of my conversation flow. The attached imagesGetting the number from WhatsappHey all I have already an integration to official Whatsapp API. My question is: Can I get the numbeGoogle Sheets Typebot Block Bug?I'm hoping the group can help me figure out an issue I came across... For some reason, the Google SBold contentHi everyone, When I bold the content it gets a line break, before it was normal. This error appeareHow to pass variables from N8N to use in Typebot.Hey guys! I'm calling a Typebot flow via N8N and I need to pass the name in the request body. HoweveNext.js 404 Page when trying to enter the typebot viewerHey Folks, I'm currently trying to get typebot self hosted to run with ploi.io. It's all working rigUsing Credits in TypeBotHi, is it possible to created credits with payment? So for example subscribed user has 10 credits peSend message via API to WhatsApp numberHi, I’m using WhatsApp oficial api to send my messages. Now i need send a message using one flow usResponse LimitHello everyone, I'm using Typebot for the first time. I think the tool is great 🙂 🙂 Is there a wayOpenAI message history for conversationHey! Have a problem that the AI connection with OpenAI does not remember a customer's entire conversIssue with Dynamic Image List Repetition and Duplicate QR Images in WhatsAppHello, everyone. I've encountered an issue on WhatsApp where, for some reason, when I render a dynamCustom image issuesI created my image but it seems to be giving errors on builder and viewer side but my non containeriUpload Mulitple Images -> Pic ChoiceI'm trying: Block A = Upload Multiple Images Block B = Pic Choice (dynamic) from a list/array of uplHow can I specify an IP to typebot to listen?My container has many network interfaces, how do I specify that typebot listens through the IP of a Good morning, straight from Brazil!Is it possible via API to clone a flow? I want that when a userHow to translate "Popup blocked" messagehttps://docs.typebot.io/editor/blocks/logic/redirect as described here Safari blocks redirects by opLoop is not working as expected@Baptiste I have created an example flow (not freezing) but if you check console you will see loop iIs it possible to set a max character limit for 'long text'?Currently a user can enter an unlimited number of texts into the field. Is it possible to set a limiJava script for a character limiter for text input?Hi, does anyone have a Java script for a character limiter for text input? thanks for the help in ad