Jump to content

Blog custom CSS to change inset background color

Recommended Posts

Site URL: https://fairwaystoleadership.squarespace.com/

Hello,

 

I'm looking to figure out a problem i have with custom inset backgrounds I have running through my whole page. The blog section is the only one that is not listening.

I attach some screenshots.

Link to the page: https://fairwaystoleadership.squarespace.com/

Link to the blog: https://fairwaystoleadership.org/blog

Link to a blog post: https://fairwaystoleadership.org/blog/why-do-golf-flags-differ-in-color

As you can see the links for the next blog posts are not inset and they are not with the grey background color.

Also, the top is also not in the correct inset as i set on the main blog. Does this mean I have to do per section for each blog post?

Thank you!

fix inset.JPG

fix inset 2.JPG

Link to comment
  • Replies 4
  • Views 910
  • Created
  • Last Reply
2 hours ago, Anele said:

Site URL: https://fairwaystoleadership.squarespace.com/

Hello,

 

I'm looking to figure out a problem i have with custom inset backgrounds I have running through my whole page. The blog section is the only one that is not listening.

I attach some screenshots.

Link to the page: https://fairwaystoleadership.squarespace.com/

Link to the blog: https://fairwaystoleadership.org/blog

Link to a blog post: https://fairwaystoleadership.org/blog/why-do-golf-flags-differ-in-color

As you can see the links for the next blog posts are not inset and they are not with the grey background color.

Also, the top is also not in the correct inset as i set on the main blog. Does this mean I have to do per section for each blog post?

Thank you!

fix inset.JPG

fix inset 2.JPG

For the pagination you can use this code. paste below code into CSS editor

.item-pagination--prev-next {margin: 0 9vw !important;}

Link to comment
13 hours ago, Agha_Waqas said:

For the pagination you can use this code. paste below code into CSS editor

.item-pagination--prev-next {margin: 0 9vw !important;}

This worked perfectly! Thanks!!!

Is there a way to fix the top as well? Attached is what i mean (from fix 3, i need to get to fix 4)

fix inset 4.JPG

fix inset 3.JPG

Link to comment
On 4/21/2021 at 6:51 PM, Anele said:

This worked perfectly! Thanks!!!

Is there a way to fix the top as well? Attached is what i mean (from fix 3, i need to get to fix 4)

fix inset 4.JPG

fix inset 3.JPG

Add to Design > Custom CSS

/* Blog posts header */
body.collection-type-blog-alternating-side-by-side.view-item header#header {
    margin-left: 9vw;
    margin-right: 9vw;
}

image.thumb.png.4555be98709852879c84ad609c33b8e3.png

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

Archived

This topic is now archived and is closed to further replies.

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