{"id":25258,"date":"2021-07-13T11:08:10","date_gmt":"2021-07-13T09:08:10","guid":{"rendered":"https:\/\/www.markhendriksen.com\/?p=25258"},"modified":"2022-05-10T04:55:51","modified_gmt":"2022-05-10T02:55:51","slug":"image-grid-with-a-background-hover-effect","status":"publish","type":"post","link":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/","title":{"rendered":"Image Grid With a Background Hover Effect"},"content":{"rendered":"\n<p>In this week&#8217;s tutorial, we will build an image grid with a background <a href=\"https:\/\/www.markhendriksen.com\/divi-hover-effects\/\">hover effect in Divi<\/a>. This is a nice way to showcase your services. Here is a sneak peek of what we are going to build.<\/p>\n\n\n<div class=\"gb-button-wrapper gb-button-wrapper-953cd4e4\">\n\n<a class=\"gb-button gb-button-b3a7914b gb-button-text demo-button-free-layouts\" href=\"https:\/\/www.demo.markhendriksen.com\/image-grid-with-a-background-hover-effect\/\" target=\"_blank\" rel=\"noopener noreferrer\">View Demo<\/a>\n\n<\/div>\n\n\n<h2 class=\"gb-headline gb-headline-1162464d gb-headline-text\">Step 1: Downloading<\/h2>\n\n\n\n<p>Sign up and download the layout section here:<\/p>\n\n\n\n<p class=\"mh-convertkit-form\">[convertkit form=2401616]<\/p>\n\n\n\n<p>After downloading, unzip the folder: <strong>Image Grid With Hover Effect.zip<\/strong><\/p>\n\n\n\n<p>Inside you will find the JSON file: <strong>Image Grid With a Background Hover Effect.json<\/strong><\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-caf87c6b gb-headline-text\">Step 2: Importing<\/h2>\n\n\n\n<p>Go to Divi &gt; Divi Library and click on Import &amp; Export button.<\/p>\n\n\n\n<p>Click on the Import tab and start uploading the <strong>Image Grid With a Background Hover Effect.json<\/strong> file.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"380\" src=\"https:\/\/mk0markhendriks8nxd9.kinstacdn.com\/wp-content\/uploads\/2021\/06\/inport-layout-section.jpg\" alt=\"Import image grid layout section\" class=\"wp-image-25275\" srcset=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section.jpg 680w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-380x212.jpg 380w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-300x168.jpg 300w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-510x285.jpg 510w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-107x60.jpg 107w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-161x90.jpg 161w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/figure>\n\n\n\n<p>Go to the page where you want to import this image grid. Enable the visual builder and expand the bottom menu.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Click on the + symbol<\/li><li>Switch to &#8220;Your Saved Layouts&#8221;<\/li><li>Make sure &#8220;Replace Existing Content&#8221; is unchecked<\/li><li>Import the image grid section<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"489\" src=\"https:\/\/mk0markhendriks8nxd9.kinstacdn.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-2.jpg\" alt=\"Import image grid\" class=\"wp-image-25276\" srcset=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-2.jpg 680w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-2-380x273.jpg 380w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-2-300x216.jpg 300w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-2-510x367.jpg 510w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-2-83x60.jpg 83w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/inport-layout-section-2-125x90.jpg 125w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/figure>\n\n\n\n<h2 class=\"gb-headline gb-headline-98f66cb0 gb-headline-text\">Step 3: Place the jQuery Code<\/h2>\n\n\n\n<p>Go to <strong>Divi &gt; Theme Options &gt; Integration &gt; Add code to the &lt; head &gt; of your blog<\/strong> and place the following jQuery.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;script&gt;\n\n\/\/Image grid\n\njQuery(document).ready(function(){\n    jQuery(\".image_grid_1\").hover(function(){\n        jQuery(\".main_bg_imagegrid\").toggleClass(\"image_grid_1_hover\");\n    });\n});\n\n\t\njQuery(document).ready(function(){\n    jQuery(\".image_grid_2\").hover(function(){\n        jQuery(\".main_bg_imagegrid\").toggleClass(\"image_grid_2_hover\");\n    });\n});\n\t\njQuery(document).ready(function(){\n    jQuery(\".image_grid_3\").hover(function(){\n        jQuery(\".main_bg_imagegrid\").toggleClass(\"image_grid_3_hover\");\n    });\n});\t\n\t\njQuery(document).ready(function(){\n    jQuery(\".image_grid_4\").hover(function(){\n        jQuery(\".main_bg_imagegrid\").toggleClass(\"image_grid_4_hover\");\n    });\n});\t\n\t\njQuery(document).ready(function(){\n    jQuery(\".image_grid_5\").hover(function(){\n        jQuery(\".main_bg_imagegrid\").toggleClass(\"image_grid_5_hover\");\n    });\n});\t\n\t\njQuery(document).ready(function(){\n    jQuery(\".image_grid_6\").hover(function(){\n        jQuery(\".main_bg_imagegrid\").toggleClass(\"image_grid_6_hover\");\n    });\n});\t\n\t\njQuery(document).ready(function(){\n    jQuery(\".image_grid_1\").hover(function(){\n        jQuery(\".button_1_image_grid\").toggleClass(\"button_image_grid_hover\");\n    });\n});\t\n\t\njQuery(document).ready(function(){\n    jQuery(\".image_grid_2\").hover(function(){\n        jQuery(\".button_2_image_grid\").toggleClass(\"button_image_grid_hover\");\n    });\n});\n\t\njQuery(document).ready(function(){\n    jQuery(\".image_grid_3\").hover(function(){\n        jQuery(\".button_3_image_grid\").toggleClass(\"button_image_grid_hover\");\n    });\n});\t\n\t\njQuery(document).ready(function(){\n    jQuery(\".image_grid_4\").hover(function(){\n        jQuery(\".button_4_image_grid\").toggleClass(\"button_image_grid_hover\");\n    });\n});\t\n\t\njQuery(document).ready(function(){\n    jQuery(\".image_grid_5\").hover(function(){\n        jQuery(\".button_5_image_grid\").toggleClass(\"button_image_grid_hover\");\n    });\n});\t\n\t\njQuery(document).ready(function(){\n    jQuery(\".image_grid_6\").hover(function(){\n        jQuery(\".button_6_image_grid\").toggleClass(\"button_image_grid_hover\");\n    });\n});\t\n\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"gb-headline gb-headline-13a42430 gb-headline-text\">Step 4: Place the CSS Code<\/h2>\n\n\n\n<p>Go to <strong>Divi &gt; Theme Options &gt; CSS<\/strong> and place the following CSS code.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* ################################## *\/\n\/* ########## GRID IMAGES ########### *\/\n\/* ################################## *\/\n\n\/* #### TILE 1 #### *\/\n#main-content .image_grid_1_hover {\n    background-image: url(INSERT_IMAGE_URL_HERE)!important;\n}\n\n\/* #### TILE 2 #### *\/\n#main-content .image_grid_2_hover {\n    background-image: url(INSERT_IMAGE_URL_HERE)!important;\n}\n\n\/* #### TILE 3 #### *\/\n#main-content .image_grid_3_hover {\n    background-image: url(INSERT_IMAGE_URL_HERE)!important;\n}\n\n\/* #### TILE 4 #### *\/\n#main-content .image_grid_4_hover {\n    background-image: url(INSERT_IMAGE_URL_HERE)!important;\n}\n\n\/* #### TILE 5 #### *\/\n#main-content .image_grid_5_hover {\n    background-image: url(INSERT_IMAGE_URL_HERE)!important;\n}\n\n\/* #### TILE 6 #### *\/\n#main-content .image_grid_6_hover {\n    background-image: url(INSERT_IMAGE_URL_HERE)!important;\n}\n\n\n\/* ### PRELOAD IMAGES GRID ### *\/\n\n.home .clearfix:after{\n    width:0; height:0; overflow:hidden; z-index:-1;\n    content:\turl(INSERT_IMAGE_URL_HERE) \n\t\turl(INSERT_IMAGE_URL_HERE) \n\t\turl(INSERT_IMAGE_URL_HERE) \n\t\turl(INSERT_IMAGE_URL_HERE)\n\t\turl(INSERT_IMAGE_URL_HERE)\n\t\turl(INSERT_IMAGE_URL_HERE);\n}\n\n.main_bg_imagegrid {\n\t-webkit-transition: all .3s ease-in !important;\n\t-moz-transition: all 0.3s ease-in!important;\n\t-ms-transition: all 0.3s ease-in!important;\n\t-o-transition: all 0.3s ease-in!important;\n\ttransition: all 0.3s ease-in!important;\n}<\/code><\/pre>\n\n\n\n<h2 class=\"gb-headline gb-headline-b26a980b gb-headline-text\">Step 5: Add your images<\/h2>\n\n\n\n<p>The images I used in the demo are not included, and you need to use your own images. Go to the media library and upload 7 images.<\/p>\n\n\n\n<p>Make sure they have all the same size. I used 1240x813px.<\/p>\n\n\n\n<p>The first image is the one you see without hovering over any tile. In my case, the lady in a green dress. You can find this image by opening the row and go to the background image.<\/p>\n\n\n\n<p>The other 6 images will be visible when you hover over a tile. To make this happen, we need to do this:<\/p>\n\n\n\n<p>Go to your media library and find the image URLs of those 6 images. Just click on the image, and you can see the URL.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"256\" src=\"https:\/\/mk0markhendriks8nxd9.kinstacdn.com\/wp-content\/uploads\/2021\/06\/Image-url.jpg\" alt=\"Image url\" class=\"wp-image-25279\" srcset=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-url.jpg 680w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-url-380x143.jpg 380w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-url-300x113.jpg 300w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-url-510x192.jpg 510w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-url-159x60.jpg 159w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-url-239x90.jpg 239w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/figure>\n\n\n\n<p>Now go to Divi &gt; Theme Options &gt; CSS<\/p>\n\n\n\n<p>In the CSS code you just placed, you will see this a couple of times: INSERT_IMAGE_URL_HERE<\/p>\n\n\n\n<p>Replace that with your image URL for each tile.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#main-content .image_grid_1_hover {\n    background-image: url(INSERT_IMAGE_URL_HERE)!important;\n}<\/code><\/pre>\n\n\n\n<p>For the first tile it will then look like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#main-content .image_grid_1_hover {\n    background-image: url(https:\/\/www.demo.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-1.jpg)!important;\n}<\/code><\/pre>\n\n\n\n<p>Replace the URL with your own.<\/p>\n\n\n\n<p>When you have placed all 6 URLs, there is one more thing to do.<\/p>\n\n\n\n<p><strong>Preload images<\/strong><\/p>\n\n\n\n<p>When you did the steps above, your image grid will work. However, the images will start loading until you hover over a tile this will cause a small delay. To avoid this, we need to preload the images.<\/p>\n\n\n\n<p>Replace INSERT_IMAGE_URL_HERE with the same URLs as you did in the previous step (the 6 background images that show up on hover).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* ### PRELOAD IMAGES GRID ### *\/\n\n.home .clearfix:after{\n    width:0; height:0; overflow:hidden; z-index:-1;\n    content:\turl(INSERT_IMAGE_URL_HERE) \n\t\turl(INSERT_IMAGE_URL_HERE) \n\t\turl(INSERT_IMAGE_URL_HERE) \n\t\turl(INSERT_IMAGE_URL_HERE)\n\t\turl(INSERT_IMAGE_URL_HERE)\n\t\turl(INSERT_IMAGE_URL_HERE);\n}<\/code><\/pre>\n\n\n\n<h2 class=\"gb-headline gb-headline-d7bc75fd gb-headline-text\">Tablet \/ Mobile<\/h2>\n\n\n\n<p>Hover doesn&#8217;t work for mobile and tablet, so I created a different section for those. Make sure you add your images to that section as well.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"922\" src=\"https:\/\/mk0markhendriks8nxd9.kinstacdn.com\/wp-content\/uploads\/2021\/06\/2-section-desktop-mobile.jpg\" alt=\"2 section desktop and mobile\" class=\"wp-image-25286\" srcset=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/2-section-desktop-mobile.jpg 680w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/2-section-desktop-mobile-380x515.jpg 380w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/2-section-desktop-mobile-221x300.jpg 221w, https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/2-section-desktop-mobile-510x692.jpg 510w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/figure>\n\n\n\n<p>And that is it. If you have any questions, please let me know in the comments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this week&#8217;s tutorial, we will build an image grid with a background hover effect in Divi. This is a nice way to showcase your services. Here is a sneak peek of what we are going to build. Step 1: Downloading Sign up and download the layout section here: [convertkit form=2401616] After downloading, unzip the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":25289,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-25258","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-divi-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Image Grid With a Background Hover Effect In Divi | MarkHendriksen.com<\/title>\n<meta name=\"description\" content=\"Want to showcase your services in a fancy way in Divi? In this tutorial, we are going to build an image grid with a background effect.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Image Grid With a Background Hover Effect In Divi | MarkHendriksen.com\" \/>\n<meta property=\"og:description\" content=\"Want to showcase your services in a fancy way in Divi? In this tutorial, we are going to build an image grid with a background effect.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/\" \/>\n<meta property=\"og:site_name\" content=\"Mark Hendriksen\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/madebymarkhendriksen\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-13T09:08:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-10T02:55:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-Grid-With-a-Background-Hover-Effect-In-Divi.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"720\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Mark Hendriksen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mark Hendriksen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/\"},\"author\":{\"name\":\"Mark Hendriksen\",\"@id\":\"https:\/\/www.markhendriksen.com\/#\/schema\/person\/d40c4ac37512479c71b48ad2879fb765\"},\"headline\":\"Image Grid With a Background Hover Effect\",\"datePublished\":\"2021-07-13T09:08:10+00:00\",\"dateModified\":\"2022-05-10T02:55:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/\"},\"wordCount\":508,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\/\/www.markhendriksen.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-Grid-With-a-Background-Hover-Effect-In-Divi.jpg\",\"articleSection\":[\"Divi tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/\",\"url\":\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/\",\"name\":\"Image Grid With a Background Hover Effect In Divi | MarkHendriksen.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.markhendriksen.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-Grid-With-a-Background-Hover-Effect-In-Divi.jpg\",\"datePublished\":\"2021-07-13T09:08:10+00:00\",\"dateModified\":\"2022-05-10T02:55:51+00:00\",\"description\":\"Want to showcase your services in a fancy way in Divi? In this tutorial, we are going to build an image grid with a background effect.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#primaryimage\",\"url\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-Grid-With-a-Background-Hover-Effect-In-Divi.jpg\",\"contentUrl\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-Grid-With-a-Background-Hover-Effect-In-Divi.jpg\",\"width\":720,\"height\":400,\"caption\":\"Image Grid With a Background Hover Effect In Divi\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.markhendriksen.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Divi tutorials\",\"item\":\"https:\/\/www.markhendriksen.com\/divi-tutorials\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Image Grid With a Background Hover Effect\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.markhendriksen.com\/#website\",\"url\":\"https:\/\/www.markhendriksen.com\/\",\"name\":\"Mark Hendriksen\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.markhendriksen.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.markhendriksen.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.markhendriksen.com\/#organization\",\"name\":\"Mark Hendriksen\",\"url\":\"https:\/\/www.markhendriksen.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.markhendriksen.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/01\/Mark-Hendriksen-Logo.png\",\"contentUrl\":\"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/01\/Mark-Hendriksen-Logo.png\",\"width\":354,\"height\":40,\"caption\":\"Mark Hendriksen\"},\"image\":{\"@id\":\"https:\/\/www.markhendriksen.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/madebymarkhendriksen\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.markhendriksen.com\/#\/schema\/person\/d40c4ac37512479c71b48ad2879fb765\",\"name\":\"Mark Hendriksen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.markhendriksen.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1416c89ed4da57b902960a21b7fa25cb91558d39eff48c8b5017bd4c9bcc59a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1416c89ed4da57b902960a21b7fa25cb91558d39eff48c8b5017bd4c9bcc59a9?s=96&d=mm&r=g\",\"caption\":\"Mark Hendriksen\"},\"url\":\"https:\/\/www.markhendriksen.com\/author\/twopixels\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Image Grid With a Background Hover Effect In Divi | MarkHendriksen.com","description":"Want to showcase your services in a fancy way in Divi? In this tutorial, we are going to build an image grid with a background effect.","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:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/","og_locale":"en_US","og_type":"article","og_title":"Image Grid With a Background Hover Effect In Divi | MarkHendriksen.com","og_description":"Want to showcase your services in a fancy way in Divi? In this tutorial, we are going to build an image grid with a background effect.","og_url":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/","og_site_name":"Mark Hendriksen","article_publisher":"https:\/\/www.facebook.com\/madebymarkhendriksen","article_published_time":"2021-07-13T09:08:10+00:00","article_modified_time":"2022-05-10T02:55:51+00:00","og_image":[{"width":720,"height":400,"url":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-Grid-With-a-Background-Hover-Effect-In-Divi.jpg","type":"image\/jpeg"}],"author":"Mark Hendriksen","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mark Hendriksen","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#article","isPartOf":{"@id":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/"},"author":{"name":"Mark Hendriksen","@id":"https:\/\/www.markhendriksen.com\/#\/schema\/person\/d40c4ac37512479c71b48ad2879fb765"},"headline":"Image Grid With a Background Hover Effect","datePublished":"2021-07-13T09:08:10+00:00","dateModified":"2022-05-10T02:55:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/"},"wordCount":508,"commentCount":10,"publisher":{"@id":"https:\/\/www.markhendriksen.com\/#organization"},"image":{"@id":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#primaryimage"},"thumbnailUrl":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-Grid-With-a-Background-Hover-Effect-In-Divi.jpg","articleSection":["Divi tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/","url":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/","name":"Image Grid With a Background Hover Effect In Divi | MarkHendriksen.com","isPartOf":{"@id":"https:\/\/www.markhendriksen.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#primaryimage"},"image":{"@id":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#primaryimage"},"thumbnailUrl":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-Grid-With-a-Background-Hover-Effect-In-Divi.jpg","datePublished":"2021-07-13T09:08:10+00:00","dateModified":"2022-05-10T02:55:51+00:00","description":"Want to showcase your services in a fancy way in Divi? In this tutorial, we are going to build an image grid with a background effect.","breadcrumb":{"@id":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#primaryimage","url":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-Grid-With-a-Background-Hover-Effect-In-Divi.jpg","contentUrl":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/06\/Image-Grid-With-a-Background-Hover-Effect-In-Divi.jpg","width":720,"height":400,"caption":"Image Grid With a Background Hover Effect In Divi"},{"@type":"BreadcrumbList","@id":"https:\/\/www.markhendriksen.com\/image-grid-with-a-background-hover-effect\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.markhendriksen.com\/"},{"@type":"ListItem","position":2,"name":"Divi tutorials","item":"https:\/\/www.markhendriksen.com\/divi-tutorials\/"},{"@type":"ListItem","position":3,"name":"Image Grid With a Background Hover Effect"}]},{"@type":"WebSite","@id":"https:\/\/www.markhendriksen.com\/#website","url":"https:\/\/www.markhendriksen.com\/","name":"Mark Hendriksen","description":"","publisher":{"@id":"https:\/\/www.markhendriksen.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.markhendriksen.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.markhendriksen.com\/#organization","name":"Mark Hendriksen","url":"https:\/\/www.markhendriksen.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.markhendriksen.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/01\/Mark-Hendriksen-Logo.png","contentUrl":"https:\/\/www.markhendriksen.com\/wp-content\/uploads\/2021\/01\/Mark-Hendriksen-Logo.png","width":354,"height":40,"caption":"Mark Hendriksen"},"image":{"@id":"https:\/\/www.markhendriksen.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/madebymarkhendriksen"]},{"@type":"Person","@id":"https:\/\/www.markhendriksen.com\/#\/schema\/person\/d40c4ac37512479c71b48ad2879fb765","name":"Mark Hendriksen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.markhendriksen.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1416c89ed4da57b902960a21b7fa25cb91558d39eff48c8b5017bd4c9bcc59a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1416c89ed4da57b902960a21b7fa25cb91558d39eff48c8b5017bd4c9bcc59a9?s=96&d=mm&r=g","caption":"Mark Hendriksen"},"url":"https:\/\/www.markhendriksen.com\/author\/twopixels\/"}]}},"_links":{"self":[{"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/posts\/25258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/comments?post=25258"}],"version-history":[{"count":3,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/posts\/25258\/revisions"}],"predecessor-version":[{"id":28598,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/posts\/25258\/revisions\/28598"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/media\/25289"}],"wp:attachment":[{"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/media?parent=25258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/categories?post=25258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.markhendriksen.com\/wp-json\/wp\/v2\/tags?post=25258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}