Title: Section background keeping same size
Last modified: April 29, 2019

---

# Section background keeping same size

 *  Resolved [robertacarubia](https://wordpress.org/support/users/robertacarubia/)
 * (@robertacarubia)
 * [7 years ago](https://wordpress.org/support/topic/section-background-keeping-same-size/)
 * I have added a trail dotted line as a background image in the middle of my homepage,
   however, there the size keeps changing depending on the size of the screen that
   the homepage is navigated to. Is there a way to make the image stay the same 
   no matter what the size of the screen is?
 * Thanks,
    Robbie
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsection-background-keeping-same-size%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [7 years ago](https://wordpress.org/support/topic/section-background-keeping-same-size/#post-11476422)
 * Hey,
    Try adding this to your custom css:
 *     ```
       .elementor-11 .elementor-element.elementor-element-d37d44e > .elementor-background-overlay, .elementor-11 .elementor-element.elementor-element-d37d44e:not(.elementor-motion-effects-element-type-background) {
        background-position: center;
       }
       ```
   
 * Does that help?
 * Hannah
 *  Thread Starter [robertacarubia](https://wordpress.org/support/users/robertacarubia/)
 * (@robertacarubia)
 * [7 years ago](https://wordpress.org/support/topic/section-background-keeping-same-size/#post-11479138)
 * OMG – you are a life saver – the amount of time I spent trying to figure this
   out!!
 * It works great, thanks so so much for your help!!!!
 * Roberta
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [7 years ago](https://wordpress.org/support/topic/section-background-keeping-same-size/#post-11479298)
 * You bet! 🙂
 * Hannah

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

The topic ‘Section background keeping same size’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.14/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/)
 * [optimized](https://wordpress.org/support/topic-tag/optimized/)
 * [screen](https://wordpress.org/support/topic-tag/screen/)
 * [size](https://wordpress.org/support/topic-tag/size/)

 * 3 replies
 * 2 participants
 * Last reply from: [hannah](https://wordpress.org/support/users/hannahritner/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/section-background-keeping-same-size/#post-11479298)
 * Status: resolved