I have added an image to a page header (my home page) but it is not showing properly on my mobile device. can you please let me know what I need to do to make it responsive? The dimensions are 1600 x 649.
To make the image fit on mobile, add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):
@media only screen and (max-width: 1000px) {
.page-header-bg-image {
background-size: 100% 100% !important;
}
}
I have added an image to a page header (my home page) but it is not showing properly on my mobile device. can you please let me know what I need to do to make it responsive? The dimensions are 1600 x 649.
Hi there,
To make the image fit on mobile, add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):
Hope this helps.