Forum Replies Created
-
Dear, I have go to your site and add custom css in theme options :
@media (min-width: 768px) { .dhvc-woo-list-item .dhvc-woo-images{ width:40% !important; display:table-cell !important; } .dhvc-woo-list-item .dhvc-woo-info{ width:60% !important; } }
– If you want add ‘Read more’ button in list layout please go to file “{yourtheme}/functions.php” and change custom code function “dhvc_woo_add_to_cart_custom” on prev comment to :
function dhvc_woo_add_to_cart_custom( $output_addtocart, $product, $display ) { if($display == 'list'){ $html = ''; $html .= '<div class="dhvc-woo-addtocart">'; $html .= sprintf( '<a href="%s" rel="nofollow" title="%s" data-product_id="%s" data-product_sku="%s" data-quantity="%s" class="button %s product_type_%s">%s</a>', esc_url( $product->add_to_cart_url() ), esc_attr($product->add_to_cart_text()), esc_attr( $product->id ), esc_attr( $product->get_sku() ), esc_attr( isset( $quantity ) ? $quantity : 1 ), $product->is_purchasable() && $product->is_in_stock() ? 'add_to_cart_button' : '', esc_attr( $product->product_type ), esc_html( $product->add_to_cart_text() ) ); $html .= sprintf( '<a href="%s" title="%s" class="button">%s</a>', esc_url( get_permalink($product->id) ), esc_attr(get_the_title($product->id)), esc_html( 'More info' ) ); $html .='</div>'; $output_addtocart = $html; } return $output_addtocart; } add_filter('dhvc_woo_addtocart', 'dhvc_woo_add_to_cart_custom',10,3);
– Also, please tell for me more details what you want custom css for button.
Best regards.
in reply to: Some changes, help me please. :)This reply has been marked as private.in reply to: Formatting lost on live siteThis reply has been marked as private.in reply to: Creating a form with conditional logicThis reply has been marked as private.This reply has been marked as private.in reply to: Product CategoryDear, in Popup form setting, if you checked ‘Only one time ?’ setting, the form only display for first visit your site will cookie in 1 hour, if you not checked it, the popup always show on all page.
in reply to: Auto open popupThis reply has been marked as private.This reply has been marked as private.in reply to: Pagination Changed After Installing Plus Other StuffDear, i have check your site, to fix your problem, i have go to file ‘/wp-content/plugins/dhvc-woocommerce/dhvc-woocommerce.php’ change code:
add_filter( 'template_include', array( &$this, 'template_loader' ) ,1000);
to :
add_filter( 'template_include', array( &$this, 'template_loader' ) ,100);
Then i have your theme and add custom template for ‘dhvc-woocommerce’ plugin in folder ‘wp-content/themes/virtue_premium/dhvc-woocommerce’
Now, it’s working, please check your site again.
in reply to: Pagination Changed After Installing Plus Other StuffThis reply has been marked as private.in reply to: Some changes, help me please. :)Dear, all fields you can custom template of it and add hook to filter value. i think all feature can help you to create your form .
in reply to: Form plugin 3d party shortcode problemDear, i have check your theme, i see your theme use Visual Composer old version 3.7.4 please contact with theme author to update Visual Composer to latest version, if your theme not Support VC latest version, please add custom code like file ‘0 – READ ME FIRST.txt’ in folder ‘wp-content/plugins/dhvc-form/’
Best regards.
in reply to: DHVC Form Select not working…Dear, you can use filter hook to add default value for text field, if you want add short code to form text field, please add custom code in file {your theme}/functions.php
function dhvc_form_text_default_value_custom($default_value,$dhvc_form,$name){ if($name == '{your field name}' && $dhvc_form->ID =='{your form Id}'){ $default_value = esc_attr(do_shortcode('{your short code}')) } return $default_value; } add_filter('dhvc_form_text_default_value', 'dhvc_form_text_default_value_custom',10,3);
Please change variable to your variable value.
in reply to: Form plugin 3d party shortcode problemDear,
I have check your site and use https://wordpress.org/plugins/wp-mail-smtp/ to check send email function on your hosting, i not see it working.if Notification function not working, please email function in your hosting, you need to make sure PHP Email in your hosting working or you can use send email with SMTP method in Form Settings Page.
in reply to: Don´t get NotificationDear, If you want add custom css to Add to Cart button, you can add custom css in your site, example
.woocommerce.dhvc-woo .dhvc-woo-extra .dhvc-woo-addtocart a.button{ color:#f00 !important; }
Also, if you want change thumbnai size l in list layout, you can add custom css
@media (min-width: 768px) { .dhvc-woo-list-item .dhvc-woo-images{ width:30% !important; } .dhvc-woo-list-item .dhvc-woo-info{ width:70% !important; } }
If your problem still not resolved , please send for me your problem URL, i will help you to fix it.
Best regards.
in reply to: Some changes, help me please. :)