WordPress.org

Support

Support » Themes and Templates » [Resolved] Header image

[Resolved] Header image

  • 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)
  • …and first all it is not centered.
    What can I do?

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

    Theme Author burakkaptan

    @burakkaptan

    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;
    }

    Theme Author burakkaptan

    @burakkaptan

    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.

    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?

    Theme Author burakkaptan

    @burakkaptan

    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,

    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?

    Theme Author burakkaptan

    @burakkaptan

    You can read below the link :
    http://codex.wordpress.org/Child_Themes

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

    Is the ‘ @import ‘ ok?

    /*
    Theme Name: Calm Child
    Theme URI: http://example.com/calm-child/
    Description: Calm Child Theme
    Author: Burak Aydin
    Author URI: http://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?

    Theme Author burakkaptan

    @burakkaptan

    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 ‘[Resolved] Header image’ is closed to new replies.