Quote

We're also available for Custom Joomla Development

Hire us now

Change header of WhatsappAgent title

I am trying change the Header priority from h1 to simple text in Whatsapp agent with no luck!

Where can I change that so my page dont have 2 <h1> titles. THere is no need, no reason for the Whatsapp agents greeting to be a <h1> , <h2> or <h3>.

There seems to be only one communication here when I search the forum but sadly I cannot enter that page anymore.
       
  •  
    Replied by admin on Thursday, October 24 2019, 11:01 PM · Hide· #1
    Hi, you need to manually change the code in the file ../modules/mod_whatsapp_agent/tmpl/default.php
    You can remove the <h1> tag in the line 102
    	var morning = ("<h1>'.$g_morning_title.'</h1><p>'.$g_morning_msg.'</p>");
    	var afternoon = ("<h1>'.$g_afternoon_title.'</h1><p>'.$g_afternoon_msg.'</p>");
    	var evening = ("<h1>'.$g_evening_title.'</h1><p>'.$g_evening_msg.'</p>");

    and line 145 :
    "<h1>'.$item->greeting_title_override.'</h1><p>'.$item->greeting_msg_override.'</p>"

    and also line 169 :
    "<h1>'.$item->greeting_title_override.'</h1><p>'.$item->greeting_msg_override.'</p>"
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
Your Response
Please login first in order for you to submit comments