Add Styling for New Div
-
I’ve created a new <div> in my header.php called AdAboveHeader and added some text to it for layout purposes. I now want to incorporate it into the style.css file so that I can incorporate some additional styling of this new div. I’m having trouble getting the coding right.
I’ve tried simply adding a new section in the CSS above the h1 as follows:
AdAboveHeader {
background-color: #393939;
}but that didn’t work. Assistance appreciated.
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add Styling for New Div’ is closed to new replies.