Corrrect paths in child theme style.css
-
[Theme: Pilot Fish] I’ve spent 2 full days on this, with no success. π
The situation: I’ve successfully created a child theme, Pilot Fish Child. It has its own style.css file. It’s activated and working.The problem: I want to change the background color of the footer, and also use an image that I’ve uploaded into pilot-fish-child/images/image01.jpg. The image is exactly the same size as the original image still residing in pilot-fish/images/image01.jpg.
Neither the footer color change nor the image change are showing up in my browser, despite my having cleared the cache numerous times. What am I doing wrong? My pilot-fish-child/style.css file currently looks exactly like this:
/* CSS Document
Theme Name: Pilot Fish Child
Theme URI: http://example.com/pilot-fish-child/
Description: Pilot Fish Child Theme
Template: pilot-fish
Version: 1.0.0
Text Domain: pilot-fish-child
*/@import url(“../pilot-fish/style.css”);
/* =Theme customization starts here
————————————————————– */
#featured {
background-attachment: fixed;
background-image: url(http://www.example.com/wp/wp-content/themes/pilot-fish-child/images/home_banner.jpg);
background-repeat: no-repeat;
background-position: center top;
height: 642px;
display: block;
text-align: center;
}#footer {
margin: 45px auto;
padding: 35px 0 36px;
border-top: 1px solid #e5e5e5;
background-color: #669933
}
The topic ‘Corrrect paths in child theme style.css’ is closed to new replies.