Header Background Question

Homepage Community Forums Optimal Theme Support Header Background Question


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #2663

      Hey Wes,

      On this page http://www.studiopress.com/support/showthread.php?t=86885&highlight=header+background and it worked great for the legacy theme but not the optimal theme, which is the one I think I’ll end up using.


      This bit of code is shown for a full header wrap – First add the following to functions.php
      /** Before Header Wrap */
      add_action(‘genesis_before_header’, ‘before_header_wrap’);
      function before_header_wrap() {
      echo ‘<div class=”head-wrap”>’;

      /** After Header Wrap */
      add_action(‘genesis_after_header’, ‘before_after_wrap’);
      function before_after_wrap() {
      echo ‘</div>’;

      Then add to style.css
      .head-wrap {
      background: #d2d1d0;


        You actually wouldn’t need to add the above code to the Optimal theme because its already in your functions.php file. If you need to change the header background, in this case you would need to look for and change “.head-wrap” in your style.css file

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.