• I don’t know where to add it in my header. I can h1 already but it is not working though. Could you please help me add logo here.

    <header id="header" class="header header-gradient">
        <div class=" header-wrapper <?php echo esc_attr($header_nav_sticky == true ? 'navbar-sticky' : ''); ?> ">
            <div class="container">
                <nav class="navbar navbar-expand-lg navbar-light">
    				<?php echo digiqole_text_logo() ? '<h1 class="logo-title">' : ''; ?>
                    <a class="logo d-none" href="<?php echo esc_url(home_url('/')); ?>">
    					<?php if(digiqole_text_logo()): ?>
    						<?php echo esc_html(digiqole_text_logo()); ?>
    					<?php else: ?> 
    					
                            <img class="img-fluid" src="<?php echo esc_url($digiqole_logo_url); ?>"
    							 alt="<?phpecho get_bloginfo('name') ?>">
    					<?php endif; ?>
    
                    </a>
    				<?php echo digiqole_text_logo() ? '</h1>' : ''; ?>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • You are using a commercial theme, which is responsible for the output of the source code in your frontend. Please contact their support to clarify your question: https://themeforest.net/item/digiqole-news-magazine-html-template/24896181?s_rank=9 – Questions about commercial products are not allowed here in the forum.

    replace this snippets with your provided code block

    <header id=”header” class=”header header-gradient”>
    <div class=” header-wrapper <?php echo esc_attr(
    $header_nav_sticky == true ? “navbar-sticky” : “”
    ); ?> “>
    <div class=”container”>
    <nav class=”navbar navbar-expand-lg navbar-light”>
    <?php echo digiqole_text_logo() ? ‘<h1 class=”logo-title”>’ : “Your H1 Add Here”; ?>
    <a class=”logo d-none” href=”<?php echo esc_url(
    home_url(“/”)
    ); ?>”>
    <?php if (digiqole_text_logo()): ?>
    <?php echo esc_html(digiqole_text_logo()); ?>
    <?php else: ?>

    <img class=”img-fluid” src=”<?php echo esc_url(
    $digiqole_logo_url
    ); ?>”
    alt=”<?php echo get_bloginfo(“name”); ?>”>
    <?php endif; ?>

    <?php echo digiqole_text_logo() ? “</h1>” : “Your H1 Add Here”; ?>

    • This reply was modified 1 year, 10 months ago by Shahed.
    • This reply was modified 1 year, 10 months ago by Shahed.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add h1 in my logo’ is closed to new replies.