• Resolved ansheff

    (@ansheff)


    Hi,
    first thanks for the great theme!

    About the problem:
    I uploaded the header Image, but it doesn’t link to the “/”.
    If I take the image away, then H1 link funktion exists, but without H1 can’t link my Homepage from the header image.

    My site: Selbstverteidigung

    Thanks for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi

    Plz confirm you are changed any code in header.php file ?
    bcoz it’s working our end.

    Thanks.

    Thread Starter ansheff

    (@ansheff)

    Hi, I’ve putet the following code into header.php:

    <div class=”social pull-right”
    <?php echo do_shortcode(‘[DISPLAY_ULTIMATE_SOCIAL_ICONS]’); ?>
    </div>

    But without this code it hasn’t worked already.

    Maybe the problem has to do with the image size: my logo size: 708 * 112

    Thread Starter ansheff

    (@ansheff)

    The whole header.php:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <!–[if IE]>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″>

    <![endif]–>
    <meta charset=”<?php bloginfo(‘charset’); ?>” />
    <meta name=”viewport” content=”width=device-width, initial-scale=1.0″ />
    <title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>
    <link rel=”profile” href=”https://gmpg.org/xfn/11&#8243; />
    <!– Theme Css –>
    <?php
    $quality_pro_options=theme_data_setup();
    $current_options = wp_parse_args( get_option( ‘quality_pro_options’, array() ), $quality_pro_options ); ?>
    <?php if($current_options[‘upload_image_favicon’]!=”){ ?>
    <link rel=”shortcut icon” href=”<?php echo esc_url($current_options[‘upload_image_favicon’]); ?>” />
    <?php }
    wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    <!–Header Logo & Menus–>
    <div class=”container”>
    <nav class=”navbar navbar-default” role=”navigation”>
    <div class=”container-fluid”>
    <!– Brand and toggle get grouped for better mobile display –>
    <div class=”navbar-header”>
    <button type=”button” class=”navbar-toggle” data-toggle=”collapse” data-target=”#bs-example-navbar-collapse-1″>
    <span class=”sr-only”>Toggle navigation</span>
    <span class=”icon-bar”></span>
    <span class=”icon-bar”></span>
    <span class=”icon-bar”></span>
    </button>
    <div class=”logo pull-left”
    <?php
    if($current_options[‘text_title’] ==true)
    { ?>
    <div class=”qua_title_head”>
    <h1 class=”qua-logo” >“><?php echo get_bloginfo( ); ?></h1>
    </div>
    <?php
    } else if($current_options[‘upload_image_logo’]!=”)
    { ?>
    “><img src=”<?php echo esc_url($current_options[‘upload_image_logo’]); ?>” style=”height:<?php if($current_options[‘height’]!=”) { echo $current_options[‘height’]; } else { “80”; } ?>px; width:<?php if($current_options[‘width’]!=”) { echo $current_options[‘width’]; } else { “200”; } ?>px;” />
    <?php } else { ?>
    “><img src=”<?php echo QUALITY_TEMPLATE_DIR_URI; ?>/images/logo.png”>
    <?php } ?>
    </div>
    <div class=”social pull-right”
    <?php echo do_shortcode(‘[DISPLAY_ULTIMATE_SOCIAL_ICONS]’); ?>
    </div>
    </div>
    <!– Collect the nav links, forms, and other content for toggling –>

    <?php
    wp_nav_menu( array(
    ‘menu’ => ‘primary’,
    ‘theme_location’ => ‘primary’,
    ‘depth’ => 2,
    ‘container’ => ‘div’,
    ‘container_class’ => ‘collapse navbar-collapse’,
    ‘container_id’ => ‘bs-example-navbar-collapse-1’,
    ‘menu_class’ => ‘nav navbar-nav’,
    ‘fallback_cb’ => ‘wp_bootstrap_navwalker::fallback’,
    ‘walker’ => new wp_bootstrap_navwalker())
    );

    ?>

    <!– /.navbar-collapse –>
    </div>
    <!– /.container-fluid –>
    </nav>
    </div>

    Hi

    For this

    Kindly Replace the quality theme package >> header.php and replace all the code with the code mentioned in the link.

    And change the logo size follow below instruction

    Theme Dashboard >> appearance >> customize >> header settings >> header logo setting >> Change logo width and height

    Change Logo size according your need.

    Thanks.

    Thread Starter ansheff

    (@ansheff)

    Thanks a lot.

    The problem is resolved now. I don’t know what was wrong with a code I had, because just comparing the both, they seem to be the same.

    THANK YOU!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Header Image Link’ is closed to new replies.