Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Nota › Logo – Header 6
New Landing › How can we help? › Themeforest Theme Support › Nota › Logo – Header 6
- This topic has 8 replies, 2 voices, and was last updated 6 years by David Martin – Support.
-
Posted in: Nota
-
May 1, 2017 at 11:25 am #322887
This appears to be a continual issue that I can’t get my head around.
I want to increase the size of the logo to around 200px width, but because of the column sizes this pushes the right column content out of the header.
How can I adjust the logo size within Header 6 to accommodate this larger logo width – for desktop/tablet? I don’t want to mess up the optimisation across the screen sizes.
Much appreciated,
Thank you!May 2, 2017 at 6:42 pm #323062Hi,
You can overwrite this via a child theme, we supply this in the main zip file from themeforest.
Please install and activate the supplied child theme. Inside the child theme create a folder structure:
/template-parts/header/
.Inside the new folder structure copy the file
header-4.php
from the parent theme to the new child theme folder structure/template-parts/header/
.Inside the child theme file
header-4.php
, you can change the column grid fromcol-sm-4
tocol-sm-3
for the right side div and increase the logo grid from 4 to 6 to increase the width.Thanks.
May 22, 2017 at 2:14 pm #325498Thank you David,
But I was talking about Header 6.
How can I make it so that the logo is in the centre? The logo is 350px x 94px.
Would really appreciate this instruction.
<?php
/*
*
* Header 6 – Split Menu
* ————————————————
* Copyright Swift Ideas 2016 – http://www.swiftideas.com
*
* Output for header 6
*
*/$nota_options = nota_get_theme_opts();
$header_left_output = nota_header_aux( ‘left’ );
$header_right_output = nota_header_aux( ‘right’ );
$fullwidth_header = $nota_options[‘fullwidth_header’];
?><header id=”header” class=”sticky-header clearfix”>
<?php do_action(‘nota_header_start’); ?>
<div class=”header-left”>
<?php echo $header_left_output; ?>
</div><div class=”container”>
<div class=”row”>
<div class=”split-menu menu-left col-sm-2″>
<?php echo nota_split_header_menu( ‘left’ ); ?>
</div><?php echo nota_logo( ‘col-sm-3 logo-center’ ); ?>
<div class=”split-menu menu-right col-sm-4″>
<?php echo nota_split_header_menu( ‘right’ ); ?>
</div>
</div> <!– CLOSE .row –>
</div> <!– CLOSE .container –><div class=”header-right”>
<?php echo $header_right_output; ?>
</div>
<?php do_action(‘nota_header_end’); ?>
</header>May 22, 2017 at 2:57 pm #325507Hi,
The header 6 file name is
header-split.php
. Please use the above instruction,header-4.php
becomesheader-split.php
.You can still amend the left/right column numbers as above to reduce the space.
Thanks.
May 22, 2017 at 3:08 pm #325509Hi,
The whole header does not centre when I do this. It is off-set to the left side?
<div class=”container”>
<div class=”row”>
<div class=”split-menu menu-left col-sm-3″>
<?php echo nota_split_header_menu( ‘left’ ); ?>
</div><?php echo nota_logo( ‘col-sm-6 logo-center’ ); ?>
<div class=”split-menu menu-right col-sm-3″>
<?php echo nota_split_header_menu( ‘right’ ); ?>
</div>
</div> <!– CLOSE .row –>May 22, 2017 at 3:09 pm #325510This reply has been marked as private.May 22, 2017 at 3:29 pm #325515For me, it looks correct I think?
May 22, 2017 at 3:41 pm #325518This reply has been marked as private.May 23, 2017 at 3:25 pm #325672Hi,
The total columns can only amount to 12. You have 4+6+4=14. Please amend each to
col-sm-4
.Then in your custom CSS, add this:
.full-center #logo { width: 33.333%; }
-
Posted in: Nota
You must be logged in and have valid license to reply to this topic.