Guest Posted February 3, 2020 Share Posted February 3, 2020 Hello, I have an image that I want to prevent from getting too small while on mobile. Initially, the image would just scale with the screen size, forcing the entire image to be visible on mobile. I've restricted it within the Custom CSS by setting the min-width to 600px for the image, but now it is no longer becoming too small, but I am unable to scroll horizontally to access the full image. Does anyone know how to allow horizontal scrolling on a single image? Thanks in advance for any help! Link to comment
Guest Posted February 3, 2020 Share Posted February 3, 2020 I managed to solve this problem with a css inline of the code block. Seems like my attempts at using the Custom CSS sheet weren't taking within the div block initially so once I moved it over to the codeblock itself, it took priority it seems. <div style="overflow:scroll"> <img src="https://static1.squarespace.com/static/XXXXX" class="a"> </div> Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.