Hi, I am trying to change the background color of my title and tagline. I'm not sure what the CSS command is to change these sections?
Many kind thanks!
The blog I need help with is keepingitrealmom.com.
WordPress.com is an easy way to start blogging. Get a blog, check out our features, read the latest announcements, choose from great themes, or learn about the team behind it.
Need help? Check out our Support site, then
Hi, I am trying to change the background color of my title and tagline. I'm not sure what the CSS command is to change these sections?
Many kind thanks!
The blog I need help with is keepingitrealmom.com.
If you want both the title and tagline to have a solid background color behind them, I recommend adding this CSS to your stylesheet:
.title {<br />
background-color: lavender;<br />
width: 240px;<br />
}
If you want the title and tagline to have different background colors, try playing with these classes:
.site-title {<br />
background-color: lavender;<br />
}
.site-description {<br />
background-color: lightgrey;<br />
}
Of course, you can change "lavender" to whatever color you want. I included the width change, as well, because otherwise the letter L in Real hangs out over the edge of the background color. You can see what I mean by leaving out the width property.
I hope that helps!
This topic has been closed to new replies.