Jump to content

7.1 Portfolio – Change position of text and images

Recommended Posts

Posted

Site URL: https://trout-blue-7hts.squarespace.com/

Hey there, 
I'm currently trying customize a portfolio page that's using the hover:fixed layout. I'm trying to achieve two things:

  1. I want to left-align the text.
  2. I want to manually set the position for each image that appears while hovering. Right now they're all appearing in the center, but I'd love to be able to place them anywhere on the page (see the two screenshots as example), each of them at an individual position.

The website: https://trout-blue-7hts.squarespace.com/
Password: baumann1234

Thanks in advance!

Nico

Screen Shot 2022-05-06 at 11.40.35 AM.png

Screen Shot 2022-05-06 at 11.40.26 AM.png

  • Replies 4
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted
On 5/9/2022 at 9:53 PM, NicoB said:

Sorry, I think it should work now. PW is: baumann1234

Let me know!

#1. Add to Design > Custom CSS

/* Portfolio Page - Align titles */
.portfolio-hover-items-list {
    justify-content: flex-start !important;
    text-align: left !important;
    align-items: flex-start !important;
}
.portfolio-hover-items {
    justify-content: flex-start !important;
    align-items: flex-start !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!)

Posted

Thank you, @tuanphan! The left-aligning worked perfectly. Do you know if it's possible to set the position for each hover image individually? I'd love to be able to place them anywhere on the page, at an individual position. (see the two screenshots in my first post as example)

Thank you!

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.