WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
[resolved] Making Changes to Child Theme (6 posts)

  1. jmw25
    Member
    Posted 1 year ago #

    I just created a twenty twelve child theme. I'd like to make some minor adjustments, such as chaning the title and tagline font size and style and the menu bar color. Can I just go into Editor under appearences and add code below it? I tried copy and pasting some code already and the changes didn't show up.

    This is what my editor looks like right now:

    /*
    Theme Name:     Twenty Twelve Child
    Theme URI:      http://oxfordinfrance.com/
    Description:    Child theme for the Twenty Twelve theme
    Author:         Jillian
    Author URI:     http://oxfordinfrance.com/about/
    Template:       twentytwelve
    Version:        0.1.0
    */
    
    @import url("../twentytwelve/style.css");
  2. paulwpxp
    Font hero
    Posted 1 year ago #

    First make sure that under Appearance > Themes , your current theme is your childtheme, then yes, go ahead and add the CSS under this line.

    @import url("../twentytwelve/style.css");

    You can make changes thru Appearance > Editor but SFTP is a lot better.

  3. jmw25
    Member
    Posted 1 year ago #

    I made sure that my current theme is my child theme and then I added CSS but it still didn't change the size of my description. Any suggestions? I'm new to this and it is all very confusing!

    /*
    Theme Name:     Twenty Twelve Child
    Theme URI:      http://oxfordinfrance.com/
    Description:    Child theme for the Twenty Twelve theme
    Author:         Jillian
    Author URI:     http://oxfordinfrance.com/about/
    Template:       twentytwelve
    Version:        0.1.0
    */
    
    @import url("../twentytwelve/style.css");
    
    h2.site-description {
     color: #020202 !important;
     font-family: times New Roman;
     font-size: 22px!important;
     }
  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    It IS working - make sure you clear your browser cache.

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Also, you should not use the !important rule except when absolutely necessary - and here you don't need to - it works fine without it.

  6. jmw25
    Member
    Posted 1 year ago #

    You're right! Thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.