What version did you update to? The following has only been tested in 4.7.3 (and I never use custom backgrounds in the customizer, so I’m not sure what previous version of WP did there).
In the customizer, when you set the custom background image, there should be an “Image Size” dropdown. You probably have “Original Size” selected in this dropdown. If you change that to either “Fit to Screen” or “Full Screen” you should get what you want.
Which one you choose depends on what you want to achieve. “Fit to Screen” results in the customizer outputing background-size: contain ;
, while “Full Screen” results in background-size: cover ;
.
See CSS background-size Property for the difference between contain
and cover
.
Related Posts:
- Change background color of subpages
- Update wordpress causes white space on admin
- Placing background image over section divider
- override a css style [closed]
- Setting up Custom Background [closed]
- Create a body div using CSS [closed]
- How to insert a clickable and fixed background [duplicate]
- How to avoid problems caused by new block-library default CSS rules (wp 6.1.1)
- How to insert spaces/tabs in text using HTML/CSS
- Failed to decode downloaded font, OTS parsing error: invalid version tag + rails 4
- How to make the HTML link activated by clicking on the
- ?
- How would you make two s overlap?
- CSS text-align not working
- How can I insert vertical blank space into an html document?
- What is the difference between “screen” and “only screen” in media queries?
- How to have an anim gif on a link and play it on hover and reset
- How can I make Bootstrap columns all the same height?
- Align text to the bottom of a div
- How to make a
- display in a horizontal row
- CSS3 Scale Animation Keyframes
- JavaFX css themes
- Border Position
- Bootstrap align navbar items to the right
- Responsive Canvas in Bootstrap column?
- How do you avoid caching during development?
- Are there Gutenberg container blocks?
- Get parent category class in post_class()
- Why won’t child theme’s style.css override plugin’s css
- WordPress – https : Css and Js files are not working (load on http instead of https)
- some things in child theme css not overriding parent
- Is it possible to create a full width row in WordPress’s editor window? [closed]
- How do I find (index) file in order to change style on CSS?
- Enqueue style for Password Reset page
- How to change header & footer to full width? [closed]
- Styleswitcher or themeswitcher to allow user to switch back to standard view from mobile device
- If post by specific role different css to everyone
- Theme Check errors about missing CSS rules
- removing my underline from hyperlinks
- How to override Gutenberg admin CSS
- WordPress stripping out BR tags, need assistance
- Media library style not loading correctly when selecting a page featured image?
- Use wp_add_inline_style to add code to before wp_head?
- How to Remove White Space above video Block
- Font Awesome wp_enqueue_style
- Output terms to post_class()
- Layout using Bootstrap not aligning correctly
- No styling on fresh wordpress installation
- How to include .css code in a WordPress page template?
- Enqueue Style Function Not Loading
- What’s the best way to add the LESS preprocessor to a WordPress theme?
- Certain aspects of site suddenly not working in Chrome and Firefox
- How to disable the hover effect in WordPress and Elementor?
- What makes WP so SEO friendly?
- what could cause get_stylesheet_directory_uri() to fail?
- Delete a white space using css
- wordpress css file
- CSS – Initial HTML Margin Issue On WordPress Site
- Cannot set property ‘className’ of null at setThemeFromCookie
- Can not find css directory in header
- jQuery UI Theme that aligns perfectly with the admin UI
- CSS – why does my sidebar drops to the bottom of the page? [closed]
- dynamic css file for admin / backend and get_option results in Uncaught Error: Call to undefined function get_option()
- How can I force Dynamic CSS via ACF values to update on page load?
- WordPress backend is loading without style
- Add a unique body class for every admin page (including trash)
- Show product information on right side [closed]
- How to integrate Bootstrap Grid System in WordPress
- Show/Hide Div for Login Mask
- When replacing #site-title with an image – why must it be located in root?
- Hide Overflow on a Specific WordPress Template
- Google Chrome CSS issues [closed]
- ACF Gut block broke wordpress default style?
- Scroll code block instead of wrapping text
- Divi CSS Flex/Margin Error
- Redirect Css files to https
- How can I add a stylesheet to the Classic Editor page?
- How to enqueue stylesheets in child-theme functions.php?
- Change class value using CSS
- Dequeue CSS of the Parent Theme
- Unable to use Datepicker in a table when inserting a row
- How to make video responsive in full height on mobile?
- div:before appearing in front of the block
- How to replace wordpress css or js file with external file?
- How do I move my logo from the center to left (Pixgraphy theme)
- Unable to properly load WordPress Admin page
- Change style of Twenty Seventeen child theme
- Disable CSS specific page
- Customiser colour picker and best practice for updating css
- Editing anchor style in main navigation bar
- My contact form is not being responsive
- Load specific js & css based on class or ID?
- I can’t change the background color of a specific page
- What can cause JavaScript and CSS files to be minified?
- 100% Width Footer – Custom Child Theme
- s2member captcha how to make responsive – css or javascript
- WordPress CSS not working properly
- How to define a special character to change the style of my inline code?
- Why is the “Additional CSS” section missing in my theme Customizer?
- Is there a way to edit the fonts of headings without a plugin (in the 2022 theme)?
- How to hide button with CSS class?