{"id":121101,"date":"2023-07-04T18:25:01","date_gmt":"2023-07-04T12:55:01","guid":{"rendered":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/?post_type=documents&#038;p=121101"},"modified":"2023-07-05T09:16:47","modified_gmt":"2023-07-05T03:46:47","slug":"add-hover-effect-with-custom-hover-class-in-elementor-hover-card","status":"publish","type":"documents","link":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/docs\/add-hover-effect-with-custom-hover-class-in-elementor-hover-card\/","title":{"rendered":"How to Add Hover Effect With Custom Hover Class in Elementor Hover Card?"},"content":{"rendered":"\n<p>With the Hover Card widget from The Plus Addons for Elementor, you can easily trigger a hover effect by adding a parent container class name. By assigning a specific class to the element, you can add custom styling and animations for the hover state, creating a visually appealing effect that enhances user interactivity.<\/p>\n\n\n\n<p><em>To check the complete feature overview documentation of The Plus Addons for Elementor Hover Card widget, <a href=\"\/docs\/hover-card-elementor-widget-settings-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">click here<\/a>.<\/em><\/p>\n\n\n\n<p><strong><em>Requirement&nbsp; &#8211; This widget is a part of The Plus Addons for Elementor, make sure its installed &amp; activated to enjoy all its powers.<\/em><\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-75 is-style-fill\"><a class=\"wp-block-button__link has-nxt-global-color-8-color has-nxt-global-color-1-background-color has-text-color has-background wp-element-button\" href=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/widgets\/advanced-hover-card-animations?utm_source=tpae&amp;utm_medium=docs&amp;utm_campaign=text\" style=\"border-radius:5px\" target=\"_blank\" rel=\"noreferrer noopener\">LIVE WIDGET LINK<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>You can find the Custom Hover option in Background Style as well as in Text and Image content type separately, but the process works similarly for all.<\/p>\n\n\n\n<p>Here we\u2019ll use the Custom Hover option from Background Style.<\/p>\n\n\n\n<p>For example, we have an anchor tag button inside a container class called \u201c<em>card<\/em>\u201d.&nbsp;<\/p>\n\n\n\n<p>Now we want to add a scale effect to the button when someone hovers over the \u201c<em>card<\/em>\u201d container.<\/p>\n\n\n\n<p>So in the Hover Card widget, we have an item with <strong>Div<\/strong> as the <strong>Open Tag<\/strong> and <strong>card<\/strong> as the class name, since we want to add an anchor tag inside the div, we\u2019ll set <strong>None<\/strong> as the <strong>Close Tag<\/strong>. We\u2019ll select <strong>None<\/strong> in the <strong>Content<\/strong> because this div is just a container.&nbsp;<\/p>\n\n\n\n<p>Then, in the second item, we\u2019ll select <strong>a<\/strong> as the <strong>Open Tag<\/strong> and <strong>Default<\/strong> as the <strong>Close Tag<\/strong>. In the <strong>Content,<\/strong> we\u2019ll select <strong>Text<\/strong> and add text for the button.<\/p>\n\n\n\n<p>In the third item, we\u2019ll set <strong>None<\/strong> as the <strong>Open Tag<\/strong> and <strong>Div <\/strong>as the <strong>Close Tag<\/strong> since we want to close the <strong>card<\/strong> container here.<\/p>\n\n\n\n<p>Set <strong>None<\/strong> in the <strong>Content<\/strong> dropdown as well.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"331\" height=\"903\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/07\/hover-card-structure-custom-hover.gif\" alt=\"hover card structure custom hover\" class=\"wp-image-121102\"\/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>Note: Make sure to style the elements from the <\/em><strong><em>Style<\/em><\/strong><em> and <\/em><strong><em>Background Style<\/em><\/strong><em> section according to your need.<\/em><\/p>\n<\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<p>Now open the second item and turn on the <strong>Background<\/strong> toggle under the <strong>Background Style<\/strong> section.&nbsp;<\/p>\n\n\n\n<p>Go to the <strong>Hover<\/strong> tab and turn on the <strong>Custom Hover<\/strong> toggle. In the <strong>Enter Class<\/strong> field, add the parent container class name you want to target, for instance, we\u2019ll add \u201c<em>.card<\/em>\u201d here.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>Note: Make sure to add the class name with <\/em><strong><em>.(dot)<\/em><\/strong><em> in front.<\/em><\/p>\n<\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<p>Now to add the scale effect, go to the <strong>Transform css<\/strong> field and add the transform CSS. For instance, we\u2019ll add <em>scale(1.1)<\/em>.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1920\" height=\"945\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/07\/hover-card-custom-hover-option.gif\" alt=\"hover card custom hover option\" class=\"wp-image-121103\"\/><\/figure>\n\n\n\n<p>Now if you hover over the card container, the button will grow.<\/p>\n\n\n\n<p>Also, read <a href=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/docs\/create-custom-layout-with-hover-card-in-elementor\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Create a Custom Layout With the Hover Card in Elementor<\/a>.<\/p>\n","protected":false},"author":25,"featured_media":121104,"parent":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","docs":[574,527],"class_list":["post-121101","documents","type-documents","status-publish","format-standard","has-post-thumbnail","hentry","docs-hover-card","docs-plus-widgets"],"acf":[],"_links":{"self":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents\/121101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents"}],"about":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/types\/documents"}],"author":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/comments?post=121101"}],"version-history":[{"count":0,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents\/121101\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/media\/121104"}],"wp:attachment":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/media?parent=121101"}],"wp:term":[{"taxonomy":"docs","embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/docs?post=121101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}