Jump to content

Subtitle below Titles on Blog Summary Page

Recommended Posts

I am trying to add a subtitle below my Blog Title on my Blog Post Summary page. I know I can do the meta data, but i need something more custom. I am wanting to put the Location/Venue name under the Title(Names of the people). And then still have my short excerpt. Is there a way to accomplish this? Screenshot attached for what im trying to accomplish. 

 

Screenshot Google Chrome-2024-04-06.png

Link to comment
7 hours ago, Rorafilmco said:

What is your site-wide password?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

@Rorafilmco

First, you can use this code to Website > Website Tools > Code Injection > Footer (Or Blog Page Header Code Injection)

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
  $(".blog-item-title h1, h1.blog-title").each(function(){
    $(this).html($(this).text());
  });
});
</script>

Blog Subtitle02 Min

Next, use this code to Website Tools > Custom CSS

h1.blog-title em, .blog-item-title em {
    font-style: normal;
    display: block;
    font-size: 26px;
    color: #f1f;
}

Blog Subtitle03 Min

Next, edit each blog post title, use this format

Blog Post Title 03 <em>Trekking</em>

Blog Subtitle01 Min

Result

Blog Subtitle05 Min

In case you use Summary Block, you will need a new code. You can share link to page where you use Summary Block, I will adjust the code easier.

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!)

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.