bumbplanet Posted April 24 Posted April 24 Hi! I've got a bit of very simple code built into my site so that my mobile and desktop appearences are slightly different. Now, I need to add a video embed block into my mobile version of the site so it displays exactly as the video embed on my desktop view but maintains the different buttons and background picture aspect ratio. When I go to remove the code so I can add in a new block, the whole thing seems to go haywire! I reached out to the support team at Squarespace but they advised me to come here due to the custom code. Help? Please? URL: https://www.bumbplanet.com/
tuanphan Posted April 26 Posted April 26 You mean video disappear on mobile or you need to use different videos on desktop - mobile? 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!)
bumbplanet Posted April 28 Author Posted April 28 On 4/26/2024 at 9:49 AM, tuanphan said: You mean video disappear on mobile or you need to use different videos on desktop - mobile? No, I need to use the same video but cause of the code, I can't actually add in a new block when I switch to mobile view.
bumbplanet Posted April 28 Author Posted April 28 (edited) On 4/26/2024 at 9:49 AM, tuanphan said: You mean video disappear on mobile or you need to use different videos on desktop - mobile? For context, here are some pictures. Edited April 28 by bumbplanet More context
tuanphan Posted April 30 Posted April 30 (edited) Add Block, Block will appears on both Desktop + Mobile, so you need to change to Desktop Layout to add block Edited April 30 by tuanphan 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!)
bumbplanet Posted May 17 Author Posted May 17 On 4/30/2024 at 9:08 AM, tuanphan said: Add Block, Block will appears on both Desktop + Mobile, so you need to change to Desktop Layout to add block When I do this, it doesn't appear in the mobile preview because of my CSS coding.
melody495 Posted May 17 Posted May 17 5 hours ago, bumbplanet said: When I do this, it doesn't appear in the mobile preview because of my CSS coding. Please share your CSS code so the community can try and help. -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd When I have time, I like to help on the Forum, but if you need my full attention, please send your request here. Tools I use (affiliate links😞 📅Blog Date Format plugin (Free by BeyondSpace) ⏬Lazy Load Summary Block plugin (by Squareswebsites) 📜Privacy Policy & Cookie Consent plugin (10% off by Termageddon) 📈SEO plugin for Squarespace (by SEOSpace) ☕ Did I help? I like coffee (Thank you)
bumbplanet Posted May 22 Author Posted May 22 On 5/17/2024 at 9:22 PM, melody495 said: Please share your CSS code so the community can try and help. Sure thing, here you go: @media screen and ( max-width : 767px ) { [data-section-id="645bf7c41993a9492acbdf64"] { display : none; } } @media screen and ( min-width : 768px ) { [data-section-id="6570fb87e4fa933c10d5becd"] { display : none; } }
melody495 Posted May 22 Posted May 22 43 minutes ago, bumbplanet said: ... [data-section-id="645bf7c41993a9492acbdf64"] { display : none; } .... ... [data-section-id="6570fb87e4fa933c10d5becd"] { display : none; } .... Hi, these are section ids, so you are hiding an entire section depending on the screen size. Assuming you are trying to add a block to one of those sections, and the block "disappears" because it is inside one of the hidden sections. Without knowing how you want the new block to behave in regards to the hidden sections, my only suggestion is to add the new block to a new section, so this new section is unaffected by your code. Let me know how it goes. -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd When I have time, I like to help on the Forum, but if you need my full attention, please send your request here. Tools I use (affiliate links😞 📅Blog Date Format plugin (Free by BeyondSpace) ⏬Lazy Load Summary Block plugin (by Squareswebsites) 📜Privacy Policy & Cookie Consent plugin (10% off by Termageddon) 📈SEO plugin for Squarespace (by SEOSpace) ☕ Did I help? I like coffee (Thank you)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment