visionsbyfurks Posted December 28, 2020 Share Posted December 28, 2020 Site URL: https://www.studiofurks.com Hello,https://www.studiofurks.com/ I wanted to know how I could change the website margins for mobile only. As I want there to be less of the white space/margin around the website on mobile. Thanks. Link to comment
tazmeah Posted December 29, 2020 Share Posted December 29, 2020 Can you upload a screenshot showing the space you're trying to remove? Link to comment
visionsbyfurks Posted January 9, 2021 Author Share Posted January 9, 2021 @tazmeah Sure it's the space around the edges that I wanted to reduce. Link to comment
tuanphan Posted January 10, 2021 Share Posted January 10, 2021 22 hours ago, visionsbyfurks said: @tazmeah Sure it's the space around the edges that I wanted to reduce. Add to Design > Custom CSS /* site margin - mobile */ @media screen and (max-width:767px) { /* header */ .header-announcement-bar-wrapper { padding-left: 1px !important; padding-right: 1px !important; } /* page */ #page .content-wrapper { padding-left: 1px !important; padding-right: 1px !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
visionsbyfurks Posted January 10, 2021 Author Share Posted January 10, 2021 @tuanphan Thank you but it doesn't do the same for the images www.studiofurks.com Link to comment
tuanphan Posted January 12, 2021 Share Posted January 12, 2021 you can adjust 1vw to another value, 2vw, 3vw, 4.5vw... 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
visionsbyfurks Posted January 16, 2021 Author Share Posted January 16, 2021 (edited) @tuanphan I've added the following code to adjust the portfolio image paddings however I'm trying to adjust the padding now inbetween the gallery items (I've attached a screenshot below the code): /* Padding on mobile portfolio grid */ @media screen and ( max-width: 767px ) { .tweak-portfolio-grid-overlay-width-full .portfolio-grid-overlay { padding-left: 2px !important; padding-right: 2px !important; } Edited January 16, 2021 by visionsbyfurks Link to comment
tuanphan Posted January 18, 2021 Share Posted January 18, 2021 On 1/16/2021 at 10:25 PM, visionsbyfurks said: @tuanphan I've added the following code to adjust the portfolio image paddings however I'm trying to adjust the padding now inbetween the gallery items (I've attached a screenshot below the code): /* Padding on mobile portfolio grid */ @media screen and ( max-width: 767px ) { .tweak-portfolio-grid-overlay-width-full .portfolio-grid-overlay { padding-left: 2px !important; padding-right: 2px !important; } Add to Design > Custom CSS /* Mobile portfolio padding */ @media screen and (max-width:767px) { div#gridThumbs { grid-row-gap: 100px; } } 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
TA2 Posted December 31, 2021 Share Posted December 31, 2021 (edited) How might I reduce the margin between two buttons? Edited December 31, 2021 by TA2 Link to comment
tuanphan Posted January 2, 2022 Share Posted January 2, 2022 On 12/31/2021 at 10:28 AM, TA2 said: How might I reduce the margin between two buttons? Hi. Can you share link to page where you added 2 buttons? 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
LogikEvidence Posted September 12, 2023 Share Posted September 12, 2023 On 1/10/2021 at 1:17 PM, tuanphan said: Add to Design > Custom CSS /* site margin - mobile */ @media screen and (max-width:767px) { /* header */ .header-announcement-bar-wrapper { padding-left: 1px !important; padding-right: 1px !important; } /* page */ #page .content-wrapper { padding-left: 1px !important; padding-right: 1px !important; } } Hello, this code worked really well on the website I'm working on. It just didn't work in the footer of the website, what should I change? Thank you. Link to comment
tuanphan Posted September 14, 2023 Share Posted September 14, 2023 On 9/12/2023 at 11:45 PM, LogikEvidence said: Hello, this code worked really well on the website I'm working on. It just didn't work in the footer of the website, what should I change? Thank you. #page .content-wrapper target Page Content only, if you want to target page content + footer, use this new code /* site margin - mobile */ @media screen and (max-width:767px) { /* header */ .header-announcement-bar-wrapper { padding-left: 1px !important; padding-right: 1px !important; } /* page */ #page .content-wrapper, footer.sections .content-wrapper { padding-left: 1px !important; padding-right: 1px !important; } } LogikEvidence 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
LogikEvidence Posted September 14, 2023 Share Posted September 14, 2023 Perfect! 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