Jump to content

Rte

Member
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Rte

  1. On 8/24/2020 at 2:50 PM, tuanphan said:

    Add to Page Settings > Advanced > Header

    
    <style>
      /* First name */
    .field.first-name span.caption-text {
        visibility: hidden;
    }
    .field.first-name span.caption-text:before {
        visibility: visible;
        content: "New first";
    }
    /* last name */
    .field.last-name span.caption-text {
        visibility: hidden;
    }
    .field.last-name span.caption-text:before {
        visibility: visible;
        content: "new last name";
    }
    </style>

     

    Is this instead of the Design > Custom CSS or should I keep both?

  2. On 8/21/2020 at 12:56 PM, tuanphan said:

    Add to Home > Design > Custom CSS

    
    /* First name */
    .field.first-name span.caption-text {
        visibility: hidden;
    }
    .field.first-name span.caption-text:before {
        visibility: visible;
        content: "New first";
    }
    /* last name */
    .field.last-name span.caption-text {
        visibility: hidden;
    }
    .field.last-name span.caption-text:before {
        visibility: visible;
        content: "new last name";
    }

     

    @tuanphan  Thank you! this works fine but this also overwrites the English version that should remain, is there a way to keep the EN and FI code separately? now they are both in FI https://www.chipa.fi/contact 

     

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