GetNewDesign
Forum Replies Created
-
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] How to create Alt Text "Add to Wishlist" on hover1. Yes, the add-to-wishlist-button.php file is in my theme root folder
2. Yes the attribute change was correctly saved in add-to-wishlist-button.php
2. Not sure. I have tried to add add-to-wishlist-button.php and when I do, no changes happen on the site.
3. Not sure. In my theme root I do have a Woocommerce folder and inside contains email templates that I have customised. I have tried to add add-to-wishlist-button.php there as well, but it doesnt seem to make a difference
4. No we are notThanks for all your help so far.
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] How to create Alt Text "Add to Wishlist" on hoverSOrry- what I emant was to add title attribute, not alt- so I changed the text to this but it still doesnt work:
<?php /** * Add to wishlist button template * * @author Your Inspiration Themes * @package YITH WooCommerce Wishlist * @version 2.0.0 */ global $product; ?> <a href="<?php echo esc_url( add_query_arg( 'add_to_wishlist', $product_id ) )?>" rel="nofollow" title="Add to Wishlist" data-product-id="<?php echo $product_id ?>" data-product-type="<?php echo $product_type?>" class="<?php echo $link_classes ?>" > <?php echo $icon ?> <?php echo $label ?> </a> <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ) ?>" class="ajax-loading" alt="loading" title="Add to Wishlist" width="16" height="16" style="visibility:hidden" />Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] How to create Alt Text "Add to Wishlist" on hoverHi,
thanks for you reply- I added it here and it doesnt seem to work. Did I add ( alt=”Add to Wishlist” ) in the wrong place?
<?php /** * Add to wishlist button template * * @author Your Inspiration Themes * @package YITH WooCommerce Wishlist * @version 2.0.0 */ global $product; ?> <a href="<?php echo esc_url( add_query_arg( 'add_to_wishlist', $product_id ) )?>" rel="nofollow" alt="Add to Wishlist" data-product-id="<?php echo $product_id ?>" data-product-type="<?php echo $product_type?>" class="<?php echo $link_classes ?>" > <?php echo $icon ?> <?php echo $label ?> </a> <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ) ?>" class="ajax-loading" alt="loading" width="16" height="16" style="visibility:hidden" />