WordPress.org

Forums

Desire
Edit header height (4 posts)

  1. rnsrobot
    Member
    Posted 2 years ago #

    Hello,

    I really enjoy this theme's easy header feature. However, I would like to make the header shorter than 150px. I cannot seem to find the corresponding css in either the style or color .css files. I have looked at the site with Google Chrome's developer tool but again, cannot find where to alter this in the css. Thank you.

    http://www.ryanlockemusic.com

  2. Andrew
    Forum moderator
    Posted 2 years ago #

    Remember, you should never edit the theme's files because you'll only (well, that's one reason) lose your changes when the theme updates. To avoid this, use a Custom CSS Manager plugin (for CSS-only changes) or a Child Theme (for CSS and all other changes).

    This means writing your own styles unfortunately.

  3. rnsrobot
    Member
    Posted 2 years ago #

    Thank you for the reply. The code you screencapped is not readily accessible in either of the two key .css files (colors.css and styles.css). I found the same code using Chrome developer, but cannot find the corresponding css. Something to do with the theme's 'custom header' setup, perhaps.

    Obviously the theme has code to tell the header how big to be, and where to get the uploaded header, but I don't know where. If I have to I will just work with a straight uploaded header but hoping to work within the original parameters.

  4. rnsrobot
    Member
    Posted 2 years ago #

    Here's what's in the actual theme before output:

    <table class="tablayout" style="height: <?php echo DESIRE_HEADER_HEIGHT; ?>px;">

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic