Shape 5

Joomla Templates => Amazed Photography - Club => : joyhanawa March 11, 2017, 01:28:30 PM



: Enabling Floating Mobile Menu Amazed Photography
: joyhanawa March 11, 2017, 01:28:30 PM
I am using Amazed Photography and have enabled the floating menu.  Two issues.

1.  When it floats I lose the HTML/CSS logo.
2.  It does not float on mobile.

Any tips would be greatly appreciated.

http://demo3.joyhanawa.com


: Re: Enabling Floating Mobile Menu Amazed Photography
: jonahh March 13, 2017, 11:27:54 AM
Hello,

1. For this template we didn't design the logo to show up in the floating menu. If you want to add it in there you'd need to move it in the index.php file and place it inside the following DIV. It will then show in the floating menu but will probably need CSS adjustments to look proper:

:
id="s5_menu_wrap'

2. In the Vertex admin area under responsive nav there should be a switch to enable floating menu for mobile.


: Re: Enabling Floating Mobile Menu Amazed Photography
: joyhanawa March 14, 2017, 10:05:46 AM
Hi,
In case anyone else wants to do this:
index.php {back up your file first}

Move these two lines:
<?php if ($s5_show_menu == "show") { ?>   
            <div id="s5_menu_wrap">

above the logo here:
         <?php if($s5_logo_type != "none") { ?>



Modify your custom.css
#s5_menu_wrap {
  width:80%;
}
.s5_logo_wrap{
  padding-left:10px;
}

#s5_menu_wrap.s5_wrap_fmfullwidth {
z-index:3;
}


: Re: Enabling Floating Mobile Menu Amazed Photography
: joyhanawa March 14, 2017, 10:15:45 AM
Sorry, no go on the mobile float, screenshot attached.  Maybe there's a different switch that I am missing.

http://demo3.joyhanawa.com


: Re: Enabling Floating Mobile Menu Amazed Photography
: jonahh March 14, 2017, 01:50:10 PM
Ah that's right I forgot we did an override for the menu on this one. So to remove this just open up the index.php file and look for the following at the top and delete this line:

:
$s5_responsive_menu_button = "override";

Then the menu will show as default in Vertex and the floating menu will work for it.