Thumbnail Grid Image Height

This topic contains 13 reply and 4 voices, and was last updated by towhid 9 years, 2 months ago
Viewing 13 Posts - 1 through 13 (of 13 total)
Author Posts
September 2, 2015 at 8:22 pm 70225
towhid I moved my dokan licence, on the old site the thumbnails were of different heights on the new site they are all the same height Please seegoodgrid-badgrid I have looked everywhere but simply cannot work out where to set the grid so the height is staggered Your help is much appreciated Julie
September 3, 2015 at 2:35 pm 70284
Julie Julie

Its a woocommerce setting not dokan

September 3, 2015 at 7:26 pm 70385
towhid towhid

Hello Julie,

Please navigate to wp-content/themes/wedevs-dokan/front-page.php and find this line of code.

<div class="slider-container woocommerce">
                    <h2 class="slider-heading"><?php _e( 'Latest Products', 'dokan' ); ?></h2>

                    <div class="product-sliders">
                        <ul class="slides">
                            <?php
                            $latest_query = dokan_get_latest_products();
                            ?>
                            <?php while ( $latest_query->have_posts() ) : $latest_query->the_post(); ?>

                                <?php wc_get_template_part( 'content', 'product' ); ?>

                            <?php endwhile; ?>
                        </ul>
                    </div>
                </div> <!-- .slider-container -->

To change the latest product container, please customize the above code.

Thanks

September 8, 2015 at 7:05 pm 70994
Shariful Shariful

Hi I am also having this problem …

I have no control over product thumbnail highlight.. at the moment they are all odd sizes and seem to not look very good.

please view the website in question from the link below:

http://www.geeweez.com/dev/

CAN YOU PLEASE HELP i have tried the hard crop method in woocommerce however this did not work along with trying a plugin called : Regenerate Thumbnails.

Can you tell me how i can make all the product heights on the home page one size.

However i did not understand the action above you wish for me to take in order to fix this can you please explain..

September 8, 2015 at 9:38 pm 71020
towhid towhid

Hello Shariful,

Can you please create a different topic. Because it is hard to keep track and provide a solution.

Thanks

September 8, 2015 at 9:41 pm 71021
Shariful Shariful

Not sure how to create a different topic in this support area…??

September 10, 2015 at 11:41 am 71231
kenneth kenneth

to solve this issue, pls make sure the height of your images are at least 500px and above. hope it helps.

September 10, 2015 at 2:53 pm 71268
Shariful Shariful

Hi Kenneth, Thank you for your comment, I’m afraid i was looking for a solution that over rights the thumbnail image no matter what size is uploaded. Kind of like a Hard crop Woocommerce have, for some reason this seems to not work with the Dokan theme.

The point to this is I am making a multi vendor site and therefore have no control over the product images the traders upload. This is why I was hoping Dokan support would help me with a method to fix the height on the homepage product display of my site.

http://www.geeweez.com/dev

Towhid from Dokan support started to explain this in the above replies but I’m afraid I did not understand the edit that needed to be made to the code he referenced.

September 12, 2015 at 1:10 pm 71503
towhid towhid

Hello Shariful,

Please provide your login details(also FTP) by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

Thank you 🙂

September 12, 2015 at 3:10 pm 71511
kenneth kenneth

Hi Shariful, I do understand your concern and it’s really hard to standardize the image sizes across the marketplace. Let’s hope towhid can give us a better solution on this 🙂

September 14, 2015 at 2:54 pm 71722
Shariful Shariful

Hi Towhid,

I have sent a reply back to you with regards to the site login details along with FTP details.

If you can please let me know of your findings.

Kind Regards
Sharif

September 14, 2015 at 5:11 pm 71742
towhid towhid

Hello Shariful,

You can upload any image if you want. But image height and width ratio must be same. An image scale beyond it to maintain it’s aspect ratio.

Or, you can insert this line of code in your theme’s style.css file.

img.attachment-shop_catalog.wp-post-image {
    height: 180px !important;
    width: 200px !important;
} 

Hope it will help you to get rid of your problem.

Thanks

September 15, 2015 at 2:26 pm 71870
Shariful Shariful

Hi Towhid,

Thank you for your reply and yes the code worked perfect. Thank you for all your help on this matter.

I did have a second question hope you do not mind me using this post box to bring it up. I wanted to know if it would be possible to make edits to the product upload process each use go’s over when adding the product.

I needed to add a check box on the shipping tab to also point out if the product can be collected at a pick up point.

Or would it be possible to have all the extra input tabs when adding a product to be on one page?

thanks

September 16, 2015 at 12:41 pm 72008
towhid towhid

Hello Shariful,

I did not understand your second question clearly. Can you please elaborate the question with some screenshot?

Thanks

Viewing 13 Posts - 1 through 13 (of 13 total)