RyanCaldarone Posted April 27, 2022 Share Posted April 27, 2022 Site URL: https://www.pocketwriter.biz/portfolio Weird bug/glitch. Only on mobile the H2's are missing the first character. Desktop version is fine. Only affects H2's (both in the image blocks [side by side] and normal text blocks). It was displaying perfectly fine before I added two ghost-plugins for quote blocks and stylizing H4's (neither exist on this page). Here are the two plugins (which are functioning fine) I installed before I noticed the bug. Not sure if it's related or a coincidence. https://www.ghostplugins.com/steps/x26hdt8j https://www.ghostplugins.com/steps/k9ehn8lg I'd also welcome any general feedback on this page, or the rest of the site. I just added some of the new art-backgrounds and they're really really fun! -Ryan www.pocketwriter.biz Link to comment
Solution paul2009 Posted April 27, 2022 Solution Share Posted April 27, 2022 This is due to the following line of CSS in one of those plugins: figcaption::first-letter { font-size: 0; } The H2s are part of the figcaption for the Image Card. Was this post helpful? Please give feedback by clicking an icon below ⬇️ RyanCaldarone 1 Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Buy me a coffee Link to comment
RyanCaldarone Posted April 27, 2022 Author Share Posted April 27, 2022 1 hour ago, paul2009 said: This is due to the following line of CSS in one of those plugins: figcaption::first-letter { font-size: 0; } The H2s are part of the figcaption for the Image Card. Was this post helpful? Please give feedback by clicking an icon below ⬇️ Amazing. Thanks for pointing that out Paul! 👍 www.pocketwriter.biz Link to comment
RyanCaldarone Posted April 27, 2022 Author Share Posted April 27, 2022 10 hours ago, RyanCaldarone said: Amazing. Thanks for pointing that out Paul! 👍 Looks like changing that 0 to a 1 fixed the H2 issue on image cards throughout the site, without changing how the plugin did its desired function. "figcaption::first-letter { font-size: 1; }" www.pocketwriter.biz 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