Jump to content

Change „view” subtitle to something else

Recommended Posts

Posted

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

  • Replies 8
  • Views 389
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

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

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted
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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted
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?

Posted
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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 4 weeks later...
Posted

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

Posted
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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.