isotropic-2022
Share
Blog
Search
Menu

Positioning Oxygen Builder Image Backgrounds

By James LePage
 on July 24, 2020
Last modified on January 7th, 2022

Positioning Oxygen Builder Image Backgrounds

By James LePage
 on July 24, 2020
Last modified on January 7th, 2022

This article is going to discuss how to center Oxygen Builder image backgrounds (and position them in different ways). 

The base version of the Oxygen Builder allows you to easily add image backgrounds to sections and divs, but there's no easy way to position them after inserting them into the page. If you're coming from other page builders like Elementor, you've come to expect an easy way to position Background images. 

Even if the oxygen builder doesn't have a nice graphical user interface that allows you to position background images, it's still quite easy to do this. 

Instead of adding a third party plug in or manipulating the image via the built in Percentages, we are simply going to use a bit of custom CSS. 

When it comes to positioning background images in oxygen (or any other page builder for that matter), this is done using custom CSS. Even if you have a nice graphical user interface, you're simply selecting something that applies that specific CSS attribute to the background image. 

All we need to do is add the background positioning manually in oxygen. 

First, let's quickly review how to position background images in CSS. 

There is a specific CSS property called background-align, which does exactly what it says it does. You can choose from preset positioning or position it via pixels/percentages. 

Here are a few examples on how to position a background image using custom CSS (you can view more at this link): 

background-position: center; 

background-position: bottom; 

background-position: right top; 

background-position: 10% 50%; 

As you can see, you can specify things generally, or become more targeted with the background positioning. This works in tandem with the background-attachment property. 

Once you've figured out how you want to position the image in your oxygen builder section or div, simply navigate to the advanced settings for the respective element, open custom CSS, and paste the raw code in there. You don't even need to add a selector or brackets, all you need to do is paste in background-position: your position. 

Pretty simple, right? 

Subscribe & Share
If you liked this content, subscribe for our monthly roundup of WordPress news, website inspiration, exclusive deals and interesting articles.
Unsubscribe at any time. We do not spam and will never sell or share your email.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Article By
James LePage
Contributors/Editors
notloggedin
James LePage is the founder of Isotropic, a WordPress education company and digital agency. He is also the founder of CodeWP.ai, a venture backed startup bringing AI to WordPress creators.
We're looking for new authors. Explore Isotropic Jobs.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram