[resolved] Width of header image (6 posts)

  1. schim
    Posted 3 years ago #

    First of all I'm very glad with this theme. Thanks clashmedia!

    I have edited style.css to make my site in total 1100 px wide in stead of 940. In all sections I have succeeded except in the header image. I tried to edit header.php, but it didn't work. The image I am using is precisely 1100px wide and 198 high. The height is not the problem, but the widt is.

    Please can anyone help me? I also tried everything in de resolved thread about header image info, but that wasn't enough.

  2. RoordaTim
    Posted 3 years ago #

    What is the link to your website?

  3. schim
    Posted 3 years ago #

    Thank you in advance for looking at it!

  4. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Move your modifications out of style.css and into this Custom CSS Manager plugin. Otherwise you're risking losing your modifications when the theme updates.

    You can check the difference between your style.css file and the theme's original style.css file using DiffChecker, to find your CSS changes easier.

    If you want to make more than a CSS change (e.g PHP, HTML etc.), create a Child Theme.

    Otherwise, try overriding the inline header CSS with this CSS (in your Child Theme style.css file or Custom CSS plugin);

    #header-image {
     width: 1100px !important;
  5. schim
    Posted 3 years ago #


    Thanks for the tip on Custom CSS Manager plugin! Luckily I commented my changes, so they relatively easy to find and replace.

    I tried to insert the code for the width earlier (but without the !important). That didn't work. This did! Thanks very much!

  6. schim
    Posted 3 years ago #

    As far as I am concerned, this topic can be marked as resolved.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic