Title: Background image resolution
Last modified: August 21, 2016

---

# Background image resolution

 *  Resolved [dipsweet](https://wordpress.org/support/users/p_bogdan03/)
 * (@p_bogdan03)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/background-image-resolution/)
 * Hello,
 * Congrats for this beautiful theme. It satisfies my every need regarding my website
   with one exception.
    When i try to add a background image to the header and the
   footer through advanced styling, it positions it by pixel size and if i need 
   to set a smaller image i have to reduce the pixel resolution and reduce the quality.
   It is especially obvious when in mobile format. Is there any option i missed 
   where i can set the scale of the background or something like that?
 * Thank you very much!

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/background-image-resolution/#post-4550896)
 * Let me make sure I understand, you want to set a background image that works 
   for desktop and then resizes for mobile?
 * Use background size cover… ex:
 * `.headerclass, .footerclass {background-size:cover;}`
 * Kadence Themes
 *  Thread Starter [dipsweet](https://wordpress.org/support/users/p_bogdan03/)
 * (@p_bogdan03)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/background-image-resolution/#post-4550917)
 * Thanks for your fast reply.
    I cannot set the scale of the displayed image without
   changing the resolution. If i want a high resolution image it only displays a
   small portion of it so i have to reduce the resolution and that gives a poor 
   quality result. I need to alter the size of the image without modifying the resolution.
   Hope i made my problem clearer.
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/background-image-resolution/#post-4550920)
 * Did you try my solution by adding this to your custom css box in the theme options?
 * .headerclass, .footerclass {background-size:cover;}
 * Kadence Themes
 *  Thread Starter [dipsweet](https://wordpress.org/support/users/p_bogdan03/)
 * (@p_bogdan03)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/background-image-resolution/#post-4550945)
 * Yes, that worked very nice! Thank you very much!
 *  [adriank777](https://wordpress.org/support/users/adriank777/)
 * (@adriank777)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/background-image-resolution/#post-4551031)
 * I tried this this does not work for me. I just want the background image to be
   stretched to cover the entire screen. What do I set in the custom CSS box so 
   that when I set the background image, it is stretched and covers the entire screen
   for desktop and mobile?
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/background-image-resolution/#post-4551032)
 * Please post in your own topic and post a link to your site.
 * Kadence Themes
 *  [ranjith multi_thoughts](https://wordpress.org/support/users/ranjith-multi_thoughts/)
 * (@ranjith-multi_thoughts)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/background-image-resolution/#post-4551035)
 * how to use background image for my website in virtue theme

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Background image resolution’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.15/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

## Tags

 * [background](https://wordpress.org/support/topic-tag/background/)
 * [size](https://wordpress.org/support/topic-tag/size/)

 * 7 replies
 * 4 participants
 * Last reply from: [ranjith multi_thoughts](https://wordpress.org/support/users/ranjith-multi_thoughts/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/background-image-resolution/#post-4551035)
 * Status: resolved