Categories
CMS Mastering Development Wordpress

Menu overlaps with logo

This is a free theme called pinkmart lite. I have added some menu items and now it overlaps with the logo in the middle. There is no option to change the logo position, it would be great if the logo appeared left most of the screen.
I know the header php that contains the code for this menu



            <?php if ( $menuInContainer == 0 ) { ?>
                <!-- if menu be in container -->
                </div>
            <?php } ?>                   
        </div>  
        <?php
        if ( isset( $headerStyle ) ) {
            if ( $headerStyle == 'kite-menu' ) {
        ?>
                <div id="headersecondstate" class="hidden-phone hidden-tablet">
                    <div id="menubgcolor" class="hidden-phone hidden-tablet"></div>
                    <?php if ( $menuInContainer == 0 ) { ?>
                        <!-- if menu be in container -->
                        <div class="container clearfix">
                    <?php } ?> 
                    <?php if ( has_nav_menu( 'primary-nav' ) ) { ?>
                        <nav class="navigation hidden-phone hidden-tablet">
                            <?php
                            wp_nav_menu(
                                array(
                                    'container' => '',
                                    'menu_class' => 'clearfix',
                                    'before'  => '',
                                    'theme_location' => 'primary-nav',
                                    'walker'  => new Kite_Nav_Walker(),
                                    'fallback_cb' => false,
                                    'after' => '',
                                )
                            );
                            ?>
                        </nav>
                    <?php } ?>
                    <!-- Secound Logo -->
                    <?php if ( ! empty( $logoSecond ) ) { ?>
                        <a class="locallink logo" href="<?php echo esc_url( home_url() ); ?>#home">
                            <?php if ( $responsivelogo != '' ) { ?>
                                <img  class="secoundlogo responsivelogo hidden-desktop" src="<?php echo esc_url( $responsivelogo ); ?>" alt="Logo" />
                            <?php } ?>
                            <img  class="secoundlogo" src="<?php echo esc_url( $logoSecond ); ?>" alt="Logo" />
                        </a>
                        <a class="externallink logo" href="<?php echo esc_url( home_url() ); ?>">
                            <?php if ( $responsivelogo != '' ) { ?>
                                <img  class="secoundlogo responsivelogo hidden-desktop" src="<?php echo esc_url( $responsivelogo ); ?>" alt="Logo" />
                            <?php } ?>
                                <img  class="secoundlogo" src="<?php echo esc_url( $logoSecond ); ?>" alt="Logo" />
                        </a>
                    <?php } else {
                        echo "<div class='logo-title'><a href='" . home_url() . "' ><h5  >" . get_bloginfo( 'name' ) . "</h5></a></div>";
                    } ?>
                    <?php
                    // Check if WooCommerce is active
                    if ( $shop_cart == '1' && $catalog_mode == 0 && kite_woocommerce_installed() ) {
                        /* woocomerce drop down cart widget */
                        // Because it pushes the entire content to a side, it should be placed outside of layout element
                        get_template_part( 'templates/woocommerce/cart' );
                    }
                    ?>
                    <?php if ( kite_woocommerce_installed() && class_exists( 'YITH_WCWL' ) && kite_opt( 'header-wishlist-display' ) == 1 && ( class_exists( 'Kite_Theme_Check' ) || class_exists( 'Kite_Register_Widgets' ) ) ) { ?>
                        <div class="topbar_wishlist <?php if ( $cart_style == 1 ) { ?>dark<?php } ?>">
                            <?php the_widget( 'Kite_Woocommerce_Wishlist_Icon_Widget' ); ?>
                        </div>
                    <?php } ?>        
                    <?php if ( $search == 1 ) { ?>
                        <?php 
                        $span_classes = '';
                        if ( is_active_sidebar( 'woocommerce_dropdown_cart ' ) ) { 
                            $span_classes .= ' has_dropdown_cart ';
                        } 
                        if ( kite_woocommerce_installed() && class_exists( 'YITH_WCWL' ) && kite_opt( 'header-wishlist-display' ) == 1 ) {
                            $span_classes .= ' has_wishlist'; 
                        }
                        ?>
                        <span class="search-button icon-magnifier no-select hidden-phone hidden-tablet <?php echo esc_attr( $span_classes ); ?>"></span>
                    <?php } ?>
                    <?php if ( $menuInContainer == 0 ) { ?>
                        <!-- if menu be in container -->
                        </div>
                    <?php } ?> 
                </div>  
            <?php 
            } 
        }
        ?>
    </div>
    <?php
    // Because it pushes the entire content to a side, it should be placed outside of layout element
    get_template_part( 'templates/nav/header-mobile' );
    ?>
</header>
<!-- Header Navigation End -->

the site looks like this

the site link

Leave a Reply

Your email address will not be published. Required fields are marked *