WordPress.org

Forums

Calm
[resolved] Header image (11 posts)

  1. KySo
    Member
    Posted 10 months ago #

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

  2. KySo
    Member
    Posted 10 months ago #

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

  3. KySo
    Member
    Posted 10 months ago #

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

  4. burakkaptan
    Member
    Theme Author

    Posted 10 months ago #

    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;
    }
  5. burakkaptan
    Member
    Theme Author

    Posted 10 months ago #

    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.

  6. KySo
    Member
    Posted 10 months ago #

    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?

  7. burakkaptan
    Member
    Theme Author

    Posted 10 months ago #

    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,
  8. KySo
    Member
    Posted 10 months ago #

    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?

  9. burakkaptan
    Member
    Theme Author

    Posted 10 months ago #

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

  10. KySo
    Member
    Posted 10 months ago #

    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?

  11. burakkaptan
    Member
    Theme Author

    Posted 10 months ago #

    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

Reply

You must log in to post.

About this Theme

About this Topic