How do I make a "Call Now" button that shows on mobile only?

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesBurnEngineHow do I make a "Call Now" button that shows on mobile only?

This topic has been marked as not a support question.

burn Engine on OC 2.1.0.1

I would like to create a “Call Now” button on the header that only shows on phone.. designed same as other header menu buttons.

and put it right here >> https://www.screencast.com/t/7m7m9WLzDHAt

I do not want it to show on regular menu, just mobile menu… How do I do that?

March 15, 2017 at 11:13 pm #57446

Hi,

Unfortunately, you cannot insert a button next to these two without hacking in some of engine system files.

1) Open system/vendor/BurnEngine/widget/HeaderLogoSystemWidget.php

2) Button markup is inserted on row 35:

$content .= '  <span class="tb_toggle btn btn-lg tb_no_text fa fa-bars tbToggleHeader tbMobileVisible tbMobileHidden"></span>';

BR,
ThemeBurn team

March 21, 2017 at 6:19 pm #57597
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.