Jump to content

Change „view” subtitle to something else

Recommended Posts

Hey,

I'd like to manually adjust the code per page to have a different subtitle per gallery. 
The attached image says view for example but I'd like to have the „Antwerp, Belgium" there.

Is there any way to do that? Or instead of changing the view, to make the „Antwerp, Belgium„ part smaller than the Travel Diary part?

Bildschirm­foto 2022-12-10 um 12.44.05 PM.png

Link to comment
  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Forum users need more information. Please see How to Post a Forum Question.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation 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.

Buy me a coffee

Link to comment
On 12/13/2022 at 8:16 PM, sarahjo said:

Does the link to my website help?
 

www.sarahkoester.com

Add to Design > Custom CSS

/* rename view text */
.project-title h3 {
    font-size: 0 !important;
}
.project-title h3:before {
    content: "Antwerp, Belgium";
    font-size: 16px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 12/17/2022 at 2:26 AM, tuanphan said:

Add to Design > Custom CSS

/* rename view text */
.project-title h3 {
    font-size: 0 !important;
}
.project-title h3:before {
    content: "Antwerp, Belgium";
    font-size: 16px;
}

 

@tuanphanIt should only apply to one specific page and not to every page. I tried to add it in the page settings under Advanced but nothing changed. What am I doing wrong?

Link to comment
On 12/19/2022 at 12:39 AM, sarahjo said:

@tuanphanIt should only apply to one specific page and not to every page. I tried to add it in the page settings under Advanced but nothing changed. What am I doing wrong?

Use some code like this (Design > Custom CSS)

/* rename view text */
.project-title h3 {
    font-size: 0 !important;
}
.project-title h3:before {
    font-size: 16px;
}
a[href="/invisible-bond/"] .project-title h3:before {
    content: "text1";
}
a[href="/ching/"] .project-title h3:before {
    content: "text 2";
}
a[href="/fashion-editorial-business-punk/"] .project-title h3:before {
    content: "text3";
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 4 weeks later...
On 1/13/2023 at 10:24 PM, sarahjo said:

@tuanphanThank you! But then, I would have to adjust each project separately which would lead to a very long custom CSS… Is there any workaround that the CSS would only affect specific pages? For most pages, I would like to keep the view subtitle.

Add this code to that Page Header

<style>
  /* rename view text */
.project-title h3 {
    font-size: 0 !important;
}
.project-title h3:before {
    font-size: 16px;
}
a[href="/invisible-bond/"] .project-title h3:before {
    content: "text1";
}
a[href="/ching/"] .project-title h3:before {
    content: "text 2";
}
a[href="/fashion-editorial-business-punk/"] .project-title h3:before {
    content: "text3";
}
</style>

The page will run on list page where you added the code

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.