WordPress.org

Ready to get started?Download WordPress

Forums

Editing Child Theme... (8 posts)

  1. taylorshain12
    Member
    Posted 7 months ago #

    So I created a Child Theme from the 'Landline Theme' - using the 'One-click child theme plugin' - and I can't seem to create any css changes to my site -

    I copied the style code from the 'developer tools' ---but nothing seems to make any changes - Here is the code that I was using: This is just to change the background to black... any one have any ideas? taylorshainfilms.com

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>/style.css" type="text/css" media="screen" title="no title" charset="utf-8">

    /*
    Theme Name: Child_of_Landline
    Description: Similar to Landline with different fonts, colors and location of the header.
    Author: taylorshain12
    Template: landline
    */

    /*
    @import url("../landline/style.css");
    */

    <div class="wrapper">

    {
    .wrapper
    {
    background: ##000;
    width: 720px;
    margin: 75px 0 0;
    padding: 50px;
    box-shadow: 0 0 10px #777;
    }
    }

  2. review http://www.w3schools.com/css/

    try:

    /*
    Theme Name: Child_of_Landline
    Description: Similar to Landline with different fonts, colors and location of the header.
    Author: taylorshain12
    Template: landline
    */
    
    @import url("../landline/style.css");
    
    .wrapper
    {
    background: #000;
    width: 720px;
    margin: 75px 0 0;
    padding: 50px;
    box-shadow: 0 0 10px #777;
    }
  3. taylorshain12
    Member
    Posted 7 months ago #

    Thanks for your post! I tried that.... but it still didn't work... I'll keep messing around a bit...

    Thanks again!

  4. is the suggested code in your style.css of the child theme right now?

    try and enable DEBUG to see if you get any error messages - your site's code output seems to end suddenly....
    http://codex.wordpress.org/Debugging_in_WordPress

    also, don't forget to clear the browser cache after any edits to the styles.

  5. taylorshain12
    Member
    Posted 7 months ago #

    Yeah, I just copied and pasted the suggested into the style.css of the child theme. I'll try DEBUG and clearing the cache.

  6. dadman
    Member
    Posted 7 months ago #

    Try Template: Landline instead of Template: landline

    I can see the theme-folder is named landline, while in the landline style.css it's Theme Name: Landline

    Try it out and let med know if it did the trick.

  7. taylorshain12
    Member
    Posted 7 months ago #

    Hey just changing the letter fixed it... wow...

    Thanks so much!

  8. dadman
    Member
    Posted 7 months ago #

    It's all in the details :)

    Happy coding!

Reply

You must log in to post.

About this Topic