Ieva Posted August 11, 2023 Share Posted August 11, 2023 Hi, how do I change the text color and position of portfolio page (showed before hover) on mobile only? Now it is black and in the middle of the picture, I would like to get it white and in the bottom 🙂 Thanks ! Link to comment
Ziggy Posted August 11, 2023 Share Posted August 11, 2023 What text are you referring to? Can you share your website URL and where this text is? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Ieva Posted August 14, 2023 Author Share Posted August 14, 2023 Hi Ziggy, This is the page : https://www.ib-arch.com/projects If you open it on desktop, the text (name) of each project appears 'after hover', which is fine and I would like to keep it as it is. However, when you open the same page on the mobile phone, the titles of the projects are seen before hover (constantly) . Example (Wood like Honey) : So the question is, how to make these titles to be white colour and located on the bottom of the picture (not in the middle) ? Thank you ! Link to comment
Solution Ziggy Posted August 14, 2023 Solution Share Posted August 14, 2023 Try this Custom CSS: @media only screen and (max-width:767px) { .portfolio-grid-overlay .portfolio-title { color: #fff; } .portfolio-grid-overlay .grid-item .portfolio-text { justify-content: flex-end; } tuanphan and Ieva 2 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Ieva Posted August 14, 2023 Author Share Posted August 14, 2023 Ok, many thanks, this worked ! Also, is there a way to control the size of this text? I would like it to be a little smaller 🙂 Ziggy 1 Link to comment
Ziggy Posted August 14, 2023 Share Posted August 14, 2023 Add this below color:#fff; font-size:12px; Ieva 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Ieva Posted August 14, 2023 Author Share Posted August 14, 2023 Amazing, works ! One more thing, if I may ask. Is there a way to have this title text under each picture (not on top of it) - only for mobile as well? Link to comment
tuanphan Posted August 16, 2023 Share Posted August 16, 2023 On 8/14/2023 at 7:53 PM, Ieva said: Amazing, works ! One more thing, if I may ask. Is there a way to have this title text under each picture (not on top of it) - only for mobile as well? You can use this CSS code /* Mobile-Portfolio title under image */ @media screen and (max-width:991px) { div#gridThumbs { display: block !important; } .portfolio-text { opacity: 1 !important; position: relative !important; } .portfolio-text * { color: black !important; } } Ieva 1 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
Ieva Posted August 16, 2023 Author Share Posted August 16, 2023 Thank you so much, Tuanphan, it works, amazing ! 🙂 Link to comment
Martian Posted August 30, 2023 Share Posted August 30, 2023 Tuanphan, how would I get the text a little smaller with this code? Link to comment
tuanphan Posted September 2, 2023 Share Posted September 2, 2023 On 8/31/2023 at 5:23 AM, Martian said: Tuanphan, how would I get the text a little smaller with this code? add font-size to this code .portfolio-text * { color: black !important; font-size: 10px !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