I would like to remove the “Close” link from the header socket so that the header displays all of the time. Ideally, I’d like to replace it with a View Cart link. I am not using the WooCommerce plugin.
How do I make this happen?
Add following code to css/custom.css to hide the close button:
If you want to change the button code (eg caption + link target) search for following code in functions.php:
$output .= "<div class='infotext'>$bannerText <a class='close_info_text rounded' href='#close'>".__('close','avia_framework')."</a></div>";
Thank you. Before I posted this question, I did try to modify the functions.php code. I changed the title and URL as follows, but when the link was clicked, it still closed the header and did not open the shopping cart page:
$output .= "<div class='infotext'>$bannerText <a href='SHOPPINGCART URL HERE'>".__('VIEW CART,'avia_framework')."</a></div>";
Can you tell me what I’m doing wrong? Does it have something to do with the avia_framework line? I’m not sure what that does.
Open up js/avia.js and delete following code:
//activate html5 flare video player
This should solve the issue.
The topic ‘Change the "Close" link in the header socket’ is closed to new replies.