FrancescoRusso Posted January 28, 2021 Share Posted January 28, 2021 Site URL: https://coconut-penguin-g55p.squarespace.com/ Hi all, I'm having hard times customising my Gallery Strip blocks. I used the custom CSS code below, but I'm not quite there yet. Site: https://coconut-penguin-g55p.squarespace.com/ PW: MassTrial Page: Projects (the first element of the main menu) I would like to customise the captions even more, as close as possible to the effect I obtained with the image block at the top of the same page. Any chance someone can help with: - caption justified to the centre (when the text wraps the caption is justified to the left) - caption split in two lines (Project Name / Photographer Name) - Font line above H2 (Project Name), font line below p2 (Photographer Name) Thank you in advance! //* GALLERY STRIP HOVER EFFECT *// figure.gallery-strips-item { position: relative;} .gallery-caption { position: static;} /* title */ .gallery-caption-content { color: white; position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; z-index: 999; padding: 20%; transition: opacity ease 200ms !important; opacity: 0 !important; pointer-events: none;} .gallery-strips-item:hover .gallery-caption-content { opacity: 1 !important;} /* overlay */ .gallery-strips-item-wrapper a:after { background: #1653B3; content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity ease 200ms !important;} .gallery-strips-item:hover .gallery-strips-item-wrapper a:after { opacity: 0.5;} //* GALLERY STRIP HOVER EFFECT *// Link to comment
tuanphan Posted February 3, 2021 Share Posted February 3, 2021 You mean Featured Projects? It looks like you solved it? 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
Ferenc Posted February 7, 2021 Share Posted February 7, 2021 Hi, Although I asked this in a brand new topic, I copy it here because it's pretty relevant: I'm trying to make a gallery block with 4 images that have custom image ratios and text on them. You can see my goal on the attached picture. Do you guys have any suggestions how to make this happen? Thank you in advance! Link to comment
tuanphan Posted February 8, 2021 Share Posted February 8, 2021 14 hours ago, Ferenc said: Hi, Although I asked this in a brand new topic, I copy it here because it's pretty relevant: I'm trying to make a gallery block with 4 images that have custom image ratios and text on them. You can see my goal on the attached picture. Do you guys have any suggestions how to make this happen? Thank you in advance! Can you share your site url? 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.