{"id":16852,"date":"2026-11-18T09:44:33","date_gmt":"2026-11-18T09:44:33","guid":{"rendered":"https:\/\/www.24x7wpsupport.com\/blog\/?p=16852"},"modified":"2026-11-18T09:54:38","modified_gmt":"2026-11-18T09:54:38","slug":"how-to-add-an-image-zoom-effect-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/","title":{"rendered":"How to Add an Image Zoom Effect in WordPress in 2026"},"content":{"rendered":"<p>A good photo can sell a product or explain an idea. But a small photo hides the detail. An image zoom effect fixes that. It lets a visitor see a picture up close without leaving the page. This guide shows you three ways to add one in WordPress: the tool built into the editor, a short piece of CSS, and the zoom that ships with WooCommerce.<\/p>\n<h2>What an Image Zoom Effect Is and Which Type You Need<\/h2>\n<p>An image zoom effect makes a picture look bigger when a visitor acts on it. The action may be a click, a tap, or moving the mouse over the photo. There are three common types, and each one suits a different job. Pick the type first. It saves you from setting up a tool you do not need.<\/p>\n<p>The first type is <strong>click to enlarge<\/strong>. The visitor clicks the photo and it opens in a large view on top of the page. This suits blog posts, guides, and screenshots.<\/p>\n<p>The second type is a <strong>hover zoom<\/strong>. The photo grows a little inside its frame when the mouse moves over it. It does not show more detail. It adds motion and hints that the image can be clicked. This suits photo grids, portfolio pages, and post cards.<\/p>\n<p>The third type is a <strong>magnifier zoom<\/strong>. The visitor moves the mouse over a product photo and sees that spot at full size. This suits online stores, where a buyer wants to check fabric, stitching, or a label. WooCommerce has this type built in.<\/p>\n<h2>Use the Built-In Enlarge on Click Option in the Image Block<\/h2>\n<p>WordPress has a zoom tool in the block editor. You do not need a plugin for it. It is called <strong>Enlarge on click<\/strong>. It arrived in WordPress 6.4 under the name Expand on click. When a visitor clicks the photo, it grows with a smooth zoom and fills the screen. A click or the Escape key closes it.<\/p>\n<p>Here is how to turn it on for one image:<\/p>\n<ol>\n<li>Open the post or page in the editor and click the image.<\/li>\n<li>In the small toolbar above the image, click the <strong>Link<\/strong> icon. It looks like a chain.<\/li>\n<li>Choose <strong>Enlarge on click<\/strong> from the list.<\/li>\n<li>Click <strong>Save<\/strong> or <strong>Update<\/strong>, then view the page and click the photo to test it.<\/li>\n<\/ol>\n<p>You can also turn it on for every image on the site. This works on block themes. Go to <strong>Appearance \u2192 Editor \u2192 Styles<\/strong>. Open <strong>Blocks<\/strong>, pick <strong>Image<\/strong>, and switch on <strong>Enlarge on click<\/strong> under Settings.<\/p>\n<p>Keep two limits in mind. First, the tool works on the Image block only. It will not work on photos placed with the old classic editor. Second, an image cannot have a link and this zoom at once. If the photo links to another page, the link wins. For galleries with arrows and captions, a full lightbox is a better fit. Our guide on <a style=\"color: #ffba00; text-decoration: underline;\" href=\"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-or-change-a-lightbox-effect-in-wordpress\/\">how to add or change a lightbox effect in WordPress<\/a> covers that route.<\/p>\n<h2>Add a Hover Zoom Effect with a Few Lines of CSS<\/h2>\n<p>A hover zoom needs no plugin either. A few lines of CSS do the job. CSS is the code that controls how a page looks. It does not change your theme files, and you can remove it at any time. You give the image a class name, then add the style for that class.<\/p>\n<p><strong>Part one: add a class to the image.<\/strong> Click the image in the editor. Open the block settings in the right sidebar. Scroll down to <strong>Advanced<\/strong>. In the box named <strong>Additional CSS class(es)<\/strong>, type <code>zoom-hover<\/code>. Save the post.<\/p>\n<p><strong>Part two: add the CSS.<\/strong> On a classic theme, go to <strong>Appearance \u2192 Customize \u2192 Additional CSS<\/strong>. On a block theme, go to <strong>Appearance \u2192 Editor \u2192 Styles<\/strong>, click the three dots at the top of the panel, and choose <strong>Additional CSS<\/strong>. Paste this code and save:<\/p>\n<pre><code>.zoom-hover {\r\n  overflow: hidden;\r\n}\r\n.zoom-hover img {\r\n  transition: transform 0.4s ease;\r\n}\r\n.zoom-hover:hover img {\r\n  transform: scale(1.15);\r\n}<\/code><\/pre>\n<p>Each line has a clear job. The first rule hides any part of the photo that grows past its frame. Without it, the image would spill over the text next to it. The second rule sets the speed. A value of 0.4 seconds feels smooth. The third rule sets the size. A scale of 1.15 makes the photo 15 percent bigger. Keep this value between 1.05 and 1.2. A larger number looks jumpy and can make the photo look soft.<\/p>\n<p>Now view the page and move the mouse over the image. It should grow gently, then shrink back when the mouse leaves. If nothing happens, check the class name for a typing slip and clear your cache.<\/p>\n<h2>Turn On Product Image Zoom in WooCommerce<\/h2>\n<p>WooCommerce ships with its own magnifier zoom for product photos. In most cases it is on by default. When a buyer moves the mouse over the main product image, that spot shows at full size. A click opens the photo in a large view with arrows for the rest of the gallery. So test your store first. You may not need to add a thing.<\/p>\n<p>If the zoom does not show, the cause is often the image size. The zoom only runs when the photo you uploaded is larger than the space it sits in. Say your theme shows the main product image at 600 pixels wide. A 600 pixel upload has no extra detail to show, so WooCommerce skips the zoom. Upload a photo that is at least twice that width. On a classic theme, you can see the display width at <strong>Appearance \u2192 Customize \u2192 WooCommerce \u2192 Product Images<\/strong>, in the field named <strong>Main image width<\/strong>.<\/p>\n<p>The other common cause is the theme. A theme must tell WooCommerce that it supports the gallery zoom. The default WordPress themes do this. Some custom themes do not. In that case, a developer can add one line to the theme setup code:<\/p>\n<pre><code>add_theme_support( 'wc-product-gallery-zoom' );<\/code><\/pre>\n<p>This line goes in the <code>functions.php<\/code> file of a child theme. Do not make this change on a live store without a safety net. Take a full backup first, or test it on a staging copy of the site. A small typing slip in that file can take the whole site down. If child themes are new to you, read <a style=\"color: #ffba00; text-decoration: underline;\" href=\"https:\/\/www.24x7wpsupport.com\/blog\/what-is-a-wordpress-child-theme-2026\/\">what a WordPress child theme is<\/a> before you start. Our steps on <a style=\"color: #ffba00; text-decoration: underline;\" href=\"https:\/\/www.24x7wpsupport.com\/blog\/how-to-set-up-staging-site-in-wordpress\/\">how to set up a staging site in WordPress<\/a> will help with the test copy.<\/p>\n<h2>Choose the Right Image Size So the Zoom Stays Sharp<\/h2>\n<p>A zoom effect is only as good as the photo behind it. If the file is small, the zoomed view looks soft and blocky. If the file is huge, the page loads slowly. A few simple rules help you find the middle ground.<\/p>\n<p>Start with the width. For a click to enlarge or magnifier zoom, upload a photo about two to three times wider than the space it fills on the page. If a product image shows at 600 pixels, a file between 1,200 and 1,800 pixels wide works well. For a CSS hover zoom, the photo only grows by a small amount. A file about 1.5 times the display width is enough.<\/p>\n<p>Do not go past 2,560 pixels on the longest side. WordPress scales down any larger upload to that limit and uses the smaller copy on the site. So a 6,000 pixel photo from a camera only uses more disk space. Our post on <a style=\"color: #ffba00; text-decoration: underline;\" href=\"https:\/\/www.24x7wpsupport.com\/blog\/what-is-the-maximum-image-width-in-wordpress\/\">the maximum image width in WordPress<\/a> explains this limit in more depth.<\/p>\n<p>Save photos in a modern format such as WebP, which keeps detail at a much smaller size than JPEG. Aim to keep each zoom photo under about 300 KB where you can. You can learn the steps in our guide on <a style=\"color: #ffba00; text-decoration: underline;\" href=\"https:\/\/www.24x7wpsupport.com\/blog\/how-to-use-webp-images-in-wordpress-for-faster-speed\/\">how to use WebP images in WordPress<\/a>. Last, keep all product photos the same shape, so the gallery feels steady as a buyer moves through it.<\/p>\n<h2>Make the Zoom Work on Phones and for Every Visitor<\/h2>\n<p>A large share of web visits now come from phones, and a phone has no mouse. That means a hover effect does not fire the way it does on a desktop. So plan for touch from the start. Think as well about people who use a keyboard, and people who feel unwell when things move on screen.<\/p>\n<p>On a phone, the WooCommerce magnifier does not run. A tap opens the product photo in the large view instead. The buyer can then pinch with two fingers to zoom in. The Enlarge on click option in the Image block works with a tap too. A CSS hover zoom is different. On most phones it will not show at all, or it may stick after a tap. That is fine as long as the effect is only for looks. Never hide key details behind a hover.<\/p>\n<p>Some people set their device to cut down on motion. You can respect that choice with a short extra rule in the same Additional CSS box:<\/p>\n<pre><code>@media (prefers-reduced-motion: reduce) {\r\n  .zoom-hover img {\r\n    transition: none;\r\n    transform: none;\r\n  }\r\n}<\/code><\/pre>\n<p>This turns the hover zoom off for those visitors only. Two more habits help. Write clear alt text for each photo, so a screen reader can describe it. And test with the keyboard. Press Tab until the image is in focus, then press Enter. The large view should open, and Escape should close it.<\/p>\n<h2>What to Check When the Zoom Does Not Work<\/h2>\n<p>Sometimes you set the zoom up and nothing happens. The cause is often small. Work through the checks below in order. The quick ones come first. Test the page after each step, so you know which change made the difference.<\/p>\n<p><strong>Check the image size.<\/strong> Open <strong>Media \u2192 Library<\/strong>, click the photo, and read its size on the right. If it is no wider than the space it fills, upload a larger copy.<\/p>\n<p><strong>Check for a link on the image.<\/strong> In the editor, click the image and look at the Link icon. If the image points to a page or a media file, Enlarge on click will not run. Remove the link and pick the option again.<\/p>\n<p><strong>Clear every cache.<\/strong> A cache stores old copies of your pages and styles to make the site faster. Clear your caching plugin, any cache at your host, and your browser. Then load the page in a private window.<\/p>\n<p><strong>Look for a script error.<\/strong> Zoom tools rely on JavaScript. Press F12 in your browser and open the <strong>Console<\/strong> tab. Red lines there point to a broken script. Speed plugins that delay or merge scripts are a common cause. Turn those options off one at a time and test again.<\/p>\n<p><strong>Test for a conflict.<\/strong> On a staging copy, switch to a default WordPress theme. If the zoom comes back, the theme is the cause. If not, turn plugins off one by one until it does. Take a backup before you try this on a live site. Our guide on <a style=\"color: #ffba00; text-decoration: underline;\" href=\"https:\/\/www.24x7wpsupport.com\/blog\/how-to-backup-and-restore-wordpress-website\/\">how to back up and restore a WordPress website<\/a> shows the steps.<\/p>\n<h2>Pick the Method That Fits Your Site<\/h2>\n<p>You now have three ways to add an image zoom effect in WordPress, and none of them needs a plugin. Use Enlarge on click for photos in posts and pages. Use the short CSS rule when you want a soft hover zoom on grids and cards. Use the built-in WooCommerce zoom for product photos, and feed it large, sharp images so it has detail to show.<\/p>\n<p>Whichever one you choose, three habits apply. Upload photos wide enough to zoom but light enough to load fast. Test on a phone as well as a desktop. And make risky changes, such as edits to theme files, on a staging copy with a fresh backup in place.<\/p>\n<p>If the zoom still will not behave, or you would like someone to set it up for you, the team at <a style=\"color: #ffba00; text-decoration: underline;\" href=\"https:\/\/www.24x7wpsupport.com\">24&#215;7 WP Support<\/a> works on WordPress and WooCommerce sites every day. Get in touch if you would like us to take a look.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A good photo can sell a product or explain an idea. But a small photo hides the detail. An image &#8230;<\/p>\n","protected":false},"author":1,"featured_media":16857,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1096],"tags":[3019,3017,3020,3016,3018,2622,2833],"class_list":["post-16852","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-enlarge-on-click","tag-hover-zoom","tag-image-block","tag-image-zoom","tag-woocommerce-product-zoom","tag-wordpress-css","tag-wordpress-images"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Add an Image Zoom Effect in WordPress | 24x7 WP Support<\/title>\n<meta name=\"description\" content=\"Learn how to add an image zoom effect in WordPress in 2026 with the block editor, a short CSS hover rule, or the built-in WooCommerce product zoom.\" \/>\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.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add an Image Zoom Effect in WordPress | 24x7 WP Support\" \/>\n<meta property=\"og:description\" content=\"Learn how to add an image zoom effect in WordPress in 2026 with the block editor, a short CSS hover rule, or the built-in WooCommerce product zoom.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7WPSupport Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/24x7wpsupport\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-18T09:44:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-18T09:54:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2026\/11\/Image-Zoom-Effect-in-WordPress-1024x576.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Brian\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wpsupport24x7\" \/>\n<meta name=\"twitter:site\" content=\"@wpsupport24x7\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brian\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/\"},\"author\":{\"name\":\"Brian\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/40ee989d8d57096afc53a526d6e612b0\"},\"headline\":\"How to Add an Image Zoom Effect in WordPress in 2026\",\"datePublished\":\"2026-11-18T09:44:33+00:00\",\"dateModified\":\"2026-11-18T09:54:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/\"},\"wordCount\":1962,\"publisher\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Image-Zoom-Effect-in-WordPress.png\",\"keywords\":[\"enlarge on click\",\"hover zoom\",\"image block\",\"image zoom\",\"WooCommerce product zoom\",\"wordpress css\",\"wordpress images\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/\",\"name\":\"Add an Image Zoom Effect in WordPress | 24x7 WP Support\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Image-Zoom-Effect-in-WordPress.png\",\"datePublished\":\"2026-11-18T09:44:33+00:00\",\"dateModified\":\"2026-11-18T09:54:38+00:00\",\"description\":\"Learn how to add an image zoom effect in WordPress in 2026 with the block editor, a short CSS hover rule, or the built-in WooCommerce product zoom.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Image-Zoom-Effect-in-WordPress.png\",\"contentUrl\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Image-Zoom-Effect-in-WordPress.png\",\"width\":2560,\"height\":1440,\"caption\":\"Image Zoom Effect in WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/how-to-add-an-image-zoom-effect-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add an Image Zoom Effect in WordPress in 2026\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/\",\"name\":\"24x7WPSupport Blog\",\"description\":\"WordPress Theme Update | WordPress Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#organization\",\"name\":\"24x7 WP Support\",\"url\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/wpsupportlatestlogo.png\",\"contentUrl\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/wpsupportlatestlogo.png\",\"width\":269,\"height\":64,\"caption\":\"24x7 WP Support\"},\"image\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/24x7wpsupport\",\"https:\\\/\\\/x.com\\\/wpsupport24x7\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/40ee989d8d57096afc53a526d6e612b0\",\"name\":\"Brian\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5a5a62eb3263db905a008db8d80b6777dd5792da217d72772ec4c23dc58ec9d6?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5a5a62eb3263db905a008db8d80b6777dd5792da217d72772ec4c23dc58ec9d6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5a5a62eb3263db905a008db8d80b6777dd5792da217d72772ec4c23dc58ec9d6?s=96&d=mm&r=g\",\"caption\":\"Brian\"},\"description\":\"Brian is a WordPress support specialist and content contributor at 24x7 WP Support. He writes practical, easy-to-follow guides on WordPress troubleshooting, WooCommerce issues, plugin and theme errors, website security, migrations, performance optimization, and integrations. With a focus on solving real website problems, Brian helps business owners, bloggers, and online store managers keep their WordPress sites running smoothly.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add an Image Zoom Effect in WordPress | 24x7 WP Support","description":"Learn how to add an image zoom effect in WordPress in 2026 with the block editor, a short CSS hover rule, or the built-in WooCommerce product zoom.","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.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/","og_locale":"en_GB","og_type":"article","og_title":"Add an Image Zoom Effect in WordPress | 24x7 WP Support","og_description":"Learn how to add an image zoom effect in WordPress in 2026 with the block editor, a short CSS hover rule, or the built-in WooCommerce product zoom.","og_url":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/","og_site_name":"24x7WPSupport Blog","article_publisher":"https:\/\/www.facebook.com\/24x7wpsupport","article_published_time":"2026-11-18T09:44:33+00:00","article_modified_time":"2026-11-18T09:54:38+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2026\/11\/Image-Zoom-Effect-in-WordPress-1024x576.png","type":"image\/png"}],"author":"Brian","twitter_card":"summary_large_image","twitter_creator":"@wpsupport24x7","twitter_site":"@wpsupport24x7","twitter_misc":{"Written by":"Brian","Estimated reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/"},"author":{"name":"Brian","@id":"https:\/\/www.24x7wpsupport.com\/blog\/#\/schema\/person\/40ee989d8d57096afc53a526d6e612b0"},"headline":"How to Add an Image Zoom Effect in WordPress in 2026","datePublished":"2026-11-18T09:44:33+00:00","dateModified":"2026-11-18T09:54:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/"},"wordCount":1962,"publisher":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2026\/11\/Image-Zoom-Effect-in-WordPress.png","keywords":["enlarge on click","hover zoom","image block","image zoom","WooCommerce product zoom","wordpress css","wordpress images"],"articleSection":["WordPress"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/","url":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/","name":"Add an Image Zoom Effect in WordPress | 24x7 WP Support","isPartOf":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2026\/11\/Image-Zoom-Effect-in-WordPress.png","datePublished":"2026-11-18T09:44:33+00:00","dateModified":"2026-11-18T09:54:38+00:00","description":"Learn how to add an image zoom effect in WordPress in 2026 with the block editor, a short CSS hover rule, or the built-in WooCommerce product zoom.","breadcrumb":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/#primaryimage","url":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2026\/11\/Image-Zoom-Effect-in-WordPress.png","contentUrl":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2026\/11\/Image-Zoom-Effect-in-WordPress.png","width":2560,"height":1440,"caption":"Image Zoom Effect in WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7wpsupport.com\/blog\/how-to-add-an-image-zoom-effect-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7wpsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Add an Image Zoom Effect in WordPress in 2026"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7wpsupport.com\/blog\/#website","url":"https:\/\/www.24x7wpsupport.com\/blog\/","name":"24x7WPSupport Blog","description":"WordPress Theme Update | WordPress Blog","publisher":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7wpsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.24x7wpsupport.com\/blog\/#organization","name":"24x7 WP Support","url":"https:\/\/www.24x7wpsupport.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.24x7wpsupport.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2018\/11\/wpsupportlatestlogo.png","contentUrl":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2018\/11\/wpsupportlatestlogo.png","width":269,"height":64,"caption":"24x7 WP Support"},"image":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/24x7wpsupport","https:\/\/x.com\/wpsupport24x7"]},{"@type":"Person","@id":"https:\/\/www.24x7wpsupport.com\/blog\/#\/schema\/person\/40ee989d8d57096afc53a526d6e612b0","name":"Brian","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/5a5a62eb3263db905a008db8d80b6777dd5792da217d72772ec4c23dc58ec9d6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5a5a62eb3263db905a008db8d80b6777dd5792da217d72772ec4c23dc58ec9d6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5a5a62eb3263db905a008db8d80b6777dd5792da217d72772ec4c23dc58ec9d6?s=96&d=mm&r=g","caption":"Brian"},"description":"Brian is a WordPress support specialist and content contributor at 24x7 WP Support. He writes practical, easy-to-follow guides on WordPress troubleshooting, WooCommerce issues, plugin and theme errors, website security, migrations, performance optimization, and integrations. With a focus on solving real website problems, Brian helps business owners, bloggers, and online store managers keep their WordPress sites running smoothly."}]}},"_links":{"self":[{"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/posts\/16852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=16852"}],"version-history":[{"count":2,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/posts\/16852\/revisions"}],"predecessor-version":[{"id":16856,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/posts\/16852\/revisions\/16856"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/media\/16857"}],"wp:attachment":[{"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=16852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=16852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=16852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}