Monday, February 7, 2022

[FIXED] How can I hide categories and tags in quick view in Wordpress?

Issue

How to hide categories and tags in quick view? I am using WPC Smart Quick View 2.5.0


Solution

I assume you are talking about this plugin. When I visited their website, I saw a live preview page.

I would say the easiest way to hide that meta data would be through CSS. So when I used the Developer Tools of my browser, I was able to figure out the popup modal's id is woosq-popup

enter image description here

And on inspecting the Categories element, I found the class name of its container to be product_meta :

enter image description here

So a custom CSS code like this would resolve the issue:

#woosq-popup .product_meta {
    display: none;
}


Answered By - Akhilesh B Chandran

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.