Title color blends in on other pages

Home Forums Automattic Mood Title color blends in on other pages

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #163587 Resolve

    milestonemusicians
    Member

    Hello! 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.com
    #163589

    Kathryn P.
    Happiness Engineer

    Sure!

    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.

    #163591

    milestonemusicians
    Member

    Thank 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.
    #163593

    Kathryn P.
    Happiness Engineer

    Oh 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?

    #163594

    milestonemusicians
    Member

    Yes! Thank you for helping out a newbie :) Happy Holidays!

    #163595

    Kathryn P.
    Happiness Engineer

    You’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!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.