JustinSinger Posted June 11, 2020 Share Posted June 11, 2020 Site URL: https://www.iamjustinsinger.com/ Looking to disable the scroll on ONLY my homepage. This code works but it applies the no scroll to the entire site. html, body {margin: 0; height: 100%; overflow: hidden} Any idea on how to apply this to the homepage only? Link to comment
tuanphan Posted June 12, 2020 Share Posted June 12, 2020 Add to Home Page Settings >Advanced > Header <style> paste above code here </style> 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
JustinSinger Posted June 12, 2020 Author Share Posted June 12, 2020 This works but it applies the no scroll to the individual project pages as well. Is there any way to apply it to only the homepage? Link to comment
niloc3 Posted December 1, 2020 Share Posted December 1, 2020 Hey @JustinSinger did you ever find out how to do this? Link to comment
deaton72 Posted December 2, 2020 Share Posted December 2, 2020 If you want the code to only work on individual pages, you have to put it in the header of each page - not in the general header/footer. You do that my going to the gear next to the page name/advanced/header Make sure to use <style></style> to enclose your code Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.