Jump to content

super noob: add text on thumbnail

Recommended Posts

  • Replies 8
  • Views 494
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

@media screen and (min-width:992px) {
.portfolio-text {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.25s;
}
.portfolio-grid-basic .grid-item {
    position: relative;
}
.grid-item:hover .portfolio-text {
    opacity: 1;
}
}

 

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
40 minutes ago, marneknold said:

waw @tuanphan !!! i will try this out asap !!! Thank you very much ! hope it works !!

1 question (super noob, sorry) where do i type in the text that goes on top of the thumbnail ??

 

Marco !

Ok i get it.

it graps the images title. great !!

if you have the time, and know how. i would now like the picture to turn a little dark, and the text to be white...

sorry for the trouble, hope you can help !

 

THANK YOU !!!

Link to comment
3 minutes ago, marneknold said:

Ok i get it.

it graps the images title. great !!

if you have the time, and now how. i would now like the picture to turn a little dark, and the text to be white...

sorry for the trouble, hope you can help !

 

THANK YOU !!!

actually, i would like it to be kinda like on this site https://balstrup.io/

on this site, the thumbnail, still have a title, but when you hover over the picture i turns a little dark, at som text appears.

i would like for my text, not to be i a box though.

 

THANKS a MILLION 

marco  

Link to comment
15 hours ago, marneknold said:

actually, i would like it to be kinda like on this site https://balstrup.io/

on this site, the thumbnail, still have a title, but when you hover over the picture i turns a little dark, at som text appears.

i would like for my text, not to be i a box though.

 

THANKS a MILLION 

marco  

Have you solved yet?

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

Have you solved yet?

Hi @tuanphan. I havent solved it yet.... i would LOVE some help. i have found a better example of how i wan't it to be though...

i would like for my projet images in my portfolio to be like in the first example from this site :

http://css-workshop.com/hover-box-text-over-images-on-hover-and-more/

so, some white text appears and the image turns a little dark. i would like for the image to still have a title though, underneath the image, like it is on my site now.

 

Really appreciate your help @tuanphan. 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.