Nomis Posted January 7 Share Posted January 7 Hey folks, I'd like to make a change to my site and need your help. I want to add a scrollable list to my page. For this, I'd like to upload a PNG where only the top part is shown, and then users can scroll down, similar to scrolling through a website. I found the following code for this: // Scrollable Webpage #BLOCK-ID { height: 350px; max-width: 80%; margin:auto; width: 100%; overflow-y:scroll; overflow-x:hidden; filter: drop-shadow(10px 10px 10px rgba(0,0,0,.3)); @media screen and (max-width:767px) { height:200px; } } //Customize the scrollbar ::-webkit-scrollbar { width: 3px; /* Scrollbar Thickness */ height:15px; } ::-webkit-scrollbar-thumb { background: #22514A; } ::-webkit-scrollbar-track { background: #ffffff; /* Background Color */ } Unfortunately, it doesn't work as it did in the tutorial. Can someone help me with this? How can I achieve a scrollable list like this? Appreciate your assistance! Site: https://maltemartenmethod.squarespace.com/module-1 Pword: maltemartenmethod2023 Turorial Example: Link to comment
tuanphan Posted January 10 Share Posted January 10 Have you replace #BLOCK-ID with your image block id yet? Use this tool to find id https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff 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
Nomis Posted January 10 Author Share Posted January 10 Yes @tuanphan, I have already done that. Something is happening, but the result doesn't look as it should. See the attached screenshot or here on the page: https://maltemartenmethod.squarespace.com/module-1 Can you help me with this? Link to comment
tuanphan Posted January 11 Share Posted January 11 5 hours ago, Nomis said: Yes @tuanphan, I have already done that. Something is happening, but the result doesn't look as it should. See the attached screenshot or here on the page: https://maltemartenmethod.squarespace.com/module-1 Can you help me with this? You try Classic Section for current section and test code again 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment