Add Class and remove layer media (Woocommerce)?

Ticket for: Combo Blocks
0
Add Class and remove layer media (Woocommerce)? 1
gianghl1983
Jan 06, 2019 07:35 PM 1 Answers
Member Since Nov 2018
Subscribed Subscribe Not subscribe
Flag(0)

Hi,
I create grid for Woocommerce and I notice that the layout like this:
<div class="layer-media">
MEDIA/Image of product
</div>
<div class="layer-content">
<div class="wc_regular_price">£12312321</div>
<div class="wc_add_to_cart">Add to cart</div>
</div>

The thumbnail always is 200*300

My questions is:
1. How I can change the size of thumbnail?
2. How I can get rid of div with class = layer-media, so I can create my own thumbnail on div with class = layer-content?

Thanks!

2 Subscribers
Add Class and remove layer media (Woocommerce)? 1
Add Class and remove layer media (Woocommerce)? 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Add Class and remove layer media (Woocommerce)? 4
PickPlugins
Jan 06, 2019
Flag(0)

Welcome to our forum.

If you are using default featured image please see there is an option to select featured image size under

Layout settings > Featured Image size

Please see the screenshot https://imgur.com/TXcJi0c

There is a filter hook for media, Please see the documentation https://pickplugins.com/documentation/post-grid/filter-hooks/filters-post_grid_filter_html_media/

you can't remove the class  

 just filter inside content.

Let me know for more help.

Regards

Add Class and remove layer media (Woocommerce)? 5
gianghl1983
- Jan 07, 2019 11:17 AM
Flag (0)
0

Cool! I think that is all I need :D!

Many thanks!

Sign in to Reply
Replying as Submit