Different Header for Sub-Pages
-
Hi,
I had recently created sub-pages (ie pages with a Parent page) and – sub-sub pages. So the hierarchy goes like:
Getting Started
>Credit Cards
>>Best No-Fee Credit CardsI had asked for help with CSS to allow a different header for different pages – which worked beautifully, but for some reason, the css doesn’t seem to flow through to the “children” pages – does anyone know what kind of CSS I could use for this?
Parent Page:
http://changeyouraltitude.net/getting-started/Sub Page:
http://changeyouraltitude.net/getting-started/credit-cards/Sub-Sub Page:
http://changeyouraltitude.net/getting-started/credit-cards/best-no-fee-credit-cards-for-travel/CSS for different header for pages:
.getting-started .titleclass, .contact .titleclass, .about .titleclass {
background-repeat: vertical;
background-position: top center;
background-size: contain;
background-image: url(http://changeyouraltitude.net/wp-content/uploads/2016/08/header-background-3.png);
}Thanks in advance!
The topic ‘Different Header for Sub-Pages’ is closed to new replies.
