Home › Forums › Automattic › Mood › Title color blends in on other pages
Tagged: title text color
-
AuthorPosts
-
milestonemusiciansMemberHello! My title text color is white, in the center of the home page, and is against a darker photo in the background. However, once I navigate to a page, the title moves to the upper left corner where the white color is almost invisible against my header background color (a cream color). Is it possible to have a different title text color when on other pages?
The blog I need help with is milestonemusicians.comDecember 14, 2015 at 2:56 pm #163589
Kathryn P.Happiness EngineerSure!
First, remove this pice of code that you already added to your custom CSS:
.site-title a, .site-title a:hover, .site-description { color: #FFFFFF; }
Replace it with:
.home .site-title a, .home .site-title a:hover, .site-description { color: #FFFFFF; }
The new CSS restricts the white site title colour change to only the homepage.
Let me know if this accomplishes what you’re after.
December 15, 2015 at 3:04 am #163591
milestonemusiciansMemberThank you so much! The site title now goes to a darker color when I navigate to a page. However, the site description is still white. Can I have it go to the same darker color when on a page? Thank you in advance!
-
This reply was modified 7 years, 1 month ago by
milestonemusicians.
December 15, 2015 at 3:05 pm #163593
Kathryn P.Happiness EngineerOh sure, you can add
.home
in front of.site-description
to restrict the white colour to the homepage too. So just change what I gave you above to:.home .site-title a, .home .site-title a:hover, .home .site-description { color: #FFFFFF; }
Does that do the trick?
December 15, 2015 at 4:31 pm #163594
milestonemusiciansMemberYes! Thank you for helping out a newbie :) Happy Holidays!
December 15, 2015 at 4:52 pm #163595
Kathryn P.Happiness EngineerYou’re very welcome. :)
I’ll mark this thread as resolved now, but feel free to start a new one if you need help with anything else.
Happy holidays to you too!
-
This reply was modified 7 years, 1 month ago by
-
AuthorPosts
You must be logged in to reply to this topic.