Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #15488

    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:

    display: none;

    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.




    Thank you – that worked


    P. S. Will this change interfere with any other functionality?


    Hi jeanstorms,

    Glad that Peter helped you. :) The code above will only affect the info text header, and will not cause issue to the functionality of other elements. :)



Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Change the "Close" link in the header socket’ is closed to new replies.