khs123 Posted October 14, 2021 Share Posted October 14, 2021 How do I remove the dash in front of the blockquote source? Thanks Link to comment
creedon Posted October 14, 2021 Share Posted October 14, 2021 Please post the URL for a page on your site where we can see your issue. If your site is not public please set up a site-wide password, if you've not already done so. Post the password here. Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works. Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/. We can then take a look at your issue. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
khs123 Posted October 14, 2021 Author Share Posted October 14, 2021 https://icosahedron-chipmunk-8chf.squarespace.com The pages aren't enabled, as I have a holding page up, so I can't give access to the pages without enabling the pages. Guess you should be able to see the stylesheet though? Link to comment
creedon Posted October 14, 2021 Share Posted October 14, 2021 This is an interesting one. The dash is being added by SS as actual text in the HTML. ☹️ Because SS added the dash in the actual HTML it makes using CSS alone to remove the dash fairly inefficient. You'd end up basically reentering the quote source again in the CSS. If I were to approach this problem I'd probably use Javascript to remove the dash from quote blocks and then if wanted, use CSS to add a dash. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
creedon Posted October 15, 2021 Share Posted October 15, 2021 (edited) Please see Block Quote Source CSS Em Dash. Basically this changes the way SS handles adding the em dash to the source. Edited October 15, 2021 by creedon Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Solution paul2009 Posted October 15, 2021 Solution Share Posted October 15, 2021 12 hours ago, khs123 said: How do I remove the dash in front of the blockquote source? You should be able to hide it easily by setting the colour of the em dash character as transparent using some Custom CSS: .sqs-block-quote .source::first-letter { color: transparent; } If this post has helped you, please click a 'Like' or 'Thanks' icon below ⬇️ creedon 1 About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
khs123 Posted October 15, 2021 Author Share Posted October 15, 2021 Thanks @creedon and @paul2009 The website is only on a basic plan, so can't use the javascript option unfortunately. The transparent option is a good idea, but it doesn't seem to be working. I can make the entire source transparent using: .quote-block .source { color: transparent !important; } However, I've tried both .sqs-block-quote .source::first-letter { color: transparent !important; } and .quote-block .source::first-letter { color: transparent !important; } but neither of them are picking up the dash. I've also tried using "first-child" instead of "first-letter", but that also didn't work. Any other ideas? Link to comment
paul2009 Posted October 15, 2021 Share Posted October 15, 2021 20 minutes ago, khs123 said: it doesn't seem to be working I've tested this on another site without issue, on Safari and Chrome, without additional selectors/importance. If you'd like help troubleshooting, we will need you to add the CSS and provide a link to the page where you've added the quote. It would also be helpful to know which browser/version you are using. About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
khs123 Posted October 15, 2021 Author Share Posted October 15, 2021 @paul2009 - I'm using Firefox. I've just tried it on Safari, and it did indeed work, so thank you. Frustrating that Firefox doesn't seem to recognise it, but hey ho. Link to comment
creedon Posted October 15, 2021 Share Posted October 15, 2021 Can I Use says that recent versions of FF supports first-letter. However it appears what FF considers a first letter is not like other browsers. FF indeed will apply first-letter to A-Z a-z 0-9. It is spotty on working with non letter/number characters. It's kind of strange which ones they decided to include as letters and which ones not. Of course as we've seen they didn't think em dash was a first-letter. paul2009 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
paul2009 Posted October 15, 2021 Share Posted October 15, 2021 Agreed. There's evidence that Firefox is buggy when dealing with certain types of dashes. About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. 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