Jump to content

Feedback and solutions for a weird bug. First letter of H2 cutoff only on mobile. 7.1 |Ghost Plugins related?

Go to solution Solved by paul2009,

Recommended Posts

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

Link to comment
  • Solution

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  ⬇️

 

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity 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.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment
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! 👍 

Link to comment
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;
}"

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.