Forum Replies Created
-
Dear,
you want change brand to bold, please add custom CSS:.product_meta > span{ font-weight: bold !important; } .product_meta > span a{ font-weight: normal !important; }
add border for product thumbnails image:
.product div.images img { border: 2px solid #f00 !important; }
Best regards.
in reply to: Customizing content single product templateDear, i go to check your site, i see you use short code for Main Shop page and use it with MAIN QUERY, and i see your site have setting “Blog pages show at most” in http://www.vintageheirloom.biz/wp-admin/options-reading.php is 5 posts per page, so,the short code will use MAIN query to display => you can see 5 product per page,
to fix it i have edit short code and uncheck “IS MAIN QUERY” to use query build with SHORT CODE, now, the short code display 40 product per page, please check your site again.
in reply to: Only showing 5 products from catalogDear, to display related product, you need use “Related product” short code in custom product template (see attachment)
Attachments:
You must be logged in to view attached files.in reply to: White SpaceDear, you can edit it in code, please go to file “wp-content/plugins/dhvc-woocommerce/includes/dhwc-brand/dhwc-brand.php” line ~219 and you can change String “Brand” in function ‘dhwc_add_prouduct_brand_meta’ (see attachment).
Best regards.
Attachments:
You must be logged in to view attached files.in reply to: Customizing content single product templateDear, please add more custom css on your site
.dhvc-woocommerce-page .thumbnails .image_frame a{ float: none !important; margin: 0 !important; width: auto !important; }
in reply to: Images Gallery don't display correctlyDear, for your problem, please add custom CSS on your site,
1.Custom product title
.dhvc-woocommerce-page .product_title{ color: #f00; font-size: 30px; line-height: 1.2; }
2. Add border in image:
.dhvc-woocommerce-page .images .woocommerce-main-image img{ border: 2px solid #f00; }
3. please translate brand with language file on {yourpugin}/languages folder
best regards.
in reply to: Customizing content single product templateDear, to fix it, please add custom css on your site,
.dhvc-woocommerce-page .thumbnails .image_frame{ display: block; float: left; margin-bottom: 10px; margin-right: 3%; width: 30%; }
in reply to: Images Gallery don't display correctlyDear, i login with account your send to check problem, but i can not go to admin your site, please change “evanto” user role to administrator, i need check details your problem.
in reply to: Images Gallery don't display correctlyDear, i do not understand your problem on image, please kindly tell for me more details ?
in reply to: Images Gallery don't display correctlyDear, to fix your problem , please go to file “wp-content/plugins/dhvc-woocommerce/includes/class.php” line ~ 703 and search code (like image attachment):
if ($hide_thumbnail !== '0') : $output_image .= '<div class="dhvc-woo-images">'; if(defined('YITH_WCWL')){ $output_image .= do_shortcode('[yith_wcwl_add_to_wishlist]'); } if($show_sale_flash !== '0' && $product->is_on_sale()): ob_start(); woocommerce_show_product_loop_sale_flash(); $output_image .= ob_get_clean(); endif; if(function_exists('dhwcpl_product_sale')){ ob_start(); dhwcpl_product_sale(); dhwcpl_product_out_of_store(); dhwcpl_shop_loop_item(); $output_image .= ob_get_clean(); } if (has_post_thumbnail ()) { $image_title = esc_attr ( get_the_title ( get_post_thumbnail_id () ) ); $image_link = esc_url ( get_permalink () ); $thumb_size = 'shop_catalog'; $thumbnail_image = get_the_post_thumbnail( $post->ID, 'shop_catalog' ); if(!empty($thumbnail_height) && !empty($thumbnail_width)){ $thumb_size = $thumbnail_width.'x'.$thumbnail_height; $thumbnail_data = dhvc_woo_getImageBySize(array( 'post_id' => $product->id, 'thumb_size' => $thumb_size )); $thumbnail_image = $thumbnail_data['thumbnail']; } $output_image .= '<a href="'.$image_link.'" itemprop="image" title="'.$image_title.'" >'.$thumbnail_image.'</a>'; } else { $output_image .= apply_filters ( 'woocommerce_single_product_image_html', sprintf ( '<a href="%s" itemprop="image" title="%s"><img src="%s" alt="Placeholder" /></a>', esc_url ( get_permalink () ), $image_title, wc_placeholder_img_src () ), $product->id ); } $output_image .= '</div>'; endif;
change to (like attachment):
if ($hide_thumbnail !== '0') : $output_image .= '<div class="dhvc-woo-images">'; if(defined('YITH_WCWL')){ $output_image .= do_shortcode('[yith_wcwl_add_to_wishlist]'); } if($show_sale_flash !== '0' && $product->is_on_sale()): ob_start(); woocommerce_show_product_loop_sale_flash(); $output_image .= ob_get_clean(); endif; if(function_exists('dhwcpl_product_sale')){ ob_start(); dhwcpl_product_sale(); dhwcpl_product_out_of_store(); dhwcpl_shop_loop_item(); $output_image .= ob_get_clean(); } if (has_post_thumbnail ()) { $image_title = esc_attr ( get_the_title ( get_post_thumbnail_id () ) ); $image_link = esc_url ( get_permalink () ); $thumb_size = 'shop_catalog'; $thumbnail_image = get_the_post_thumbnail( $post->ID, 'shop_catalog' ); if(!empty($thumbnail_height) && !empty($thumbnail_width)){ $thumb_size = $thumbnail_width.'x'.$thumbnail_height; $thumbnail_data = dhvc_woo_getImageBySize(array( 'post_id' => $product->id, 'thumb_size' => $thumb_size )); $thumbnail_image = $thumbnail_data['thumbnail']; } $output_image .= '<a href="'.$image_link.'" itemprop="image" title="'.$image_title.'" >'.$thumbnail_image.'</a>'; } else { $output_image .= apply_filters ( 'woocommerce_single_product_image_html', sprintf ( '<a href="%s" itemprop="image" title="%s"><img src="%s" alt="Placeholder" /></a>', esc_url ( get_permalink () ), $image_title, wc_placeholder_img_src () ), $product->id ); } //custom if(function_exists('dt_woocommerce_get_product_preview_icons')){ $rollover_icons = dt_woocommerce_get_product_preview_icons(); if ( $rollover_icons ) : $output .= '<div class="rollover-content"><div class="wf-table"><div class="links-container wf-td ">'; $output .= $rollover_icons; $output .= '</div></div></div>'; endif; } //end custom $output_image .= '</div>'; endif;
Then add custom css on your site:
.dhvc-woo-images .rollover-content .links-container > a { background: rgba(255, 255, 255, 0.28) none repeat scroll 0 0; }
Attachments:
You must be logged in to view attached files.in reply to: Image overlay do not showDear, please add custom css to fix it,
.dhvc-woo-info .dhvc-woo-title { line-height: 18px !important; } .dhvc-woo-price { margin-left: 0 !important; margin-top: 20px !important; }
in reply to: Only showing 5 products from catalogDear, i go to check icon in your site, the problem because inherit css form plugin, please go to file “wp-content/plugins/dhvc-woocommerce-page/assets/css/style.css” and remove CSS:
.dhvc-woocommerce-page *, .dhvc-woocommerce-page *:before, .dhvc-woocommerce-page *:after{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
in reply to: Images Gallery don't display correctlyDear, if you want custom like image attachment, you need add custom css to do it, please give for me your problem URL, i will help you to custom it.
Best regards.
in reply to: Customizing content single product templateDear, the plugin display products with layout of plugin ( not use default layout of theme )so, if you want add overlay icon for layout of plugin, you need add custom code and if you update plugin, you need add custom code for each times update plugin. you want do it ?
in reply to: Image overlay do not showDear, i can not see your problem page on site http://www.vintageheirloom.biz/product-category/vintage-designer-bags/ please kindly send for me your problem URL ?
in reply to: Only showing 5 products from catalog