child css code additions not working
-
I’ve added CSS through Customize ->Advanced Options ->Additional CSS to successfully prevent the header image from loading on a particular page. When I remove it from this section and place it into my child theme style.css it no longer adds the styling to the new page. There is similar code in the style.css page which has been there for quite some time for use on other pages which still does give the correct result, i.e., no header image. But when I add the same code for a new page to my child style.css, the header image still appears.
What could be the cause of this? I have tried clearing the browser cache but that didn’t work. In the code below, all the pages except the new one, child css-test, do not have the header image but that new one does unless I put that same line of code in the Customizer section./* Remove header image from the Calendar page */
.page-id-3799 #branding img {display:none} /* calendar */
.page-id-3911 #branding img {display:none} /* trips and events */
.page-id-4106 #branding img {display:none} /* Fitness Activities*/
.page-id-17622 #branding img {display:none} /* Sunday Brunch Menu*/
.page-id-18327 #branding img {display:none} /* Maintenance Request */
.page-id-18968 #branding img {display:none} /* Private Video 1 */
.page-id-19008 #branding img {display:none} /* PVideo 1 */
.page-id-19010 #branding img {display:none} /* PVideo 2 */
.page-id-19012 #branding img {display:none} /* PVideo 3 */
.page-id-19014 #branding img {display:none} /* PVideo 4 */
.page-id-19017 #branding img {display:none} /* PVideo 5 */
.page-id-38453 #branding img {display:none} /* child css-test */The page I need help with: [log in to see the link]
- The topic ‘child css code additions not working’ is closed to new replies.