Dear Team,
1. How to delete space, i just put shorcode slide in the page, i dont want space on above slider > http://screencast.com/t/U0TTQJpB
2. how to custome search box like this > http://screencast.com/t/3RVbANru4L i want to like number 2, please give me code
Thanks
Hello,
1) The top padding can be removed like so:
.home .td-main-content-wrap{
padding-top:5px!important;
}
2) our theme does not have this option and there is no simple code I can provide for this. The search widget depends on the search icon. This is the way our theme was built. You can probably replace the sarch widget with a wp standard one like this topic suggests: https://forum.tagdiv.com/topic/replace-search-icon-with-search-bar-in-the-header/
Thank you!
Dear Team,
Thanks Very much.. it’s works..
i have one question again..
i want to “add to cart” when click redirect url and go to new window > http://screencast.com/t/SiwE3ZuzSWGR
This is code on functions.php but not new window.. How to new window ?
/**
* Set a custom add to cart URL to redirect to
* @return string
*/
function custom_add_to_cart_redirect() {
return ‘http://www.yourdomain.com/your-page/’;
}
add_filter( ‘woocommerce_add_to_cart_redirect’, ‘custom_add_to_cart_redirect’ );
source : https://docs.woocommerce.com/document/set-a-custom-add-to-cart-url-to-redirect-to/
Thanks
Hello,
You can try the coding method if you have the proper coding skills, but you can also use a redirect plugin and make the add to card go to an external url of your choice. There are a number of redirect plugins you can use to make thing easier. The link you mentioned will redirect the add to card to a link you have to specify in the code but it will not ake it open in a new window. This code should do it though: https://businessbloomer.com/woocommerce-add-cart-url-open-new-tab/
Thanks.