Support » Plugins » Hacks » Editing Child Theme…

  • 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;
    }
    }

Viewing 7 replies - 1 through 7 (of 7 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    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;
    }

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

    Thanks again!

    Michael

    (@alchymyth)

    Forum Moderator

    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.

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

    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.

    Hey just changing the letter fixed it… wow…

    Thanks so much!

    It’s all in the details 🙂

    Happy coding!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Editing Child Theme…’ is closed to new replies.