Tagged: x
-
AuthorPosts
-
January 30, 2017 at 4:39 am #1350510
Hi,
Can you provide any advice on how best to size a section using a background image for hero banners?
I’m using the Ethos stack on http://www.drive-marketing.co.uk.gridhosted.co.uk/sit max width 1280site width 88% content width 72%.
Be great to understand how to size my images and use media queries in my child style.css to call different versions to cater for larger/smaller screen sizes.
Any advice would be much appreciated.
regards
PaulJanuary 30, 2017 at 5:35 am #1350559Hi Paul,
Thanks for writing in!
You can play with background size and background position properties.
http://www.w3schools.com/cssref/css3_pr_background-size.asp
http://www.w3schools.com/cssref/playit.asp?filename=playcss_background-size&preval=coverhttps://css-tricks.com/almanac/properties/b/background-size/
https://css-tricks.com/almanac/properties/b/background-position/Hope that helps.
February 1, 2017 at 8:59 am #1353751Thanks Paul, I’ll have a play.
February 1, 2017 at 9:19 am #1353778You’re most welcome!
Let us know if we can help with anything else.
Thanks!
-
AuthorPosts