Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by ginnyd

  1. 1 hour ago, paul2009 said:

    The code is just slightly oversimplified. If you add a line height it should be fine. For example, here's the second part of the code, with this added:

    .product-mark.sale:before {
      font-size: 15px;
      content: "Pre-Order";
      line-height: 1em;

      If this post has helped you, please click a 'Like' or 'Thanks' icon below  ⬇️

    That fixed it perfectly!! Thank you so much!

  2. Site URL: http://ginnydi.com

    I'm using this code to change "Sale" to "Pre-Order":

    .product-mark.sale {
        font-size: 0;
    .product-mark.sale:before {
        font-size: 15px;
        content: "Pre-Order";

    It's working mostly as intended, but for some reason it made the actual rectangle of the "flag" behind the text much narrower.  You can see it on this test page, but I've also attached a screenshot of it for posterity. You can see that compared to the "Sold Out" flag to the right, the flag is much thinner. How can I fix this?

    Screen Shot 2021-10-29 at 3.40.57 PM.png

  • 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.