Header & Menu
-
Hi,
It is possible to move the image to the TOP of the website and the menur under it?this my website: http://www.garagemcadecasa.com
-
Hi,
please search for the following code in “header.php”:
<?php if ( !is_page_template('template-landing-page.php') ) { ?> <div class="menu-box-container"> <div class="menu-box-wrapper"> <div class="menu-box"> <a class="link-home" href="<?php echo esc_url( home_url( '/' ) ); ?>"><i class="icon_house" aria-hidden="true"></i></a> <?php wp_nav_menu( array( 'menu_id'=>'nav', 'theme_location'=>'main-navigation' ) ); ?> </div> </div> </div> <?php } ?>
and move it just before this element:
</header> <!-- end of header -->
Best regards,
Tomas TomanIt is posible in free version?
Hi,
yes, the above described modification is determined for the Free version.
Best regards,
Tomas TomanThanks for the quick answer but i can´t find the Header.php in the WP Menu.
It this option is suposed to be in the tray under theme options?
Can I install any plugin to change the header.php?Best regards
The “header.php” is editable through “Appearance > Editor”. But instead of modifying the original theme directly, I recommend you to create a child theme.
Best regards,
Tomas TomanI don’t have the option “editor”. My version from HP is 1.1.5 and WP 4.3.1.
The Editor is accessible only for users with administrator permissions. If your account has the “Administrator” role, please try to deactivate all your installed plugins as there might be a plugin that blocks this functionality. If this does not help, please contact your web host provider because it could be a server-side issue (insufficient permissions for editing files).
Best regards,
Tomas TomanSolved with hoster provider! The inicial idea is the header begin with the image an the Menu under It. I want to cut the title, sub-title, etc.
I already tested the The Menu under image and works just fine! but i don’t now what i have to cut in addicion to clean above it!
Hi,
you can put the following custom CSS into “Theme Options > Other Settings > Custom CSS” to hide the site title area:
#wrapper .header-content-wrapper {display: none;}
Best regards,
Tomas TomanThank for the support!
Best regards
Hi,
i’d like to move the image above the menu on right side, titel and sub-titel on left above the menu.This code (custom css) moves it to the header
html #wrapper #header .header-content .header-logo {margin: 0 auto; float: right; clear: none; text-align: center; display: block;}
but the titel disappears.
Then I remove the code in “header.php” just before this element:
</header> <!-- end of header -->
but the menu disappears.
Thanks.
Best regards,
FeldsteinDear Feldstein,
if you would like show both a Logo and the Site Title in header, then you will need to edit this code in “header.php”:
<?php if ( get_theme_mod('happenstance_logo_url', $happenstance_defaults['happenstance_logo_url']) == '' ) { ?> <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></p> <?php } else { ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img class="header-logo" src="<?php echo esc_url(get_theme_mod('happenstance_logo_url', $happenstance_defaults['happenstance_logo_url'])); ?>" alt="<?php bloginfo( 'name' ); ?>" /></a> <?php } ?>
in this way:
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></p> <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img class="header-logo" src="<?php echo esc_url(get_theme_mod('happenstance_logo_url', $happenstance_defaults['happenstance_logo_url'])); ?>" alt="<?php bloginfo( 'name' ); ?>" /></a>
Best regards,
Tomas TomanDear Tomas,
thanks a lot. Editing achieved success.
On left side the header shows titel, logo and sub-titel.
I prefer titel and sub-titel on left side, logo right-aligned. And the upper edge of titel be in line with the upper edge of the logo. I fail to manage it in Custom CSS.
Many thanks once again.
Best regards,
FeldsteinDear Feldstein,
if possible, please post here a link to your website so I could view it to help you to manage the header area.
Best regards,
Tomas TomanDear Tomas,
my website isn’t published yet. If you like, here’s a link to a photo of the header area.
Thank you for your help.
Best regards
Feldstein
- The topic ‘Header & Menu’ is closed to new replies.