WordPress.org

Ready to get started?Download WordPress

Forums

Whispy
[resolved] Width of header image (6 posts)

  1. schim
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    What is the link to your website?

  3. schim
    Member
    Posted 1 year ago #

    http://www.femmesleaders.nl/blog/
    Thank you in advance for looking at it!

  4. Andrew
    Forum Moderator
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Andrew,

    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
    Member
    Posted 1 year 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

Tags