crevice Posted June 14, 2022 Share Posted June 14, 2022 Site URL: https://www.johncervantes.co.uk/music/past I've embedded a Bandcamp music player using an html code block. It looks good on desktop and mobile, but with a screen size in between (iPad etc) the text on the right starts to cover the iframe. I tried to fix it by adding this custom css div#block-yui_3_17_2_1_1655199650584_9623 { min-width: 350px; } But that's not worked. Am I close? Does anyone know what I need to change. Thanks Link to comment
crevice Posted June 14, 2022 Author Share Posted June 14, 2022 oh well actually I've decided to just use a different streaming platform for the embed - the iframe code for Spotify results in a responsive width, so no issues. I removed the uneccesary custom css. I think the problem I was having was that the div I set the min-width for was the child of a div that was set to 33.3% (4/12 columns). I could have added a min-width but that div didn't have an id, only classes... If I had wanted to target that div, how would I specify that particular one with custom css? But anyway my problem is solved. Link to comment
tuanphan Posted June 15, 2022 Share Posted June 15, 2022 Do you still need help? 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!) Link to comment
crevice Posted June 19, 2022 Author Share Posted June 19, 2022 thanks for writing. No I don't need help with this anymore - I actually think it's likely to be a problem with the bandcamp player rather than Squarespace. I'm now embedding a Spotify player instead, which is working. 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