How to Change Background Image on Hover in WordPress?

Key Takeaways

  • Nexter Blocks allows users to change the background image on hover using the Animated Service Boxes block.
  • The Image Preload toggle in Nexter Blocks enables smooth transitions between background images.
  • Users can manage the number of items in a row for desktop, tablet, and mobile separately in Nexter Blocks.
Table of Contents

Do you want to change the background image of a WordPress section on hover? This effect allows the background image to automatically change when a user hovers over a specific element, adding an interactive and engaging experience to your website, making it more dynamic for visitors.

With the Animated Service Boxes block from Nexter Blocks, you can easily change the section background image on hover.

To check the complete feature overview documentation of the Nexter Blocks Animated Service Boxes block, click here.

Requirement  – This block is a part of the Nexter Blocks, make sure it’s installed & activated to enjoy all its powers.

To do this, add the Animated Service Boxes block to the page and follow the steps –

1. Select Hover Section from the Main Style section.

From the Style section, you can select a predefined style.

You can enable the Image Preload toggle to preload all the background images, so there is a smooth transition between the images.

By enabling the Display Button toggle, you can add a button to the service boxes.

When enabled, you can select a button style from the Button Style section.

By enabling the Icon/Image toggle, you can add an icon or image to the service boxes.

2. In the Service Boxes section, you have to add the content for the hover section. By default, you’ll find three items, open one item.

3. Then add a title in the Title field. The title will always be visible.

You can add an icon or image, subtitle and description if required from the Select Icon, Sub Title and Description fields.

Note: The Select Icon, Sub Title, Description and Button content will show on hover only.

4. Then in the Featured Image section, you have to add an image for the section.

You can edit the button text and URL from the Button Text and Button Link fields, respectively. 

Note: Make sure the Display Button toggle is enabled to see the Button Text and Button Link fields.

Following this process, you can edit the other items.

You can click on the +Add Item button to add more service boxes.

You can select the image size from the Image Size dropdown.

Then from the Layout tab, you can manage the text alignment of the content and you can also manage the section height as well.

Then from the Columns Manage tab, you can manage the number of items in a row for desktop, tablet and mobile separately. You can also manage the gap between the items as well.

Now when you hover over the different titles in the section the background image will change.

About the Author

Photo of Aditya Sharma CMO of NexterWP
CMO at POSIMYTH Innovations · NexterWP · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordpressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

What should I do if the background image doesn't change on hover?

If the background image isn't changing on hover, ensure that you have correctly added the Animated Service Boxes block from Nexter Blocks. Check that the Hover Section is selected in the Main Style section and that you've uploaded images in the Featured Image section for each service box. If the Image Preload toggle is disabled, enabling it can help create a smoother transition.

Can I use the Animated Service Boxes block for other types of content?

The Animated Service Boxes block is primarily designed for displaying service boxes with hover effects. However, you can customize the content within each box, including titles, icons, and descriptions. This flexibility allows you to create engaging sections for various purposes, such as showcasing team members or products.

What settings work best for a smooth background image transition?

To achieve a smooth background image transition when using the Animated Service Boxes block, enable the Image Preload toggle. This preloads all background images, ensuring that they load quickly and transition seamlessly when a user hovers over the section. Additionally, consider using high-quality images that are optimized for web use to maintain performance.

Are there any limitations when using the Animated Service Boxes block?

One limitation of the Animated Service Boxes block is that it requires the Nexter Blocks plugin to be installed and activated. Additionally, while it supports various customization options, it is primarily focused on hover effects and may not be suitable for all content types. Ensure that your design aligns with the intended use of this block.

Does the Animated Service Boxes block work with mobile devices?

The Animated Service Boxes block is designed to be responsive and should work on mobile devices. However, keep in mind that hover effects may not translate the same way on touch screens. It's advisable to test the appearance and functionality on various devices to ensure a good user experience.

Last reviewed: April 14, 2026

Related Docs