Jump to content

Making text sticky to image block

Recommended Posts

Hello!

 

On my "meet the fellows page" on stemnetx.org, I'm trying to make the text of their names stay with their pictures. All of them are doing so except the last row and I'm not sure why.

 

I have tried:

 

@media screen and (min-width:768px) {
#block-ca412a121bd46681a338, #block-#block-79b130fb6d30c818f6ba, #block-#block-c5ccd986fe789158eef0 {
    position: sticky;
    top: 0;
    position: -webkit-sticky;
    z-index: 999;
}
}

 

But it is doing absolutely nothing. Can anyone help?

Link to comment
  • Replies 3
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...

Honestly my dear tuanphan, all of my questions thus far have been easily answered by realizing I'm turning off/on capabilities that are programmed in.

 

But I am still running into this issue:

 

I have both my news section and blog section set up as blog pages. I cannot seem to get the author/date turned off on my news page without it also shutting it off on my blog page.

www.stemnetx.org

 

Is there anyway to only have it show up on my blog page?

Link to comment
On 4/16/2024 at 2:35 AM, Arielb333 said:

Honestly my dear tuanphan, all of my questions thus far have been easily answered by realizing I'm turning off/on capabilities that are programmed in.

 

But I am still running into this issue:

 

I have both my news section and blog section set up as blog pages. I cannot seem to get the author/date turned off on my news page without it also shutting it off on my blog page.

www.stemnetx.org

 

Is there anyway to only have it show up on my blog page?

You can use this code to Website > Website Tools > Custom CSS

body.collection-65a8255d13d55f6f1301cfd9 .blog-item-meta-wrapper {
    display: none !important;
}

 

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.