Solved

Trouble Getting Child Theme to Work

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Amazon Redshift 2 28
curl SSL certificate unable to get local issuer certificate 15 21
paypal ipn to mysql 3 6
mysql update statement 3 7
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

22 Experts available now in Live!

Get 1:1 Help Now