• Resolved abdulmoeed7

    (@abdulmoeed7)


    Hi, the theme is great but the issues that I am facing are that I have to add additional code to display featured image and second when I add the header image, it stays on top of logo instead of showing it. I also want to change the font color as it is too light on paragraphs. Kindly, please assisst me, otherwise the theme is great.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Alexander Agnarson

    (@alxmedia)

    Hi!

    1) Additional code to display featured image where? If you mean on single posts, if you select Post Format > Image, the featured image will appear up top above the text.

    2) When the header image option is used, it disables the logo entirely and just shows the image. If you want both, you need to add some additional css for the header image instead (and don’t use the option). Like:

    
    #header { background: red; }
    

    Or:

    
    #header .container-inner > .pad { background: red; }
    

    And add some image css there instead.

    3) It looks like you’ve managed to change the excerpt color already.

    Thread Starter abdulmoeed7

    (@abdulmoeed7)

    Thanks a lot, it was very helpful. Just one more thing, as you can see the space to the right of logo is unused and I think it should be put to good use. Can you tell me how i can i add a widget to display ad or image to the right of logo? Because I tried certain header plugins but they don’t work with the theme. THank you!

    Theme Author Alexander Agnarson

    (@alxmedia)

    In your child theme’s functions.php you would add something like:

    
    register_sidebar(array( 'name' => esc_html__('Header Ads Custom','kontrast'),'id' => 'header-ads-custom', 'description' => esc_html("Header ads area","kontrast"), 'before_widget' => '<div id="%1$s" class="widget %2$s">','after_widget' => '</div>','before_title' => '<h3 class="group"><span>','after_title' => '</span></h3>'));
    

    To register the new widget area. Then edit header.php with a child theme and add this where you want the widget zone to appear:

    
    <div id="header-ads-custom">
    <?php dynamic_sidebar( 'header-ads-custom' ); ?>
    </div><!--/#header-ads-custom-->
    

    And then add the styling/positioning you wish with CSS:

    
    #header-ads-custom {  }
    
    Thread Starter abdulmoeed7

    (@abdulmoeed7)

    Thanks a lot, really appreciate it!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Header image stays on top of logo’ is closed to new replies.