Home › Forums › Jevelin Theme › Background image not responsive
Home › Forums › Jevelin Theme › Background image not responsive
Hi,
I am finding that the background image of my website is not responsive. On mobile it does not shrink the image down and looks very zoomed in. See attached.
My settings are on preset – ‘Fill Screen’ Image position – centered.
I could confirm the issue on another mobile device.
You can resolve it using the solutions shared in the below pages.
https://stackoverflow.com/a/23420490
Sorry, cant see what I’m meant to use? Can you please offer a more specific solution?
You can try resolving it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
@media (max-width: 767px) { html body.custom-background { background-attachment: scroll; } }
If it still doesn’t get resolved then would you mind if I log in to your site and do some troubleshooting? If this is ok then could you please temporary share me your site admin login details privately by adding them in the box having text “Enter your private content here (only you and forum moderators will be able see it)”?
It doesn’t look like that worked. Is there a reason why the background isn’t responsive?
Yes you can login, I am staging at the moment though so you would need to log into the staged version. How can I give you the details?
It is a limitation of the mobile browser as described in the above shared links.
I have resolved the issue using below custom CSS code so could you please check it now?
@media (min-width: 767px) { html body.custom-background { background-size: cover; } }
Sorry, its not displaying quite as I want. See images attached.
On my current website the background goes all the way down the divider and looks like a background, but in this version its small and displays like an image behind rather than a background.
I achieved the same on your staging website by removing body background image and setting the background image to row as shown in the attached screenshot.
Could you please check it now?
It displays all the way down for me on your staging site as shown in the attached screenshot.
Please advise.