omorton Posted November 10, 2020 Share Posted November 10, 2020 Site URL: https://www.thepressclarksville.com Our website is showing an orange coding box on mobile site home page. I cannot figure out where this is pulling to show below the header. Does anyone know how to get this off our homepage? Link to comment
Beyondspace Posted November 11, 2020 Share Posted November 11, 2020 Please send screenshot, I dont see it BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
tuanphan Posted November 11, 2020 Share Posted November 11, 2020 In Code injection Header, find this code // Fade Out Line Buttom - Right To Left // .sqs-block-button-element--small { position:relative; height: 60px; line-height: 60px; text-align: center; transition: 0.5s; padding: 0 20px; cursor: pointer; -webkit-transition:0.5s; } .sqs-block-button-element--small:hover { background-color: transparent; border-color: transparent; color: #000000; } .sqs-block-button-element--small:hover:before{ transition-delay: .2s; } .sqs-block-button-element--small::before{ width: 0%; height: 100%; z-index: 3; content: ''; position: absolute; bottom: -1px; right: 0; box-sizing: border-box; transition: .2s; } .sqs-block-button-element--small:hover::before { width: 100% !important; transition: .7s; } .sqs-block-button-element--small::before { border-bottom: 2px solid #000000; } change it to <style> .sqs-block-button-element--small { position:relative; height: 60px; line-height: 60px; text-align: center; transition: 0.5s; padding: 0 20px; cursor: pointer; -webkit-transition:0.5s; } .sqs-block-button-element--small:hover { background-color: transparent; border-color: transparent; color: #000000; } .sqs-block-button-element--small:hover:before{ transition-delay: .2s; } .sqs-block-button-element--small::before{ width: 0%; height: 100%; z-index: 3; content: ''; position: absolute; bottom: -1px; right: 0; box-sizing: border-box; transition: .2s; } .sqs-block-button-element--small:hover::before { width: 100% !important; transition: .7s; } .sqs-block-button-element--small::before { border-bottom: 2px solid #000000; } </style> Also I see on mobile, big white space under header You can add this to Design > Custom CSS to solve /* remove home white space */ @media screen and (max-width:767px) { .homepage #page section:first-child { padding-top: 0 !important; } } 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
omorton Posted November 17, 2020 Author Share Posted November 17, 2020 On 11/11/2020 at 8:13 AM, tuanphan said: In Code injection Header, find this code // Fade Out Line Buttom - Right To Left // .sqs-block-button-element--small { position:relative; height: 60px; line-height: 60px; text-align: center; transition: 0.5s; padding: 0 20px; cursor: pointer; -webkit-transition:0.5s; } .sqs-block-button-element--small:hover { background-color: transparent; border-color: transparent; color: #000000; } .sqs-block-button-element--small:hover:before{ transition-delay: .2s; } .sqs-block-button-element--small::before{ width: 0%; height: 100%; z-index: 3; content: ''; position: absolute; bottom: -1px; right: 0; box-sizing: border-box; transition: .2s; } .sqs-block-button-element--small:hover::before { width: 100% !important; transition: .7s; } .sqs-block-button-element--small::before { border-bottom: 2px solid #000000; } change it to <style> .sqs-block-button-element--small { position:relative; height: 60px; line-height: 60px; text-align: center; transition: 0.5s; padding: 0 20px; cursor: pointer; -webkit-transition:0.5s; } .sqs-block-button-element--small:hover { background-color: transparent; border-color: transparent; color: #000000; } .sqs-block-button-element--small:hover:before{ transition-delay: .2s; } .sqs-block-button-element--small::before{ width: 0%; height: 100%; z-index: 3; content: ''; position: absolute; bottom: -1px; right: 0; box-sizing: border-box; transition: .2s; } .sqs-block-button-element--small:hover::before { width: 100% !important; transition: .7s; } .sqs-block-button-element--small::before { border-bottom: 2px solid #000000; } </style> Also I see on mobile, big white space under header You can add this to Design > Custom CSS to solve /* remove home white space */ @media screen and (max-width:767px) { .homepage #page section:first-child { padding-top: 0 !important; } } The header customization code you provided is giving a syntax error. Link to comment
tuanphan Posted November 18, 2020 Share Posted November 18, 2020 14 hours ago, omorton said: The header customization code you provided is giving a syntax error. Can you take screenshot the error? 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.