Jump to content

Columns Gallery with Lines and moving photos while hover

Recommended Posts

Site URL: https://evamauermann.com

Hey lovely Squarespace people!

I'm setting up my new website for my photography: https://evamauermann.com (Password: Help) 🙂

On the Landing Homepage I'd like to link my portfolio with three photos, that are clickable and linked to the actual portfolio pages. Right now I already have this and it also works (see Homepage, scroll to Portfolio).

BUT, I have fallen in love with a design I found on another website and I wonder if it's possible to achieve this look with CSS? 🙈
It's this website: https://www.luisaapanui.com/   and scroll down to "Our work" (also see attached files).
It looks like a grid (?) with three embedded photos, that also move to the right when hovering over them.

I also searched on various platforms (will myers, ghost, elfsight, etc.) if this is a plugin that I can buy, but I didn't find anything.

Maybe someone can help, thanks (or knows where I can find this)! 🙏

 

Screenshot 2024-09-18 112212.png

Screenshot 2024-09-18 112245.png

Link to comment
  • Replies 10
  • Views 499
  • Created
  • Last Reply

Top Posters In This Topic

So now you want photo move right on hover

or you want photo move right on hover + add a border around 3 photos?

If move right on hover, use this code to Website Tools > Custom CSS

section[data-section-id="66e9ea69d23c463c98a03892"] figure:hover {
    transform: translateX(50px);
    transition: all 0.3s;
}
section[data-section-id="66e9ea69d23c463c98a03892"] figure {
    transition: all 0.3s;
}

 

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

So now you want photo move right on hover

or you want photo move right on hover + add a border around 3 photos?

If move right on hover, use this code to Website Tools > Custom CSS

section[data-section-id="66e9ea69d23c463c98a03892"] figure:hover {
    transform: translateX(50px);
    transition: all 0.3s;
}
section[data-section-id="66e9ea69d23c463c98a03892"] figure {
    transition: all 0.3s;
}

 

And this code isn't working 😞  the photos don't move when I hover over them

 

Link to comment
On 9/20/2024 at 5:44 PM, Journalfloral said:

 

And this code isn't working 😞  the photos don't move when I hover over them

 

I just tested and and it still works here. You can add the code to top of CSS box then check again. If it still doesn't work, you can add and keep the code, I can check easier.

And use this new code for moving + add border

section[data-section-id="66e9ea69d23c463c98a03892"] figure:hover {
    transform: translateX(50px);
    transition: all 0.3s;
}
section[data-section-id="66e9ea69d23c463c98a03892"] figure {
    transition: all 0.3s;
    border: 1px solid black;
    border-radius: 50px;
}

 

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
1 hour ago, tuanphan said:

I just tested and and it still works here. You can add the code to top of CSS box then check again. If it still doesn't work, you can add and keep the code, I can check easier.

And use this new code for moving + add border

section[data-section-id="66e9ea69d23c463c98a03892"] figure:hover {
    transform: translateX(50px);
    transition: all 0.3s;
}
section[data-section-id="66e9ea69d23c463c98a03892"] figure {
    transition: all 0.3s;
    border: 1px solid black;
    border-radius: 50px;
}

 

 

Adding the code to the top of the CSS box worked, thanks! 🙂

Could you also add a border like in the pictures in my first post and also some titels and those little arrows that appear when the photo hovers to the side? 🙏

 

Link to comment
20 hours ago, Journalfloral said:

 

Adding the code to the top of the CSS box worked, thanks! 🙂

Could you also add a border like in the pictures in my first post and also some titels and those little arrows that appear when the photo hovers to the side? 🙏

 

Border

You mean make 3 items touch together?

Arrow

Static arrow only or clickable arrow?

If clickable, arrow - image will use same link or different link?

Title

You can enable Gallery Section Caption then add some caption to Images, text will appear under image

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
55 minutes ago, tuanphan said:

Border

You mean make 3 items touch together?

Arrow

Static arrow only or clickable arrow?

If clickable, arrow - image will use same link or different link?

Title

You can enable Gallery Section Caption then add some caption to Images, text will appear under image

 

Screenshot2024-09-24123447.thumb.png.1dc29b1d7da2673ca218372682c02397.png

 

Border

You mean make 3 items touch together?

-> Yes, see picture above (orange). It looks like a table with three columns and one row. And with a thin border.

 

Arrow

Static arrow only or clickable arrow?

If clickable, arrow - image will use same link or different link?

--> see picture above (red). The arrow appears when the photo has moved to the side. The arrow should be clickable and linked to the same link as the image is at the moment.

 

Title

You can enable Gallery Section Caption then add some caption to Images, text will appear under image

--> see picture above (blue). Would like to have the titels under (1. photo), above (2. photo), under (3. photo) and I would also like to be able to change font, size, etc.

 

Thanks!

 

Edited by Journalfloral
Link to comment

With title, you can enable Gallery Caption and add some text, I can add code easier

With border, remove hover code I sent + add this code.

Change 20px for space between image - black border

section[data-section-id="66e9ea69d23c463c98a03892"] {
.gallery-grid-item {
    display: block;
    border: 1px solid black; 
    box-sizing: border-box;
    padding: 20px;
}
.gallery-grid-wrapper {
    grid-gap: 0px !important;
}
.gallery-grid-item:nth-child(2) {
    border-left: none !important;
    border-right: none !important;
}}

then I will check and send new code for hover

image.thumb.png.c919c1a0017876de8d672c4ecd4cb048.png

With arrow, I will check it when solve title first

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
18 minutes ago, tuanphan said:

With title, you can enable Gallery Caption and add some text, I can add code easier

With border, remove hover code I sent + add this code.

Change 20px for space between image - black border

section[data-section-id="66e9ea69d23c463c98a03892"] {
.gallery-grid-item {
    display: block;
    border: 1px solid black; 
    box-sizing: border-box;
    padding: 20px;
}
.gallery-grid-wrapper {
    grid-gap: 0px !important;
}
.gallery-grid-item:nth-child(2) {
    border-left: none !important;
    border-right: none !important;
}}

then I will check and send new code for hover

image.thumb.png.c919c1a0017876de8d672c4ecd4cb048.png

With arrow, I will check it when solve title first

 

I removed the old code and used the new one. Now there are black frames/borders 🙂

 

And I also enabled the Gallery captions and added some text.

 

Link to comment
  • 2 weeks later...

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.