test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • etchot Friend
    #184579

    Hi,

    In my opinion it is not clear enough that you need to press a button to open the main menu in the mobile version. I would like to add a text next to it (for example: click to open menu). I am providing a screen shot. How can I add the text in the mobile version only?

    Thanks.


    1. Main-menu-mobile
    phong nam Friend
    #482334

    Hi etchot,

    try this :

    Take backup first

    1. Open templatesja_merocsstemplate-responsive.css
    Then remove codes:


    .ja-mainnav .navbar .btn-navbar {
    background: #252525
    border: 0;
    text-indent: -999em;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    }
    .ja-mainnav .navbar .btn-navbar .icon-bar {
    background: #373737
    }
    .ja-mainnav .navbar .btn-navbar:hover {
    background: #1ba1e2
    }
    .ja-mainnav .navbar .btn-navbar:hover .icon-bar {
    background: #fff
    }

    . Then Save
    2. Open templatesja_merotplsblocksmainnav.php.
    Then replace:

    <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    </button>

    with :

    <p class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
    Open Menu
    </p>

    You can see my attached image for example.

    Regards,

    Leo


    1. mobile-menu
    etchot Friend
    #482589

    Hi Leo,

    Thank you for your reply. I followed the steps you mentioned in your post. Unfortunately, I did not get the same results as you. I did not mentioned you that I am using my own theme (modified version of light theme) but I also tried to change template-responsive.css in templatesja_merocssthemescustom-theme. Attached is a screen shot.

    Regards,
    Etchot


    1. Mobile-menu-2
    phong nam Friend
    #482621

    Hi etchot,

    It still works as i mentioned above although I set default style JA_Mero – Light.

    Regards,

    Leo

    etchot Friend
    #482769

    Hi Leo,

    Thanks for checking it with the JA_Mero – Light template. I made some changes in my website through the custom.css file. I will review them because I believe that can be the reason why I do not get the right results.

    Regards,
    Etchot

    etchot Friend
    #482830

    Hi Leo,

    Finally, I did the steps below and it worked. Thank you for your help.

    1. Open templatesja_merotplsblocksmainnav.php and replace:
    2. [PHP]<button type=”button” class=”btn btn-navbar” data-toggle=”collapse” data-target=”.nav-collapse”>
      <span class=”icon-bar”></span>
      <span class=”icon-bar”></span>
      <span class=”icon-bar”></span>
      </button>[/PHP]

      with:

      [PHP]<p class=”btn btn-navbar” data-toggle=”collapse” data-target=”.nav-collapse”>Menu</p>[/PHP]

    3. I did not open templatesja_merocsstemplate-responsive.css and remove code.
    4. Create/open templatesja_merocsscustom.css and add:
    5. .ja-mainnav .navbar .btn-navbar {
      text-indent: 0;
      }

    Regards,
    Etchot

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

This topic contains 6 replies, has 2 voices, and was last updated by  etchot 11 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum