tonicastudio Posted January 25, 2022 Posted January 25, 2022 (edited) Site URL: http://tonicabrandstudio.com I'm trying to decrease/remove the top and bottom padding on this portfolio section, as shown in the attached picture. Any ideas how to do this? Q2: is there a way to insert text into a portfolio section? If not, I guess I can just add another section on top once the padding is removed. Right now I have the portfolio set to hover: follow cursor site: tonicabrandstudio.com pw: australia go to menu>example Thank you!! Edited January 25, 2022 by tonicastudio extra info
Solution tuanphan Posted January 25, 2022 Solution Posted January 25, 2022 #1. Use this CSS @media screen and (min-width:768px) { [data-section-id="61ed52923ad0a2796cf80056"] { min-height: 30vh !important; height: 50vh; } .portfolio-hover-display { min-height: unset !important; height: 100% !important; } [data-section-id="61ed52923ad0a2796cf80056"] .content-wrapper { height: 100% !important; }} #2. Add this CSS [data-section-id="61ed52923ad0a2796cf80056"] .portfolio-hover-items:before { content: "Enter text here"; font-family: 'ClassicoBold'; font-size: 30px; } ufotofu 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!)
tonicastudio Posted January 26, 2022 Author Posted January 26, 2022 @tuanphan thank you! Sorry, I have a couple of different threads going, asking questions in different places. But this works great, thank you so much!! But now, there's an issue with the images on hover. They are cutting in half on desktop, but working fine on mobile. any idea why that is?
tuanphan Posted January 27, 2022 Posted January 27, 2022 Okay. I'm checking it again 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!)
tonicastudio Posted January 27, 2022 Author Posted January 27, 2022 6 minutes ago, tuanphan said: Okay. I'm checking it again @tuanphan thank you! and I just checked my site in an incognito browser and it's all working good on my end. Let me know if you have trouble accessing it now.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment