BradyAvenue Posted September 7, 2021 Share Posted September 7, 2021 Site URL: https://www.lmartinid.com/portfolio Hello, For my portfolio page, I'd love to either have the hover change the image to a solid color background and text like this OR have color image change to black and white image with text (text will be title of project). Any CSS help would be appreciated! THANK YOU! Link to comment
tuanphan Posted September 8, 2021 Share Posted September 8, 2021 If you add text in Image Block (not add a Text Block), then we can use CSS to achieve hover effect. 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
BradyAvenue Posted September 8, 2021 Author Share Posted September 8, 2021 (edited) Thanks @tuanphan, I added Caption overlay in hover to Bay Laurel image...is that what you meant? Now I need CSS code to achieve the desired design described below: For my portfolio page, I'd love to either have the hover change the image to a solid color background and text like this OR have color image change to black and white image with text (text will be title of project). Any CSS help would be appreciated! THANK YOU! Edited September 8, 2021 by BradyAvenue Link to comment
tuanphan Posted September 12, 2021 Share Posted September 12, 2021 On 9/9/2021 at 12:12 AM, BradyAvenue said: Thanks @tuanphan, I added Caption overlay in hover to Bay Laurel image...is that what you meant? Now I need CSS code to achieve the desired design described below: For my portfolio page, I'd love to either have the hover change the image to a solid color background and text like this OR have color image change to black and white image with text (text will be title of project). Any CSS help would be appreciated! THANK YOU! Hi, Add to Design > Custom CSS /* Portfolio image hover */ div#page-54a6b53ae4b0c309d017f70d { figcaption.image-caption-wrapper { max-height: unset !important; height: 100% !important; display: flex; justify-content: center; align-items: center; } .image-caption p { margin: 0 !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
BradyAvenue Posted September 12, 2021 Author Share Posted September 12, 2021 (edited) @tuanphanI added the CSS code, yet the desired hover design is not happening. DESIGN DESIRED: For my portfolio page, I'd love to either have the hover change the image to a solid color background and text like this OR have color image change to black and white image with text (text will be title of project). Edited September 12, 2021 by BradyAvenue Link to comment
tuanphan Posted September 15, 2021 Share Posted September 15, 2021 On 9/12/2021 at 11:28 PM, BradyAvenue said: @tuanphanI added the CSS code, yet the desired hover design is not happening. DESIGN DESIRED: For my portfolio page, I'd love to either have the hover change the image to a solid color background and text like this OR have color image change to black and white image with text (text will be title of project). Just tested on browser & it works here. Can you add & keep the code? We can check it again easier? 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
BradyAvenue Posted September 25, 2021 Author Share Posted September 25, 2021 (edited) It worked @tuanphan, thank you so very much! However, the link to the pages from those thumbnails is not working now...can you help resolve that? Edited September 25, 2021 by BradyAvenue Link to comment
tuanphan Posted September 27, 2021 Share Posted September 27, 2021 On 9/26/2021 at 6:08 AM, BradyAvenue said: It worked @tuanphan, thank you so very much! However, the link to the pages from those thumbnails is not working now...can you help resolve that? Use this new code /* Portfolio image hover */ div#page-54a6b53ae4b0c309d017f70d { figcaption.image-caption-wrapper { max-height: unset !important; height: 100% !important; display: flex; justify-content: center; align-items: center; pointer-events: none; /* enable click */ } .image-caption p { margin: 0 !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
BradyAvenue Posted September 27, 2021 Author Share Posted September 27, 2021 This is AWESOME, thank you @tuanphan - how do I increase the font size of the captions/font of the captions? They are SO small by default. Link to comment
tuanphan Posted September 28, 2021 Share Posted September 28, 2021 On 9/27/2021 at 11:37 AM, BradyAvenue said: This is AWESOME, thank you @tuanphan - how do I increase the font size of the captions/font of the captions? They are SO small by default. change this code .image-caption p { margin: 0 !important; } to this .image-caption p { margin: 0 !important; font-size: 50px !important; font-family: monospace; } 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
BradyAvenue Posted October 5, 2021 Author Share Posted October 5, 2021 @tuanphan Thanks so much !! Works great! Except I realized just now it messed up my homepage gallery text. Can you help me create code that will apply JUST to my portfolio page PLEASE 🙂 ? Link to comment
tuanphan Posted October 7, 2021 Share Posted October 7, 2021 On 10/5/2021 at 7:12 AM, BradyAvenue said: @tuanphan Thanks so much !! Works great! Except I realized just now it messed up my homepage gallery text. Can you help me create code that will apply JUST to my portfolio page PLEASE 🙂 ? /* Portfolio image hover */ div#page-54a6b53ae4b0c309d017f70d { figcaption.image-caption-wrapper { max-height: unset !important; height: 100% !important; display: flex; justify-content: center; align-items: center; pointer-events: none; /* enable click */ } .image-caption p { margin: 0 !important; font-size: 50px !important; font-family: monospace; } } Use this code /* Portfolio image hover */ div#page-54a6b53ae4b0c309d017f70d { figcaption.image-caption-wrapper { max-height: unset !important; height: 100% !important; display: flex; justify-content: center; align-items: center; pointer-events: none; /* enable click */ } .image-caption p { margin: 0 !important; font-size: 50px !important; font-family: monospace; } } 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
Create an account or sign in to comment
You need to be a member in order to leave a comment