• Resolved KySo

    (@kyso)


    Nice theme but the header image is not responsive also with a width of 1920 × 300px.
    How can I fix it?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter KySo

    (@kyso)

    …and first all it is not centered.
    What can I do?

    Thread Starter KySo

    (@kyso)

    4,352 all time downloads.? I’m the only one with this problem?

    Hello KySO,

    Thank you to report the bugs.

    I had uploaded new version of the Calm Theme shortly before. It will be released in a few day.

    But if you don’t want to wait, it’s enough to do that ( for centered image. ):

    1. Open the style.css file in theme folder.
    2. Go to below page.
    3. Finally just paste these :

    .header-img img {
    	max-width: 100%;
      height:auto;
    }

    Nice theme but the header image is not responsive also with a width of 1920 × 300px.
    How can I fix it?

    You can edit this in functions.php line 35.

    Thread Starter KySo

    (@kyso)

    Thanks for your answer.
    In your first respond you talked about the style.css and in your second about functions.php line 35.
    Line 35 is:

    add_theme_support( 'automatic-feed-links' );

    What should I edit?

    To center the header image;

    Copy and paste it in style.css :

    .header-img img {
      max-width: 100%;
      height:auto;
    }

    ——————————

    To edit header image’s height and ( or ) width ;

    Go to line between 37-38 in functions.php and

    'height' => 300,
    'width' => 1920,
    Thread Starter KySo

    (@kyso)

    Hi,
    I need some help with the child theme.
    Your style.css is:

    @import url(‘css/bootstrap-theme.css’);
    @import url(‘css/bootstrap.css’);
    @import url(‘css/font-awesome.css’);
    @import url(‘css/style.css’);

    How can I do the child theme?

    You can read below the link :
    https://codex.www.ads-software.com/Child_Themes

    Thread Starter KySo

    (@kyso)

    I did this before.
    But in your theme it’s different.

    Is the ‘ @import ‘ ok?

    /*
    Theme Name: Calm Child
    Theme URI: https://example.com/calm-child/
    Description: Calm Child Theme
    Author: Burak Aydin
    Author URI: https://example.com
    Template: calm
    Version: 1.0.7
    */

    @import url(“../calm/css/style.css”);

    /* =Theme customization starts here
    ————————————————————– */

    And the folder structur:

    calm-child/css/style.css ??

    What’s wrong?

    Your import method is correct. But you should delete ‘css’. So you can do like this :
    @import url("../calm/style.css");

    You can try it too here :
    https://onedrive.live.com/redir?resid=6182689645021C1E%21129

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