Narga 2.0 Responsive Sizes 1280x600 and 1920x900 Broken

Issue #1 resolved
Jason Paul Kazarian created an issue

I'm using Narga 2.0 and have noted the header images do not resize properly at 1280x600 and 1920x900.

Attached please find some images from FireFox using the Inspect Element feature in Responsive Mode. The first image of 980x1280 shows the image resizing correctly, and all lower resolutions do work. The other images at 1280x600 and 1920x900 show the image reverting to a much smaller size.

I have turned off header images. I would like to revert back to the latest version of Narga prior to 2.0. Can you send it to me?

Thank you for your help with this.

--Jason

Comments (4)

  1. Nguyễn Đình Quân repo owner

    Oh, do you use Logo feature to add custom header background? It's set for 4 columns only, that's why it doesn't responsive. In next version I will add an option to help you add custom header background. If you want make it by yourselft, you can edit narga_header() function in ./assets/custom-header.php

    function narga_header() {
            $header_image = get_header_image();
            echo '<header id="header" class="row site-header" role="banner">
                <div class="large-4 small-12 columns">';
            # Custom logo
    

    to

    function narga_header() {
            $header_image = get_header_image();
            echo '<header id="header" class="row site-header" role="banner">
                <div class="large-12 small-12 columns">';
            # Custom logo
    
  2. Jason Paul Kazarian reporter

    I'm using the Header function under Appearance in the standard menu. I'm not writing any code. Narga supports header images, but the code is not working. See the attached screen shot.wp-custom-header.png.

    I'll try your fix. But the theme should be updated to work with standard WordPress semantics.

  3. Log in to comment