This members-only tutorial provides the steps to automatically set featured image as the body background for static Pages in Oxygen.
We shall set up a fallback image for Pages that do not have featured images.
Let's define a custom size for the body background images.
Install and activate Code Snippets plugin.
Go to Snippets > Add New.
Title: Custom Image Sizes
add_image_size( 'body-background', 1680, 1050, true );
If your site's Pages already have featured images set, regenerate thumbnails.
Add another Code Snippet.
Title: Set featured image as body background
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($37/month or $399 one-time).
Already a member? Log in below or here.
Enter your email address to subscribe to this blog and receive notifications of new tutorials by email.
Join 349 other subscribers
Please log in again.
The login page will open in a new tab. After logging in you can close it and return to this page.