Theis_Aarlund Posted September 29, 2020 Share Posted September 29, 2020 Site URL: https://www.davai.squarespace.com Hi I am currently unable to edit multiple sections on the homepage of the site i am currently working on. (davai.squarespace.com - password: davai) After a conversation with the support team, they told me that the forum might be a good place to troubleshoot this issue. The issue is probably caused by some code i injected in code blocks, or by some of the CSS injected to the site. I have attached a video, showing the issue, as you can see, i am able to edit the first two sections, as well as the header and footer. Anything below the second section is "locked". I am however still able to edit the page with the /safe tag, but i would like to know what is causing the issue In the second section, three code blocks are added, meant the change the picture when hovered over (does not work for me, but when checking using the inspect tool on chrome, it seems to be working on mobile units..) the code for these code blocks is the following: <center <div class="ImgSwap"> <img class="Img1" src="https://images.squarespace-cdn.com/content/5f6873716e3d0466b9953dd9/1600854461689-UHACZYWZUG5CQPHJJLWV/icon-wind-turbine-service.png?content-type=image%2Fpng"> <img class="Img2" src="https://images.squarespace-cdn.com/content/5f6873716e3d0466b9953dd9/1600868753305-7LONEER0YHGEWO5QEBPT/Wind-turbine.gif?content-type=image%2Fgif"> </div> The CSS injected to the page is: //Kompetencer hover swap// //Turbine .Img2 { display: none; } .ImgSwap:hover .Img1 { display: none; } .ImgSwap:hover .Img2 { display: inherit; } //parallax forside// [data-section-id="5f687b7bd45f307089cd61c5"]{ .section-background{ &::after { //creating the element content: ""; width:100%; height:100%; position: absolute; //adding the image background-image:url(https://static1.squarespace.com/static/5f6873716e3d0466b9953dd9/t/5f687cd7bd90701b2273c68a/1600683281465/RKP_2411.JPG?format=1500w); background-repeat:no-repeat; //positioning the image background-size:cover; background-position:center center; background-attachment: fixed; transform: scale(1); //mobile @media(max-width:787px){ background-position:center center; background-attachment: scroll !important; } } } } //parallax forside midt// [data-section-id="5f689582eb716a35bc57fb51"]{ .section-background{ &::after { //creating the element content: ""; width:100%; height:100%; position: absolute; //adding the image background-image:url(https://static1.squarespace.com/static/5f6873716e3d0466b9953dd9/t/5f6894db1674913350318a0c/1600689441028/20140505_114809.jpg?format=1500w); background-repeat:no-repeat; //positioning the image background-size:cover; background-position:center center; background-attachment: fixed; transform: scale(1); //mobile @media(max-width:787px){ background-position:center center; background-attachment: scroll !important; } } } } //parallax forside kontakt// [data-section-id="5f69c09f14e4112b0962542e"]{ .section-background{ &::after { //creating the element content: ""; width:100%; height:100%; position: absolute; //adding the image background-image:url(https://static1.squarespace.com/static/5f6873716e3d0466b9953dd9/t/5f69c030f6b47e5e50c7129f/1600766046050/20x30+2798.jpg?format=1500w); background-repeat:no-repeat; //positioning the image background-size:cover; background-position:center center; background-attachment: fixed; transform: scale(1); //mobile @media(max-width:787px){ background-position:center center; background-attachment: scroll !important; } } } } Please tell me if you need more, in order to help... Skærmoptagelse 2020-09-29 kl. 11.14.10.mov Link to comment
tuanphan Posted September 29, 2020 Share Posted September 29, 2020 We can't access site url. Can you check again? Also, try removing all code in Code Injection & check 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
Theis_Aarlund Posted September 29, 2020 Author Share Posted September 29, 2020 5 minutes ago, tuanphan said: We can't access site url. Can you check again? Also, try removing all code in Code Injection & check again. You should be able to access the website, i have no issues on my devices.https://davai.squarespace.com/ davai Only thing in the code injection: <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> </head> Link to comment
tuanphan Posted September 30, 2020 Share Posted September 30, 2020 Try removing <head> & </head> keep script code 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
Archived
This topic is now archived and is closed to further replies.