Forum Support

Shape 5
March 28, 2024, 03:11:29 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Using Free Template move menu before head??  (Read 9366 times)
kirksfp
Jr. Member
**
Offline Offline

Posts: 2



« on: October 23, 2014, 12:57:06 PM »

Ok so I am new to this frame work. I have used Genesis and Cherry and it is pretty basic in the function.php file to relocate the main or secondary menu before the head.  However int his frame work i have looked for the functions code to do the same but I am just not finding it.  Anyone have any ideas on this?  Thanks
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: October 23, 2014, 06:47:39 PM »

Hello,

This type of change would require custom programming changes. If you look in the index.php file for the Template you can see the menu call there such as:

Code:
<?php if ($s5_show_menu == "show" || $s5_pos_search == "published") { ?>
<div id="s5_menu_wrap">
<?php if ($s5_show_menu == "show") { ?>
<?php  include("vertex/s5flex_menu/default.php"); ?>
                        <?php  //include("vertex/responsive/responsive_mobile_menu.php"); ?>
<?php ?>
<?php if($s5_pos_search == "published") { ?>
<div id="s5_search">
<?php s5_module_call('search','notitle'); ?>
</div>
<?php ?>
<div style="clear:both; height:0px"></div>
</div>
<?php ?>
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
sturg2013
Jr. Member
**
Offline Offline

Posts: 8



« Reply #2 on: October 29, 2014, 10:23:50 AM »

Hello,

This type of change would require custom programming changes. If you look in the index.php file for the Template you can see the menu call there such as:

Code:
<?php if ($s5_show_menu == "show" || $s5_pos_search == "published") { ?>
<div id="s5_menu_wrap">
<?php if ($s5_show_menu == "show") { ?>
<?php  include("vertex/s5flex_menu/default.php"); ?>
                        <?php  //include("vertex/responsive/responsive_mobile_menu.php"); ?>
<?php ?>
<?php if($s5_pos_search == "published") { ?>
<div id="s5_search">
<?php s5_module_call('search','notitle'); ?>
</div>
<?php ?>
<div style="clear:both; height:0px"></div>
</div>
<?php ?>

Thanks Mike I am not used to this theme yet.  normally I use the functions.php and change the hook to set the for before the header.  So with this framework everything is a call and not a hook then?
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: October 29, 2014, 09:14:44 PM »

Hello,

Yes you should just need to move the index block in the source higher in the output. The rest of the areas in the site are part of the Framework.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.