Viewing 7 replies - 1 through 7 (of 7 total)
  • Adding the copyright notice in that way wouldn’t have changed the site title color.

    How did you change the site title color, through your child theme’s style.css file? One thing that I noticed is that it looks like your child theme’s style.css file is chopped off. That is, it looks like this:

    /*
    Theme Name: Twenty Twelve Child
    Theme URI: https://example.com/themes/twentytwelve-child
    Author: JAB
    Author URI: https://example.org/
    Template: twentytwelve
    Description: Child Theme to Twentytwelve Theme
    Version: 1.0
    Text Domain: twentytwelve

    So, at the very least, it’s missing the ending comment tag */, so any rules which follow would not be used. However, there are no rules in this stylesheet, either, so I’m wondering if somehow your stylesheet got corrupted.

    Thread Starter jabb

    (@jabb)

    Thanks. I reinserted the ending comment tag on the style.css on the child theme. I did not intentionally change the site title color, so I was surprised it changed. I’m a newbie on this.

    As for your rules which follow comment, does that mean my child style.css is supposed to contain all the text similar to or same as the twenty twelve theme, that goes all the way down to line 1770?

    Right now, when I open Appearances, Editor and select TwentyTwelve Child, all I have showing on right side style.css and footer.php and functions.php.

    OK, I see that your site title & description are red now. The way they became red is through a theme customization. If you go to Appearance > Customize from the admin dashboard, and expand the Colors section, you’ll see where you can set the color of the Header text color.

    As for your rules which follow comment, does that mean my child style.css is supposed to contain all the text similar to or same as the twenty twelve theme, that goes all the way down to line 1770?

    No, your child style.css file is supposed to only contain rules which you are adding which are new, or which are intended to override any existing CSS rules in the parent theme. For example, let’s say you wanted to set the text on the menu to match the site title color. You could do it by adding this rule to the end of your child style.css file:

    .main-navigation li a,
    .main-navigation .current-menu-item > a,
    .main-navigation .current-menu-ancestor > a,
    .main-navigation .current_page_item > a,
    .main-navigation .current_page_ancestor > a
    {
       color: #dd3333;
    }

    If you are unfamiliar with CSS, there’s a good tutorial here.

    Thread Starter jabb

    (@jabb)

    Thank you. I tried you For example, and it worked as you said it would it change menu text to red color (then I deleted that because I want black text instead).

    I have to tell you that how you explained the child style.css to me, I finally understand that now, and all because you spoke in layman’s terms. Thank you.

    Sorry, I need to ask one more thing though and I hope you don’t mind. Now on my menu, the text that says WHO WE ARE is bold font but it shouldn’t be. (Yes, I’m still a newbie.)

    I appreciate you taking the time to help me with this!

    Many themes will highlight the current menu item in some way so the user knows what page they are on. Sometimes the current menu item text is a different color, sometimes the background is a different color, etc. In this theme, the text for the current menu item is bold. If you don’t want the current menu item to be bold, you can add this rule to the end of your child’s style.css file:

    .main-navigation .current-menu-item > a,
    .main-navigation .current-menu-ancestor > a,
    .main-navigation .current_page_item > a,
    .main-navigation .current_page_ancestor > a {
       font-weight: normal;
    }

    Thread Starter jabb

    (@jabb)

    Marking this resolved. @crouchingbruin, thanks so much for your help! (Duh on me for not realizing the menu text turns bold when it’s selected.)

    Thread Starter jabb

    (@jabb)

    Thought I marked this resolved. Trying again. Thanks for helping!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Site title changed color when inserted copyright into footer twenty twelve-child’ is closed to new replies.