Create a ‘featured’ blog header | Pseudo header trick

There are various ways you can display your blog posts on your main Squarespace blog page. You can display them in a grid, in a list or in columns. It’s up to you and your design preferences. 

One common feature that many people like to add to their blog is a featured blog post header, which can be either a full bleed header or just an image, that sits at the top of the page and showcases a featured blog post. 

Unfortunately adding a featured post to your blog isn’t a native Squarespace feature and instead you’ll need to create a “pseudo element” that will sit above your blog page content and look to users like it’s being pulled in automatically. 

Take a look at the step-by-step below to understand how to add a featured blog post header to your Squarespace blog. 

Watch the video

Check out the YouTube video below 👇

Six Figure Design Club framework for designing a perfect homepage

Want a framework for designing the perfect homepage?

Create a featured blog header

In the edit dashboard, add a blank section to the top of your page. Add a summary block to the section and display your blog within the block. Above this block, add in an image. The image you choose should be the image you want to display for your featured blog post. 

Create a featured blog header Section Image 1

Edit the image and convert it into a poster image which will allow you to add text on top of the image. Add your featured blog post title in the text block. 

Also in the image editor panel, turn your image into a link by selecting link and and choosing the “on image” option. You can then add in the URL of the blog post you want to feature. 

Create a featured blog header Section Image 2

Next, head to your custom CSS panel and copy and paste in the below code:

 

#BLOCK-ID-HERE {

transition: 0.3s !important;

&:hover {

opacity: 0.7 !important;

transition: 0.3s !important;

}

}

 

Use the Squarespace Block ID Finder to identify the block you want to target and the above code will add a hover effect to the linked image. You can play around with the speed of the transition but I find the above metrics work best.

If you want to add a gradient to your featured blog post image, add the below code to your custom CSS panel:

 

.sqs-block-image .design-layout-poster .image-card-wrapper {

justify-content: flex-start !important;

align-items: flex-end !important;

padding: 20px;

padding-bottom: 50px !important;

}

ADD-YOUR-SECTION-ID-HERE {

.sqs-block-image .design-layout-poster .image-card-wrapper {

z-index: 2,

}

.sqs-block-image .design-layout-poster .image-card-wrapper:after {

content: '';

position: absolute;

bottom: 0%;

background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));

width: 100%;

height: 45%;

left: 0;

z-index: -1;

}

@media (max-width: 500px) {

.sqs-block-image .design-layout-poster .image-card-wrapper:after {

height: 40% !important;

}

}

}

.sqs-block-image .image-block-outer-wrapper.image-block-v2 .image-card {

margin-bottom: -20px !important;

}

 

If you want your featured blog header to fill the screen, simply switch to fluid engine and untoggle fill screen in the edit section panel. You can then use the fluid engine drag and drop to drag the image to fill the screen. 

Create a featured blog header Section Image 3

Adding a featured blog post header is a great way of directing users to a specific blog that you want to drive traffic to and you can use this trick anywhere on your website, not just on the blog page. For example, you can use all of the above steps and add a featured blog post section to your homepage, if you want. 

This process requires some complex code but hopefully I’ve broken it down into simple, digestible steps that are easy to follow. Have a go and let me know how you get on!

book a call with sam crawford squarespace expert

Need an expert to build your Squarespace website?

Book a free kick-off call with our team to discuss your project requirements in detail.

Previous
Previous

Make active link bold in header nav on Squarespace

Next
Next

Add hover effects to images in Squarespace [Easy CSS tutorial]