WordPress.org

Support

Support » Themes and Templates » Edit header height

Edit header height

  • 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    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.

    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.

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

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit header height’ is closed to new replies.