Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18535

    Forgive me for asking if the answer is obvious! But how do I remove the ‘Close’ option on the Welcome bar at the top? I’ve accidentally closed it and want to reopen it but don’t see how to!

    I’d like to prevent other users from making the same mistake. (I realize that in some cases it wouldn’t be a mistake – but my client wants to leave it open!)

    Thanks so much – love your themes!

    #99831

    Hi interwood,

    Can you tell us what theme you are using?

    Regards,

    Ismael

    #99832

    Propulsion

    Thanks!

    #99833

    Hi interwood,

    Don’t you want the Woocommerce link to appear? (Welcome Banner will be replaced with Woocommerce Links)

    If you want only the Welcome banner to appear and won’t be changed to Woocommerce links, kindly open wp-content/themes/propulsion/functions.php and find this code block (line 257):

    $output .= "<div class='$extraClass container_wrap info_text_header' id='info_text_header' data-hash='$bannerHash' data-cookiename='$cookieName'><div class='container no_css_transition'>";
    if(trim($bannerText) != "" && $bannerHash != $cookieHash)
    {
    $output .= "<div class='infotext'>$bannerText <a class='close_info_text rounded' href='#close'>".__('close','avia_framework')."</a></div>";
    }

    and replace it with:

    $output .= "<div class='$extraClass container_wrap info_text_header' id='info_text_header' data-hash='$bannerHash' data-cookiename='$cookieName'><div class='container no_css_transition'>";
    $output .= "<div class='infotext'>$bannerText</div>";

    Hope this helps. :)

    Regards,

    Ismael

    #99834

    Absolutely perfect! Thanks.

    #99835

    Hi interwood,

    Glad we could help. :)

    Cheers,

    Ismael

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

The topic ‘Keep welcome bar open’ is closed to new replies.