Results 1 to 4 of 4

Thread: Help with Vantage child theme header and css

  1. #1
    Thread Starter
    Expired Customer advantage's Avatar
    Join Date
    Jan 2014
    Location
    Anonymous Proxy
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help with Vantage child theme header and css

    I created a Vantage child theme cause I'd like to change some things that parent is lacking. I followed Appthemes tutorial on creating child theme so I have a style.css and functions.php (which is empty). Could someone help me with the following? I spent over 2 hours trying to make changes but the code isn't correct.

    1. Parent header.php displays <!DOCTYPE html> in header but the correct declaration is as follows:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    I created a child theme header.php and copied the parent code. How do I add the doctype to the top of the child theme? I tried adding it but it still displays <!DOCTYPE html> and not the correct declaration.

    2. Remove space in masthead container (where logo or background image is).

    I removed Vantage default logo from the theme. Since my site doesn't have a logo yet, I want to move the top nav bar up so that it covers the space in the masthead container. However, I want the robots to see the site's title and description but not humans. What code do I use in my child theme's style sheet?

    Using Firebug and saw the following code:

    Code:
    <hgroup>
    <h1 id="site-title">
    <a class="custom-header-image" style="height:70px;width:400px;background: transparent url('') no-repeat 0 0;" href="http://www.cashonlydoctorsdirectory.com/">Cash Only Doctors Directory</a>
    </h1>
    <h2 id="site-description" style="color:#444444;">Cash Only Doctors Directory</h2>
    </hgroup>
    What code do I add to the child theme stylesheet so that the height of header image is 0? I tried .custom-header-image height in css but it's not working.

  2. #2
    Expired Customer gonesmith's Avatar
    Join Date
    Jun 2012
    Posts
    764
    Thanks
    50
    Thanked 202 Times in 137 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Expired Customer advantage's Avatar
    Join Date
    Jan 2014
    Location
    Anonymous Proxy
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Expired Customer gonesmith's Avatar
    Join Date
    Jun 2012
    Posts
    764
    Thanks
    50
    Thanked 202 Times in 137 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: January 13th, 2014, 02:36 AM
  2. [SOLVED] Change header in child theme
    By dragana in forum ClassiPress General Discussion
    Replies: 2
    Last Post: April 15th, 2013, 12:41 AM
  3. modify theme-header.php in child theme
    By hroglasnik in forum ClassiPress General Discussion
    Replies: 3
    Last Post: June 29th, 2012, 03:25 PM
  4. Child theme questions, header changes not showing up!
    By mcasdorph in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: March 11th, 2012, 01:43 AM
  5. Child theme header and footer
    By mark1975 in forum ClassiPress General Discussion
    Replies: 4
    Last Post: July 28th, 2010, 10:09 AM