tristankatz Posted December 30, 2021 Share Posted December 30, 2021 Site URL: https://helicon-butterfly-lyae.squarespace.com/books I'm noticing that the image blocks on my mobile site are cutting off the first letter in the first line of text associated with each image. Squarespace support told me that a portion of my Custom CSS code is causing the problem, but they're not able to offer support with which piece of code! I'm hoping that, if I share the CSS I'm using here (see below—there's a lot), along with the URL, someone will be able to help! I'm also including a screenshot with an arrow indicating where the text is missing. It should read "published" and not "ublished." 🙂 Thanks, in advance! URL: https://helicon-butterfly-lyae.squarespace.com/books Custom CSS I'm using: // Flip Over Social Icons // .header-actions .header-actions-action--social a { transform: scaleX(1) !important; transition: all ease-in-out .5s !important; } .header-actions .header-actions-action--social a:hover { transform: scaleX(-1) !important; transition: all ease-in-out .5s !important; } // Site Title Tagline // .header-title:after { content: 'HONOR YOUR CRAFT'; font-size: 15px; padding-top: 5px; color: #FFFFFF; display: block; } // Spotlight Navigation Style // .header-nav-list:hover > .header-nav-item { opacity: 0.5; } .header-nav-list:hover > .header-nav-item:hover { opacity: 1.0; } // Spotlight Navigation Folder Style // .header-nav-folder-content:hover > .header-nav-folder-item { opacity: 0.5; } .header-nav-folder-content:hover > .header-nav-folder-item:hover { opacity: 1.0; } // Quote Block Main // .quote-block figure { padding-left: 20px; text-align: left; padding-bottom: 10px; padding-top: 20px; } // Quote Source Text // .sqs-block-quote .source { color: #000000 !important; text-align: right !important; border-top: 1px solid #000000 !important; margin-top: 10px !important; text-transform: uppercase; font-size: 12px !important; letter-spacing: .2em; } // Quote Block // .quote-block blockquote>span:first-child { display: none; } .quote-block blockquote>span:first-child, .quote-block blockquote>span:last-child { display: none; } figcaption::first-letter { font-size: 0;} // Drop Shadow Social Icons // .sqs-block-socialaccountlinks-v2 a { overflow: visible; display: inline-block; vertical-align: middle; -webkit-transform: perspective(1px) translateZ(0); transform: perspective(1px) translateZ(0); box-shadow: 0 0 1px transparent; position: relative; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-property: transform; transition-property: transform; } .sqs-block-socialaccountlinks-v2 a:before { pointer-events: none; position: absolute; z-index: 1000000; content: ' '; top: 100%; left: 5%; height: 10px; width: 90%; opacity: 0; background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 80%); background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 80%); -webkit-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-property: transform, opacity; transition-property: transform, opacity; } .sqs-block-socialaccountlinks-v2 a:hover, .sqs-block-socialaccountlinks-v2 a:focus, .sqs-block-socialaccountlinks-v2 a:active { -webkit-transform: translateY(-5px); transform: translateY(-5px); } .sqs-block-socialaccountlinks-v2 a:hover:before, .sqs-block-socialaccountlinks-v2 a:focus:before, .sqs-block-socialaccountlinks-v2 a:active:before { opacity: 1; -webkit-transform: translateY(5px); transform: translateY(5px); } .social-icons-style-regular .sqs-use--icon{ fill: #FFFFFF !important; } .social-icons-style-regular .sqs-svg-icon--wrapper:hover .sqs-use--icon{ fill: #000000 !important; } Link to comment
jpeter Posted December 31, 2021 Share Posted December 31, 2021 The following CSS appears to work: .sqs-block-image .sqs-dynamic-text { display: inline-block; } calibratedconcepts 1 Full stack developer who loves helping people out with anything web related. If you'd like to support me, buy me a coffee! Link to comment
Beyondspace Posted December 31, 2021 Share Posted December 31, 2021 23 hours ago, tristankatz said: Site URL: https://helicon-butterfly-lyae.squarespace.com/books I'm noticing that the image blocks on my mobile site are cutting off the first letter in the first line of text associated with each image. Squarespace support told me that a portion of my Custom CSS code is causing the problem, but they're not able to offer support with which piece of code! I'm hoping that, if I share the CSS I'm using here (see below—there's a lot), along with the URL, someone will be able to help! I'm also including a screenshot with an arrow indicating where the text is missing. It should read "published" and not "ublished." 🙂 Thanks, in advance! URL: https://helicon-butterfly-lyae.squarespace.com/books Custom CSS I'm using: // Flip Over Social Icons // .header-actions .header-actions-action--social a { transform: scaleX(1) !important; transition: all ease-in-out .5s !important; } .header-actions .header-actions-action--social a:hover { transform: scaleX(-1) !important; transition: all ease-in-out .5s !important; } // Site Title Tagline // .header-title:after { content: 'HONOR YOUR CRAFT'; font-size: 15px; padding-top: 5px; color: #FFFFFF; display: block; } // Spotlight Navigation Style // .header-nav-list:hover > .header-nav-item { opacity: 0.5; } .header-nav-list:hover > .header-nav-item:hover { opacity: 1.0; } // Spotlight Navigation Folder Style // .header-nav-folder-content:hover > .header-nav-folder-item { opacity: 0.5; } .header-nav-folder-content:hover > .header-nav-folder-item:hover { opacity: 1.0; } // Quote Block Main // .quote-block figure { padding-left: 20px; text-align: left; padding-bottom: 10px; padding-top: 20px; } // Quote Source Text // .sqs-block-quote .source { color: #000000 !important; text-align: right !important; border-top: 1px solid #000000 !important; margin-top: 10px !important; text-transform: uppercase; font-size: 12px !important; letter-spacing: .2em; } // Quote Block // .quote-block blockquote>span:first-child { display: none; } .quote-block blockquote>span:first-child, .quote-block blockquote>span:last-child { display: none; } figcaption::first-letter { font-size: 0;} // Drop Shadow Social Icons // .sqs-block-socialaccountlinks-v2 a { overflow: visible; display: inline-block; vertical-align: middle; -webkit-transform: perspective(1px) translateZ(0); transform: perspective(1px) translateZ(0); box-shadow: 0 0 1px transparent; position: relative; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-property: transform; transition-property: transform; } .sqs-block-socialaccountlinks-v2 a:before { pointer-events: none; position: absolute; z-index: 1000000; content: ' '; top: 100%; left: 5%; height: 10px; width: 90%; opacity: 0; background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 80%); background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 80%); -webkit-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-property: transform, opacity; transition-property: transform, opacity; } .sqs-block-socialaccountlinks-v2 a:hover, .sqs-block-socialaccountlinks-v2 a:focus, .sqs-block-socialaccountlinks-v2 a:active { -webkit-transform: translateY(-5px); transform: translateY(-5px); } .sqs-block-socialaccountlinks-v2 a:hover:before, .sqs-block-socialaccountlinks-v2 a:focus:before, .sqs-block-socialaccountlinks-v2 a:active:before { opacity: 1; -webkit-transform: translateY(5px); transform: translateY(5px); } .social-icons-style-regular .sqs-use--icon{ fill: #FFFFFF !important; } .social-icons-style-regular .sqs-svg-icon--wrapper:hover .sqs-use--icon{ fill: #000000 !important; } Try .image-title-wrapper em { display: inline-block; } Let me know how it works on your site Support me by pressing 👍 if this useful for you calibratedconcepts 1 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
Beyondspace Posted December 31, 2021 Share Posted December 31, 2021 My testing 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment