andreassoteriou Posted December 23, 2023 Share Posted December 23, 2023 Hi all, For mobile view on my portfolio page. I want the overlay text to be static, but at the bottom (on top of) the image. Like below: Anyone have suggestion on code here? I have tried to replicate what I have in the gallery above but without success since this is a portfolio (not gallery). Link to comment
tuanphan Posted December 24, 2023 Share Posted December 24, 2023 What is your site url? We can check 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
andreassoteriou Posted January 5 Author Share Posted January 5 yes of course! andreassoteriou.com under subsection "projects". And sorry for late reply! Link to comment
tuanphan Posted January 8 Share Posted January 8 Add to Website Tools (under Not Linked) > Custom CSS @media screen and (max-width:991px) { .portfolio-text { opacity: 1 !important; top: unset !important; background-color: rgba(0,0,0,0.7) !important; } .portfolio-overlay { opacity: 1 !important; top: unset !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
andreassoteriou Posted January 24 Author Share Posted January 24 On 1/8/2024 at 10:34 AM, tuanphan said: Add to Website Tools (under Not Linked) > Custom CSS @media screen and (max-width:991px) { .portfolio-text { opacity: 1 !important; top: unset !important; background-color: rgba(0,0,0,0.7) !important; } .portfolio-overlay { opacity: 1 !important; top: unset !important; } } thank you so much! the top project in the portfolio now resembles how i would like it, but the other ones seems just black? Is there also a way to make the static overlay thinner? Many thanks for your reply! @media screen and (max-width:991px) { .portfolio-text { opacity: 1 !important; top: unset !important; background-color: rgba(0,0,0,0.7) !important; } .portfolio-overlay { opacity: 1 !important; top: unset !important; } } Link to comment
Solution tuanphan Posted January 28 Solution Share Posted January 28 On 1/25/2024 at 1:45 AM, andreassoteriou said: thank you so much! the top project in the portfolio now resembles how i would like it, but the other ones seems just black? Is there also a way to make the static overlay thinner? Many thanks for your reply! @media screen and (max-width:991px) { .portfolio-text { opacity: 1 !important; top: unset !important; background-color: rgba(0,0,0,0.7) !important; } .portfolio-overlay { opacity: 1 !important; top: unset !important; } } Use this new code @media screen and (max-width:991px) { .portfolio-text { opacity: 1 !important; top: unset !important; background-color: rgba(0,0,0,0.5) !important; } .portfolio-overlay { opacity: 1 !important; top: unset !important; background-color: transparent !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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment