Title: Changing child theme css
Last modified: August 21, 2016

---

# Changing child theme css

 *  Resolved [cpbottss](https://wordpress.org/support/users/cpbottss/)
 * (@cpbottss)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/)
 * Hi,
 * I’ve been working hard on the CSS stuff and I think (or should I say hope) I’m
   getting somewhere.
 * Here’s the story;
 * I’m working on the Pachyderm theme (although I’ll probably change and am more
   concerned with concepts now) and have installed the one-click child theme pluggin.
   I’ve checked in my Godaddy file (under file manager) and a child theme was installed
   and under the child theme’s file there was a style.css file installed. When I
   open the child theme style.css file it has the following code in it:
 * /*
    Theme Name: Pachychildtheme Description: Pachyderm Child Theme Author: havabitch
   Template: pachyderm
 * (optional values you can add: Theme URI, Author URI, Version)
    */
 * [@import](https://wordpress.org/support/users/import/) url(“../pachyderm/style.
   css”);
 * The existing child theme site title code was;
 * .site-title {
    clear: both; color: #49352f; font-family: “Berkshire Swash”, “
   Times New Roman”, serif; font-size: 48px; font-size: 4.8rem; line-height: normal;
   margin: 0; }
 * I’ve changed the font – using the chrome web developer – to;
 * .site-title {
    clear: both; color: #49352f; font-family: Arial; font-size: 48px;
   font-size: 4.8rem; line-height: normal; margin: 0; }
 * My question is: Where do I paste the new code into my style.css file? Is it after;
 * [@import](https://wordpress.org/support/users/import/) url(“../pachyderm/style.
   css”);
 * I really hope I’m catching on to this. Any feedback is welcomes.
 * Cheers,
    Craig
 * PS, I can’t list my site because I’ve got it hidden and am working on dev.mysitename.
   com.

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [Krishna](https://wordpress.org/support/users/1nexus/)
 * (@1nexus)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969637)
 * Yes, you can post your new styles/changed styles after the line [@import](https://wordpress.org/support/users/import/)
   url
 *  Thread Starter [cpbottss](https://wordpress.org/support/users/cpbottss/)
 * (@cpbottss)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969639)
 * Hi,
 * I just pasted
 * .site-title {
    clear: both; color: #49352f; font-family: Arial; font-size: 48px;
   font-size: 4.8rem; line-height: normal; margin: 0; }
 * on the line directly after
 * [@import](https://wordpress.org/support/users/import/) url(“../pachyderm/style.
   css”);
 * then clicked save then refreshed the website, but the changes didn’t take.
 * Any idea of what I’m doing wrong???
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969642)
 * Do you have caching on your site?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969643)
 * Also, is the child theme activated and working on your site?
 *  Thread Starter [cpbottss](https://wordpress.org/support/users/cpbottss/)
 * (@cpbottss)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969647)
 * Yes I just emptied the cache and the childtheme is the active one that I’m working
   on at the moment.
 * I’ve just gone to my godaddy file manager again and below is the code in the 
   style.css of the pchychildtheme file.
 * /*
    Theme Name: Pachychildtheme Description: Pachyderm Child Theme Author: havabitch
   Template: pachyderm
 * (optional values you can add: Theme URI, Author URI, Version)
    */
 * [@import](https://wordpress.org/support/users/import/) url(“../pachyderm/style.
   css”);
    .site-title { clear: both; color: #49352f; font-family: Arial; font-size:
   48px; font-size: 4.8rem; line-height: normal; margin: 0; }
 * Any suggestions where I’ve gone wrong?
 *  [DoingShanghai](https://wordpress.org/support/users/doingshanghai/)
 * (@doingshanghai)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969712)
 * i had the same problem and i just fixed it there by changing the index.php to
   hello.php (random other name), then uploaded a different index.html document (
   from notepad). i checked if my site changed to the new index.html (i had already
   made a different index.html myself but itd prob work with an empty one). then
   i got rid of the index.html and changed hello.php back to index.php and then 
   on the site pressed ctrl f5 and it was updated. bit inconvenient but it worked!
 *  [Norm](https://wordpress.org/support/users/casualmagic/)
 * (@casualmagic)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969717)
 * Did you remove the original .site-title style from the stylesheet?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969729)
 * **[@cpbottss](https://wordpress.org/support/users/cpbottss/)** – as you know,
   it’s really hard to troubleshoot these kinds of things without seeing the site.
 * Can you try adding this code right under the [@import](https://wordpress.org/support/users/import/)
   line – just to see if the child theme is actually working correctly:
 *     ```
       #page {
          border: 1px solid red !important;
       }
       ```
   
 * If so, then try adding this CSS:
 *     ```
       .site-title {
           font-family: arial;
       }
       ```
   
 *  Thread Starter [cpbottss](https://wordpress.org/support/users/cpbottss/)
 * (@cpbottss)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969751)
 * Hi WPyogi,
 * I actually deleted the child theme and then re-created it with the one-click 
   child theme pluggin and it’s working. I’ve been able to make a variety of changes
   and am beginning to slowly catch on to CSS. I have much to learn still, but at
   least the little knowledge I’ve gained will help me learn much faster.
 * Thanks for the help.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969752)
 * YAY – on all counts – good job :)!
 *  Thread Starter [cpbottss](https://wordpress.org/support/users/cpbottss/)
 * (@cpbottss)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969753)
 * Yup! The one-click child theme pluggin was a huge help. I’d recommend it to anyone
   who has not mastered CSS! 🙂
 *  Thread Starter [cpbottss](https://wordpress.org/support/users/cpbottss/)
 * (@cpbottss)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969757)
 * Ooops, almost forgot; thanks again! 🙂

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Changing child theme css’ is closed to new replies.

## Tags

 * [child](https://wordpress.org/support/topic-tag/child/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 12 replies
 * 5 participants
 * Last reply from: [cpbottss](https://wordpress.org/support/users/cpbottss/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/changing-child-theme-css/#post-3969757)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
