👨🎨Homepage Sections Background Color
You can add a unique touch to your home page by assigning custom background colors to each section. This feature utilizes CSS variables, making it simple to apply your desired colors across different sections.
List of variables by sections:
1 + 2 light background
1 + 2 dark background
1 (Featured) + 2 light background
1 (Featured) + 2 dark background
1 + 3 light background
1 + 3 dark background
1 (Featured) + 3 light background
1 (Featured) + 3 dark background
List with sidebar featured posts light background
List with sidebar featured posts dark background
List with sidebar latest posts light background
List with sidebar latest posts dark background
List with sidebar (with image) featured posts light background
List with sidebar (with image) featured posts dark background
List with sidebar (with image) latest posts light background
List with sidebar (with image) latest posts dark background
Posts with date + sidebar featured posts light background
Posts with date + sidebar featured posts dark background
Posts with date + sidebar latest posts light background
Posts with date + sidebar latest posts dark background
Categories (tags) tabs light background
Categories (tags) tabs dark background
Grid 2 column light background
Grid 2 column dark background
Grid 2 column + sidebar with featured posts light background
Grid 2 column + sidebar with featured posts dark background
Grid 2 column + sidebar with latest posts light background
Grid 2 column + sidebar with latest posts dark background
Grid 3 column light background
Grid 3 column dark background
Grid 4 column light background
Grid 4 column dark background
Big slider light background
Big slider dark background
Medium slider light background
Medium slider dark background
Slider 2 posts light background
Slider 2 posts dark background
Small slider light background
Small slider dark background
Medium posts + small posts light background
Medium posts + small posts dark background
Membership light background
Membership dark background
Subscribe banner light background
Subscribe banner dark background
Author name with image and bio light background
Author name with image and bio dark background
Subscribe banner with benefits light background
Subscribe banner with benefits dark background
Access your website's CSS file or an area where you can input custom CSS, often found within the site settings or theme customization panel.
Define the desired background color for the section by using the CSS variable. For example, to change the 1 + 2 light background color to a soft pink, you would write:
Save your changes. This will apply the new background color to the specified section across your website. Repeat these steps for any other sections you wish to customize.
To customize a section's background color, follow these steps:
Identify the CSS variable associated with the section you wish to customize. Each section has a designated variable, such as
--section-one-plus-two-light-bg
for the 1 + 2 light background section.Go to Settings > Code injection from the admin panel
Open Site header tab
Specify your preferred variables along with their corresponding colors in the following manner:
Click Save
This method provides you with the flexibility to experiment with and update the aesthetics of your home page.
To customize the sidebar's banner widget input's background color, follow these steps:
Go to Settings > Code injection from the admin panel
Open Site header tab
Add the following code and specify your preferred color
Click Save
Last updated