{"id":85585,"date":"2023-07-10T10:54:00","date_gmt":"2023-07-10T07:54:00","guid":{"rendered":"https:\/\/elementor.com\/blog\/?p=85585"},"modified":"2023-07-10T10:54:00","modified_gmt":"2023-07-10T07:54:00","slug":"tutorial-how-to-change-a-heros-background-image-on-hover","status":"publish","type":"post","link":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/","title":{"rendered":"Tutorial: How to Change a Hero\u2019s Background Image, On Hover"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>What\u2019s in this Tutorial?<\/strong><\/h2>\n\n\n\n<p>In this tutorial, we will explain how to create a hero section that changes the background image when hovering over different elements. To accomplish this, we\u2019ll use Elementor&#8217;s container feature, add custom CSS code and explain what we are doing as we go along.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>&nbsp;<\/strong><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is a hero?<br><\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-video\"><video autoplay controls loop muted src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/04\/Finished.mp4\"><\/video><\/figure>\n\n\n\n<p>A hero section, also known as a hero image or hero banner, is a prominent section on a website that typically appears at the top of the homepage. It usually consists of a large image or video, accompanied by text and\/or other visual elements.<\/p>\n\n\n\n<p>The purpose of the hero section is to immediately grab the visitor&#8217;s attention and convey the most important message or value proposition of the website. It&#8217;s an opportunity for businesses to make a strong first impression.<\/p>\n\n\n\n<p>In addition to the main visual element, the hero section may also include a call-to-action (CTA) button, which prompts the visitor to take a desired action.<\/p>\n\n\n\n<p>A well-designed hero section can have a significant impact on a website&#8217;s success, from improving user engagement and conversion rates to enhancing the user experience and search engine optimization. It is often the most visually striking and memorable element of a website, and it can help businesses stand out in a crowded online marketplace.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Improve user engagement<\/strong><\/h2>\n\n\n\n<p>A visually appealing and well-designed &amp; developed hero section can grab a user&#8217;s attention and encourage them to stay on your website longer, increasing the chances of them taking a desired action, such as filling out a form or making a purchase.<br><br>Also the hero section is often the first thing a user sees when they visit a website, and it can set the tone for the rest of the site. A well-designed hero section can help establish the brand&#8217;s identity, personality, and values, helping to differentiate it from competitors.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to create a hero section that changes the background image when hovering over different elements<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group post-alert is-layout-flow wp-block-group-is-layout-flow\">\n<h5 class=\"wp-block-heading\">Note<\/h5>\n\n\n\n<p>We\u2019ll be building this design with Containers, so please activate them through the Settings &gt; Features of Elementor.<br>We\u2019ll be using a little bit of CSS- but don\u2019t worry,&nbsp; I will provide all the code and guide you where to insert.<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What do we need to start?<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Elementor Pro Plugin<\/li><li>4 Images<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><br>Let\u2019s begin:<\/h3>\n\n\n\n<p>Create a new page and edit it with Elementor.<\/p>\n\n\n\n<p>Insert a container with the following settings:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Content Width: Full Width<\/li><li>Width: 100%<\/li><li>Min-Height: 100vh<\/li><li>Padding: 0x<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1920\" height=\"937\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/image2.png\" alt=\"\" class=\"wp-image-85588\"\/><\/figure>\n\n\n\n<p>Set a class to the container called: \u201cmain-container-slide\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"294\" height=\"685\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/image6.png\" alt=\"\" class=\"wp-image-85590\"\/><\/figure>\n\n\n\n<p>Go to the WordPress dashboard and upload the 4 images that you will&nbsp; use into the WordPress media area.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"805\" height=\"326\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/image4.png\" alt=\"\" class=\"wp-image-85591\"\/><\/figure>\n\n\n\n<p>Go back to the page and insert the following CSS code into the container custom CSS tab:<br><\/p>\n\n\n\t\t<div data-elementor-type=\"container\" data-elementor-id=\"85592\" class=\"elementor elementor-85592\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t<div class=\"elementor-element elementor-element-82f2eaf e-flex e-con-boxed e-con e-parent\" data-id=\"82f2eaf\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b8caf55 elementor-widget elementor-widget-code-highlight\" data-id=\"b8caf55\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-css line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-css\">\n\t\t\t\t\t<xmp>.main-container-slide [class*=\"slide\"]:hover {\r\n    background-color: #CE3A3AA1 !important;\r\n}\r\n.main-container-slide:has(.slide1:hover) {\r\n    background-image: url(https:\/\/yousite.com\/image1.jpg) !important;\r\n}\r\n\r\n\r\n.main-container-slide:has(.slide2:hover) {\r\n    background-image: url(https:\/\/yousite.com\/image2.jpg) !important;\r\n}\r\n\r\n\r\n.main-container-slide:has(.slide3:hover) {\r\n    background-image: url(https:\/\/yousite.com\/image3.jpg) !important;\r\n}\r\n\r\n\r\n.main-container-slide:has(.slide4:hover) {\r\n    background-image: url(https:\/\/yousite.com\/image4.jpg) !important;\r\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\n\n\n\n<div class=\"wp-block-group post-alert is-layout-flow wp-block-group-is-layout-flow\">\n<h5 class=\"wp-block-heading\">Note<\/h5>\n\n\n\n<p>Replace \u201chttps:\/\/yousite.com\/image.jpg\u201d with the urls of the images that you will use in each zone.<\/p>\n<\/div>\n\n\n\n<p><br>This CSS achieves 2 things:<br><br>1 &#8211; Changes the background color on hover in each container<\/p>\n\n\n\n<p>2 &#8211; Changes the background image in the .main-container-slide when hovering over the .slide-* containers.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Take a look at my example (I changed the urls of the images for my recently uploaded images):<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"275\" height=\"618\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/csscustom.png\" alt=\"\" class=\"wp-image-85598\"\/><\/figure>\n\n\n\n<p><strong>Next Step:<br><br><\/strong>In the Style Tab,enter these settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Background: Normal<\/li><li>Background Type: Classic<\/li><li>Color: Transparent<\/li><li>Image: *Choose the first image you want to show<\/li><li>Image size: Full<\/li><li>Position: Center Center<\/li><li>Repeat: No-repeat<\/li><li>Display Size: Cover<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"299\" height=\"932\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/image7.png\" alt=\"\" class=\"wp-image-85599\"\/><\/figure>\n\n\n\n<p><strong>Next Step:<br><\/strong>Add 1 container inside with these settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Content Width: Full Width<\/li><li>Width: 25%<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1327\" height=\"934\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/image1.png\" alt=\"\" class=\"wp-image-85600\"\/><\/figure>\n\n\n\n<p>Go to the Advanced Tab and add there a class called: slide1<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"299\" height=\"935\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/image3.png\" alt=\"\" class=\"wp-image-85589\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Now, design each container with your custom style and items, as I have done for this example:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"276\" height=\"431\" src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/image8.png\" alt=\"\" class=\"wp-image-85601\"\/><\/figure>\n\n\n\n<p>As you can see, I numbered the container, added borders to generate a difference between the categories on my site; and custom content with a CTA in each zone.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Next Step:<\/strong><br>Once you have your first container ready, duplicate it 3 times and change the CSS class on each container to have 4 sequentially numbered classes:<br>slide1, slide2, slide3, slide4<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video autoplay controls loop muted src=\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/cssinsert.mp4\"><\/video><\/figure>\n\n\n\n<p><br><strong>And we are done!<\/strong><\/p>\n\n\n\n<p>In this tutorial, we learned how to create a hero section with Elementor, the #1 website platform for WordPress.&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p>We focused on creating a hero section that changes the background image when hovering over different elements and used Elementor&#8217;s container feature and&nbsp; custom CSS code to accomplish this task.<\/p>\n\n\n\n<p>By following this tutorial, you can improve the UX\/UI design of your website and create\u00a0 a visually appealing and engaging section that stands out from the rest. Using Elementor makes it easy for anyone to create a professional-looking website without any coding experience. Overall, this tutorial provides a simple and effective way to design a hero section that showcases your website&#8217;s value proposition and engages your visitors.<\/p>\n\n\n\n<div class=\"wp-block-group post-alert is-layout-flow wp-block-group-is-layout-flow\">\n<h5 class=\"wp-block-heading\">Note<\/h5>\n\n\n\n<p>:has it&#8217;s an optional feature in Firefox &#8211; Users can enable for testing (based on the Browser Compatibility note): https:\/\/developer.mozilla.org\/docs\/Web\/CSS\/:has<\/p>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A well-designed hero section can have a significant impact on a website&#8217;s success, from improving user engagement and conversion rates to enhancing the user experience and search engine optimization.<\/p>\n","protected":false},"author":507051,"featured_media":85586,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[44,167,28],"tags":[],"marketing_persona":[],"marketing_intent":[],"class_list":["post-85585","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-elementor","category-elementor-team-writes","category-tips-tricks"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tutorial: How to Change a Hero\u2019s Background Image, On Hover<\/title>\n<meta name=\"description\" content=\"A well-designed hero section can have a significant impact on a website&#039;s success, from improving user engagement and conversion rates to enhancing the user experience and search engine optimization.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tutorial: How to Change a Hero\u2019s Background Image, On Hover\" \/>\n<meta property=\"og:description\" content=\"A well-designed hero section can have a significant impact on a website&#039;s success, from improving user engagement and conversion rates to enhancing the user experience and search engine optimization.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/elemntor\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-10T07:54:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/oovolzcf.elementor.cloud\/wp-content\/uploads\/2023\/07\/New-Features-Spotlight_Blog-cover.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Alan Kaler\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@elemntor\" \/>\n<meta name=\"twitter:site\" content=\"@elemntor\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alan Kaler\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/\"},\"author\":{\"name\":\"Alan Kaler\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/person\/b1549508a459ad0cfb282fb1c7a71931\"},\"headline\":\"Tutorial: How to Change a Hero\u2019s Background Image, On Hover\",\"datePublished\":\"2023-07-10T07:54:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/\"},\"wordCount\":829,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/elementor.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/New-Features-Spotlight_Blog-cover.png\",\"articleSection\":[\"Elementor\",\"Elementor Team Writes\",\"Tips &amp; Tricks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/\",\"url\":\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/\",\"name\":\"Tutorial: How to Change a Hero\u2019s Background Image, On Hover\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/New-Features-Spotlight_Blog-cover.png\",\"datePublished\":\"2023-07-10T07:54:00+00:00\",\"description\":\"A well-designed hero section can have a significant impact on a website's success, from improving user engagement and conversion rates to enhancing the user experience and search engine optimization.\",\"breadcrumb\":{\"@id\":\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#primaryimage\",\"url\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/New-Features-Spotlight_Blog-cover.png\",\"contentUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/New-Features-Spotlight_Blog-cover.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/elementor.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elementor\",\"item\":\"https:\/\/elementor.com\/blog\/category\/elementor\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Tutorial: How to Change a Hero\u2019s Background Image, On Hover\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/elementor.com\/blog\/#website\",\"url\":\"https:\/\/elementor.com\/blog\/\",\"name\":\"Elementor\",\"description\":\"Website Builder for WordPress\",\"publisher\":{\"@id\":\"https:\/\/elementor.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/elementor.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/elementor.com\/blog\/#organization\",\"name\":\"Elementor\",\"url\":\"https:\/\/elementor.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png\",\"contentUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png\",\"width\":225,\"height\":225,\"caption\":\"Elementor\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/elemntor\/\",\"https:\/\/x.com\/elemntor\",\"https:\/\/www.instagram.com\/elementor\/\",\"https:\/\/www.youtube.com\/channel\/UCt9kG_EDX8zwGSC1-ycJJVA?sub_confirmation=1\",\"https:\/\/en.wikipedia.org\/wiki\/Elementor\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/person\/b1549508a459ad0cfb282fb1c7a71931\",\"name\":\"Alan Kaler\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7618989d1401c38afe50748601d8dad91fdb8930f53fe037881768b15ab4b108?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7618989d1401c38afe50748601d8dad91fdb8930f53fe037881768b15ab4b108?s=96&d=mm&r=g\",\"caption\":\"Alan Kaler\"},\"description\":\"Alan Kaler is an expert Elementorist at Elementor and a WordPress Magician who thinks that the three most beautiful words in our language are: I told you\",\"url\":\"https:\/\/elementor.com\/blog\/author\/alan-kaler\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tutorial: How to Change a Hero\u2019s Background Image, On Hover","description":"A well-designed hero section can have a significant impact on a website's success, from improving user engagement and conversion rates to enhancing the user experience and search engine optimization.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/","og_locale":"en_US","og_type":"article","og_title":"Tutorial: How to Change a Hero\u2019s Background Image, On Hover","og_description":"A well-designed hero section can have a significant impact on a website's success, from improving user engagement and conversion rates to enhancing the user experience and search engine optimization.","og_url":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/","og_site_name":"Blog","article_publisher":"https:\/\/www.facebook.com\/elemntor\/","article_published_time":"2023-07-10T07:54:00+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/oovolzcf.elementor.cloud\/wp-content\/uploads\/2023\/07\/New-Features-Spotlight_Blog-cover.png","type":"image\/png"}],"author":"Alan Kaler","twitter_card":"summary_large_image","twitter_creator":"@elemntor","twitter_site":"@elemntor","twitter_misc":{"Written by":"Alan Kaler"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/"},"author":{"name":"Alan Kaler","@id":"https:\/\/elementor.com\/blog\/#\/schema\/person\/b1549508a459ad0cfb282fb1c7a71931"},"headline":"Tutorial: How to Change a Hero\u2019s Background Image, On Hover","datePublished":"2023-07-10T07:54:00+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/"},"wordCount":829,"commentCount":0,"publisher":{"@id":"https:\/\/elementor.com\/blog\/#organization"},"image":{"@id":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/New-Features-Spotlight_Blog-cover.png","articleSection":["Elementor","Elementor Team Writes","Tips &amp; Tricks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/","url":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/","name":"Tutorial: How to Change a Hero\u2019s Background Image, On Hover","isPartOf":{"@id":"https:\/\/elementor.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#primaryimage"},"image":{"@id":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/New-Features-Spotlight_Blog-cover.png","datePublished":"2023-07-10T07:54:00+00:00","description":"A well-designed hero section can have a significant impact on a website's success, from improving user engagement and conversion rates to enhancing the user experience and search engine optimization.","breadcrumb":{"@id":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#primaryimage","url":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/New-Features-Spotlight_Blog-cover.png","contentUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2023\/07\/New-Features-Spotlight_Blog-cover.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/blog\/tutorial-how-to-change-a-heros-background-image-on-hover\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/elementor.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Elementor","item":"https:\/\/elementor.com\/blog\/category\/elementor\/"},{"@type":"ListItem","position":3,"name":"Tutorial: How to Change a Hero\u2019s Background Image, On Hover"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/blog\/#website","url":"https:\/\/elementor.com\/blog\/","name":"Elementor","description":"Website Builder for WordPress","publisher":{"@id":"https:\/\/elementor.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/elementor.com\/blog\/#organization","name":"Elementor","url":"https:\/\/elementor.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png","contentUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png","width":225,"height":225,"caption":"Elementor"},"image":{"@id":"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/elemntor\/","https:\/\/x.com\/elemntor","https:\/\/www.instagram.com\/elementor\/","https:\/\/www.youtube.com\/channel\/UCt9kG_EDX8zwGSC1-ycJJVA?sub_confirmation=1","https:\/\/en.wikipedia.org\/wiki\/Elementor"]},{"@type":"Person","@id":"https:\/\/elementor.com\/blog\/#\/schema\/person\/b1549508a459ad0cfb282fb1c7a71931","name":"Alan Kaler","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7618989d1401c38afe50748601d8dad91fdb8930f53fe037881768b15ab4b108?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7618989d1401c38afe50748601d8dad91fdb8930f53fe037881768b15ab4b108?s=96&d=mm&r=g","caption":"Alan Kaler"},"description":"Alan Kaler is an expert Elementorist at Elementor and a WordPress Magician who thinks that the three most beautiful words in our language are: I told you","url":"https:\/\/elementor.com\/blog\/author\/alan-kaler\/"}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts\/85585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/users\/507051"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/comments?post=85585"}],"version-history":[{"count":3,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts\/85585\/revisions"}],"predecessor-version":[{"id":92093,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts\/85585\/revisions\/92093"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/media\/85586"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/media?parent=85585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/categories?post=85585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/tags?post=85585"},{"taxonomy":"marketing_persona","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/marketing_persona?post=85585"},{"taxonomy":"marketing_intent","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/marketing_intent?post=85585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}