coral-studio Posted June 19 Share Posted June 19 Hi! I entered a tagline under my logo using css but I want it to change color on certain pages. I want the tagline text to be white on the homepage, but black on all the other pages since they all have light background colors. With the css I'm using now, it is always white as you can see below. Here is the css I'm using now: /*tagline below*/ .header-title-logo a:after { content:"dangerously good design..."; display: flex; font-size: 15px; margin-top: 17px; font-weight: light; text-align: center; font-style: italic; color: white; font-family: futura-pt; } If it isn't possible to make it change colors, the next best option would be to delete it entirely off of the other pages so it only appears in white on the homepage, but again, I can't figure out how to do that. Any and all help is appreciated! Thanks in advance! Link to comment
Solution tuanphan Posted June 20 Solution Share Posted June 20 Use this code body:not(.homepage) .header-title-logo a:after { color: black !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
coral-studio Posted June 20 Author Share Posted June 20 This worked! Thank you @tuanphan! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment