Solved

Trouble Getting Child Theme to Work

Posted on 2014-11-24
6
141 Views
Last Modified: 2014-11-25
My site:

http://breezyhillcamp.com/

is a WordPress site with a cusomized theme. I am creating a child theme so I don't lose the customization in the event that the template is updated. However, when I switch to the child theme I lose the customization in my header. I have copied over the necessary files so I don't understand what is going wrong. If someone could log in and take a look and tell me what to do I would appreciate it.

Thank you.
0
Comment
Question by:domgarofalo
  • 2
  • 2
6 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 250 total points
ID: 40462981
For the header, how did you customize it initially?  Modifying header.php or using the Appearance menu on the backend?
0
 
LVL 38

Expert Comment

by:Tom Beck
ID: 40463260
Is this question a follow up to
http://www.experts-exchange.com/Web_Development/Blogs/WordPress/Q_28561175.html
?
Or did you make other changes to the header.php?

Do you have a style.css file in your child theme folder that imports the style.css from the parent theme?
0
 
LVL 38

Assisted Solution

by:Tom Beck
Tom Beck earned 250 total points
ID: 40463291
Also, remove z-index: -1 from line 152 of style.css. It's causing the banner to disappear in Safari.

#headimg #logo-image {
    background-color: #87bc5e;
    overflow: hidden;
    position: relative;
    width: 100%;
    /*z-index: -1;*/
}
0
 

Author Comment

by:domgarofalo
ID: 40464666
Yes, header.php was modified. No, it's not a follow-up to the previous question. The style is imported from the parent theme. I will get rid of the z-index: -1 from line 152. What do I need to do to get the child theme to work correctly?
0
 

Author Closing Comment

by:domgarofalo
ID: 40464992
I had to upload the image on the back end.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question