Home Page that start from Main Menu - How to delete all up items top menu search logo

Latest Reply from Dave at 2014-10-03 00:48:11
How can I remove all the items up the Main Menu ?
I would remove Top Menu (not only the links, also the white bar), the search and the logo.
I would like that the home page start 5-10px from the top of page with the Main Menu.

Removing the menus was discussed on our forum many times:
http://smthemes.com/support/topic/howcaniremovesearchboxmenusliderfacebookwidgetetc/#post-2326 (secondary) and
http://smthemes.com/support/topic/removecategorybar/#post-1217 (main menu).
To remove search and logo you have to delete this code:
<div id='secondarymenu-container'>

<div id="logo">
<?php $SMTheme->block_logo();?>

<div class="menusearch" title="">
<?php get_search_form(); ?>

<div id='menu-box'>
<div id='secondarymenu'>
<?php wp_nav_menu('depth=0&theme_location=sec-menu&container_class=menu-topmenu-container&menu_class=menus menu-topmenu&fallback_cb=block_sec_menu'); ?>


from header.php located in the root directory of the theme.
Besides, you have to delete the code:
<?php smt_mobile_menu('sec-menu'); ?>
To change paddings and margins you have to edit the code style.css. We don't provide any kind of services for editing themes for individual users.

Leave a reply

Add codeAdd image