Jump to content

Create a Space between title on card element

Go to solution Solved by Lesum,

Recommended Posts

Hi there! I'm trying to create space between two quotes on a single image card. It works when I'm in editor, but when I hit save it no longer has the space I created. Is there a way to manually force this with CSS or another work around? website is karlapunogarcia.com/press and it's the second card. 

image.thumb.png.1372953d133e89fed5eda43483aa90ad.png

This is what it's supposed to look like.

image.thumb.png.7be445151f00f186a95f5ba9942855da.png

This is what happens after I hit save. 

Link to comment
  • Replies 4
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

@Lesum Thank you so much! The code created a few extra spaces so I tweaked it to be this code:

#block-yui_3_17_2_1_1693504116039_11361 .image-title em:nth-child(1):after {
    content: "\a\a";
}

 

But, it created an additional space between the title and subtitle elements. Is there a way to get rid of the space between "New York Times" and "Days of Wine and Roses?image.thumb.png.9e2e6005069f935c000b05c4f53ce789.png

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.