Add Class and remove layer media (Woocommerce)?

Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to support@pickplugins.com
Ticket for: Post Grid
0
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
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
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://www.pickplugins.com/documentation/post-grid/filter-hooks/filters-post_grid_filter_html_media/

you can’t remove the class  <div class="layer-media"> just filter inside content.

Let me know for more help.

Regards

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

Please use https://imgur.com/upload to upload your screenshot and share url here.
You can't upload any files or attachment to our server directly for security reason, you can use 3rd party website and share file url here. here is the top file sharing website you can use.

Please login to see your tickets