Solved

Trouble Getting Child Theme to Work

Posted on 2014-11-24
6
145 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

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.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
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…

690 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