Jump to content

Turn off author and author profile on one blog page but not the other

Recommended Posts

7 hours ago, tuanphan said:

Add to Podcast Page Header (hover Podcast Page on Pages > Main Navigation or Not Linked > Click Gear icon > Advanced)

<style>
  div.blog-item-author-profile-wrapper {
    display: none !important;
}
</style>

 

This worked for the author profile but can I also remove the "Written by" at the top of the page as well and on the podcast home page without removing it from my other blog page. I'd also like the image to be square in 3 in a row on the page but not change the other blog page. Not sure why Squarespace does this since they are 2 separate pages. 

Screen Shot 2022-08-25 at 10.23.14 AM.png

Screen Shot 2022-08-25 at 10.24.20 AM.png

Screen Shot 2022-08-25 at 10.25.31 AM.png

Screen Shot 2022-08-25 at 10.25.38 AM.png

Link to comment

Add this code under

<style>
span.blog-author {
    display: none !important;
}
span.blog-meta-delimiter {
    display: none;
}
.blog-meta-item.blog-meta-item--author.p-author.author {
    display: none;
}
  time:after {
    visibility: hidden;
}
</style>

 

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
  • 4 weeks later...
On 8/28/2022 at 2:41 AM, tuanphan said:

Add this code under

<style>
span.blog-author {
    display: none !important;
}
span.blog-meta-delimiter {
    display: none;
}
.blog-meta-item.blog-meta-item--author.p-author.author {
    display: none;
}
  time:after {
    visibility: hidden;
}
</style>

 

This is great! Any way you know how to change the size of the image without changing the size of the images on the other blog page we have? I want them to display in 3 columns and as squares not the other settings I have for my other blog page. 

1725766970_ScreenShot2022-08-25at10_25_38AM.png.58a597e18161a0a64be72b009356a352.png

Screen Shot 2022-09-19 at 11.03.16 AM.png

Link to comment
18 hours ago, ChiroUp said:

This is great! Any way you know how to change the size of the image without changing the size of the images on the other blog page we have? I want them to display in 3 columns and as squares not the other settings I have for my other blog page. 

1725766970_ScreenShot2022-08-25at10_25_38AM.png.58a597e18161a0a64be72b009356a352.png

Screen Shot 2022-09-19 at 11.03.16 AM.png

You mean reduce width & height? Try this code

<style>
  .tweak-blog-basic-grid-image-aspect-ratio-32-standard .blog-basic-grid .image-wrapper {
    padding-bottom: 40% !important;
}

.blog-basic-grid .blog-basic-grid--container.is-loaded>div:first-child {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
</style>

 

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
5 hours ago, tuanphan said:

You mean reduce width & height? Try this code

<style>
  .tweak-blog-basic-grid-image-aspect-ratio-32-standard .blog-basic-grid .image-wrapper {
    padding-bottom: 40% !important;
}

.blog-basic-grid .blog-basic-grid--container.is-loaded>div:first-child {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
</style>

 

Hm, no. So on my blog page: https://chiroup.com/blog we have the blogs displayed into 2 columns and the images are a 3:2 ratio. Now, on my podcast page: https://chiroup.com/podcast I want them to display in 3 columns and the image be a 1:1 ratio. (square) When I go to change it on the podcast page in the "edit section" settings, it changes the set up of the blog page too. I only want this to affect the podcast page, not the blog page.

Link to comment
7 hours ago, ChiroUp said:

Hm, no. So on my blog page: https://chiroup.com/blog we have the blogs displayed into 2 columns and the images are a 3:2 ratio. Now, on my podcast page: https://chiroup.com/podcast I want them to display in 3 columns and the image be a 1:1 ratio. (square) When I go to change it on the podcast page in the "edit section" settings, it changes the set up of the blog page too. I only want this to affect the podcast page, not the blog page.

Add to Podcast Page Header

<style>
  @media screen and (min-width:992px) {
  .tweak-blog-basic-grid-width-inset .blog-basic-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}
.tweak-blog-basic-grid-image-aspect-ratio-32-standard .blog-basic-grid .image-wrapper {
    padding-bottom: 100% !important;
}
  }
</style>

 

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
On 9/20/2022 at 6:53 PM, tuanphan said:

Add to Podcast Page Header

<style>
  @media screen and (min-width:992px) {
  .tweak-blog-basic-grid-width-inset .blog-basic-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}
.tweak-blog-basic-grid-image-aspect-ratio-32-standard .blog-basic-grid .image-wrapper {
    padding-bottom: 100% !important;
}
  }
</style>

 

This worked!! However not on mobile. Is there a way to make the code work on mobile so the pictures are squares on mobile as well?

Link to comment
On 9/23/2022 at 12:53 AM, ChiroUp said:

This worked!! However not on mobile. Is there a way to make the code work on mobile so the pictures are squares on mobile as well?

Try this new code

<style>
  @media screen and (min-width:992px) {
  .tweak-blog-basic-grid-width-inset .blog-basic-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}
  }
  .tweak-blog-basic-grid-image-aspect-ratio-32-standard .blog-basic-grid .image-wrapper {
    padding-bottom: 100% !important;
}
</style>

 

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.