WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / FAQ / How to remove the hover effect from property unit card

How to remove the hover effect from property unit card

3777 views 0

How to Remove or Edit Card Hover Effects With Custom CSS

You can use custom CSS to change or remove the hover effects used on property cards, agent cards, blog cards, featured properties, and similar theme elements.

Before adding custom CSS, we recommend using a child theme or adding the CSS in:

  • Appearance > Customize > Additional CSS
  • The style.css file from your child theme

Remove the Image Zoom Effect on Hover

Use this CSS if you want to remove the zoom-in effect from images when hovering over property cards, agent cards, widgets, or featured property sections.

.agent-unit-img-wrapper:hover img,
.widget_latest_internal:hover img,
.featured_widget_image:hover img,
.property_listing:hover .listing-unit-img-wrapper img,
.property_listing:hover .property_unit_custom_element.image img {
  opacity: 1 !important;
  transform: scale(1) !important;
  -moz-transform: scale(1) !important;
  -webkit-transform: scale(1) !important;
  -o-transform: scale(1) !important;
  -ms-transform: scale(1) !important;
}

.featured_property.featured_property_type1:hover .carousel-inner,
.featured_property.featured_property_type2:hover .carousel-inner,
.featured_property.featured_property_type3:hover .carousel-inner,
.featured_property.featured_property_type3:hover .feat_img {
  transform: scale(1) !important;
  -moz-transform: scale(1) !important;
  -webkit-transform: scale(1) !important;
  -o-transform: scale(1) !important;
  -ms-transform: scale(1) !important;
}

If you want to keep the slight opacity change on hover, replace opacity: 1 !important; with your preferred opacity value, for example opacity: 0.8 !important;.

Remove the Card Moving Up Effect on Hover

Use this CSS if you want to stop cards from moving upward when hovering over them.

.blog_unit:hover,
.property_listing:hover,
.agency_unit:hover,
.agent_unit:hover,
.user_role_unit:hover {
  transform: translate(0, 0) !important;
}

Remove the Card Moving Up Effect and Keep the Hover Shadow

If you want to remove only the movement but keep a hover shadow, use this CSS instead:

.blog_unit:hover,
.property_listing:hover,
.agency_unit:hover,
.agent_unit:hover,
.user_role_unit:hover {
  box-shadow: 0 3px 23px 9px rgba(7, 152, 255, 0.15) !important;
  transform: translate(0, 0) !important;
}

Edit the Default Card Shadow Design

Use this CSS if you want to customize the shadow used on cards and content boxes.

.adv-search-3,
.page-template-front_property_submit .navigation_container,
.advanced_search_shortcode,
.membership_package_product,
.contact-wrapper,
.developer_contact_wrapper,
.agency_contact_wrapper,
.property_reviews_wrapper,
.agency_contact_container_wrapper,
.agency_content_wrapper,
.submit_property_front_wrapper,
.directory_sidebar_wrapper,
.places_wrapper_type_2,
.featured_property,
.agency_unit,
#comments,
.single-blog,
#content_container .container_agent,
.listing_wrapper .property_listing,
.listing_wrapper .agent_unit,
.tab-pane,
.nav.nav-tabs,
.agent_contanct_form,
.agent_content,
.wpestate_agent_details_wrapper,
.wpestate_property_description,
.multi_units_wrapper,
.property-panel,
#primary .widget-container,
.user_role_unit,
.testimonial-slider-container .testimonial-container.type_class_3,
.estate_places_slider.slick-initialized.slick-slider,
.google_map_shortcode_wrapper,
.testimonial-container.type_class_1 .testimonial-text,
.blog_unit,
.agent_unit_featured,
.featured_article {
  box-shadow: 0 10px 31px 0 rgba(25, 80, 69, 0.09);
}

.blog_unit:hover,
.property_listing:hover,
.agency_unit:hover,
.agent_unit:hover,
.user_role_unit:hover {
  box-shadow: 0 3px 23px 9px rgba(25, 80, 69, 0.15) !important;
}

Important Notes

Add only the CSS section you need. You do not have to add all examples unless you want to change all these effects.

After adding custom CSS, clear your website cache, server cache, CDN cache if used, and browser cache.

Related Help Articles


How to add custom CSS


How to add details on properties in the property list

FAQ

Related Articles

  • FAQ – How do I migrate my website to a new hosting provider?
  • Why Add Listing and User Dashboard May Not Be Visible on Mobile
  • Can I add Email, WhatsApp, and Phone to property cards on the Advanced Search Results page?
  • Why are H2 or H3 tags shown as plain text after listing pages?

Help Categories

  • 18Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 38Elementor Shortcodes Built-In
  • 45FAQ
  • 15Footer
  • 5Getting Started
  • 37Header
  • 2IDX & MLSImport
  • 6Installation & Setup
  • 23Installation FAQ
  • 23Maps & Location Settings
  • 21Multi-Language Third Party Plugins
  • 6Other Third party Plugins
  • 19Pages
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 36Property Pages & Layouts
  • 31Search & Filtering
  • 162Technical how to | Custom Code Required
  • 8Technical: Actions and filters
  • 6Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Translations & Languages
  • 16WPBakery Shortcodes
  • 51WPResidence / WPEstate CRM
  • 50WPResidence 5.0 Documentation
  • 8WPResidence Elementor Studio
  • 50WPResidence Translate Plugin

Join Us On

Powered by WP Estate - All Rights Reserved
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API