- This topic has 23 replies, 2 voices, and was last updated 5 years, 5 months ago by
David.
-
AuthorPosts
-
October 16, 2020 at 6:45 am #1491885
David
StaffCustomer SupportNow add this CSS to your site:
@media(max-width: 768px) { .gb-container.hero-block { background-size: 150%; background-position: bottom left; } }this size may need tweaking
background-size: 150%;October 21, 2020 at 2:25 am #1498055Lee
Brill. Thank you for this.
It’s worked – the image now appears below the text when viewed in mobile mode.
Is there now a way of bringing the image a little higher up when viewed in mobile mode? At the moment there is a lot of space between my heading and my image?
October 21, 2020 at 4:03 am #1498150David
StaffCustomer SupportRemove the space block you’re using to give the containers some height.
Instead select the Container Block and increase the Bottom Padding, you can then set a smaller Bottom padding ( if required ) for MobileOctober 21, 2020 at 6:15 am #1498284Lee
Thanks again.
I’ve deleted the spacing, but I’m struggling to get the Text where I want it. Is there a way I can lift it a little higher within the image when in desktop mode?
October 21, 2020 at 8:00 am #1498558David
StaffCustomer SupportYou could increase the Bottom Padding on Desktop.
The basic rules for vertical centering the content in a Container Block is by setting the Top and Bottom padding. If both are equal then the content is vertically centred.
Sometimes this may not look correct – that maybe because:1. There is another nested container such as a grid that has uneven top and bottom padding.
2. An element in the container ( or a nested container ) such as a Headline Block may have margin applied to it. Things like headlines have bottom margins applied to them by default ( as per the Customizer > Layout > Typography settings ) but you can zero them out on any GenerateBlock under the blocks Spacing settings.November 4, 2020 at 3:33 am #1517412Lee
Hey again David,
Many thanks for all your help with this thus far. I’ve almost got it looking like I want, but I’m struggling with the main text when in Mobile mode.
I basically want to lift the text in mobile mode as it appears too low as it stands. I’ve tried increasing the bottom padding (in mobile) but this only seems to move the image rather than moving the text?
November 4, 2020 at 6:08 am #1517555David
StaffCustomer SupportSelect the parent Container where you have 200px Top Padding, click the Mobile tab and reduce this to 100px.
Then select the Grid Container you have your text in and on Mobile increase its Bottom padding by 100px or so.
November 4, 2020 at 6:30 am #1517585Lee
Brilliant again! Thank you.
November 4, 2020 at 6:42 am #1517606David
StaffCustomer SupportYou’re welcome
-
AuthorPosts
- You must be logged in to reply to this topic.