Solved

Trouble Getting Child Theme to Work

Posted on 2014-11-24
6
138 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Responsive CSS question 2 40
Login area of a page 4 19
regex expression 9 23
showing numeric numbers 2 10
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now