ThemeShaper Forums » Thematic

Fresh child theme doesn't match parent

(5 posts)
  • Started 5 years ago by agbanks
  • Latest reply from agbanks
  • This topic is resolved

Tags:

  1. Hey Ian. As someone who dabbles in code rather than having time to get good at it, WordPress plus Thematic seems like an ideal platform for me. But I seem to have fallen at the first hurdle.

    I uploaded Thematic, then created a separate new theme folder containing only a style.css file consisting of the header you provided (with the template link) followed by all the content of the original Thematic style.css (except the header), which I plan to tweak.

    Both Thematic and my theme show up in WordPress admin. When I select Thematic, the preview looks exactly as I would expect; but when I select my theme, although it looks like Thematic, the sidebar is pushed to the bottom and various other styles are screwed up. Why would this be?

    Posted 5 years ago #
  2. Can you post the first 50 lines of your style.css?

    Posted 5 years ago #
  3. /*
    Theme Name: AdamBanksDotCom1
    Theme URI: http://www.adambanks.com
    Description: A Thematic child theme
    Author: Adam Banks
    Author URI: http://www.adambanks.com
    Template: thematic
    Version: 0.1
    .
    Licensed under whatever terms Thematic is licensed.
    .
    */

    /* Reset browser defaults */
    @import url('library/styles/reset.css');

    /* Apply basic typography styles */
    @import url('library/styles/typography.css');

    /* Apply a basic layout */
    @import url('library/layouts/2c-r-fixed.css');

    /* Prepare theme for plugins */
    @import url('library/styles/plugins.css');

    /* Un-comment the line below to set a grid with 18px line-height */
    /*body { background:url(images/960_grid_12_col.gif) repeat-y top center; }*/

    /* =Global Elements
    -------------------------------------------------------------- */

    body {
    font-family:Georgia, serif;
    }
    #wrapper {
    border-top:9px solid black;
    }
    a:link, a:visited {
    color:#2772B3;
    text-decoration:none;
    }
    a:hover {
    text-decoration:underline;
    }
    blockquote {
    font-style:italic;
    font-size:13px;
    }
    blockquote em, blockquote cite, blockquote i {
    font-style:normal;
    }

    Posted 5 years ago #
  4. @import url('library/styles/reset.css');

    Should be

    @import url('../thematic/library/styles/reset.css');

    etc.

    Posted 5 years ago #
  5. D'oh, I should have figured that out really.

    Might be worth clarifying at http://forums.themeshaper.com/topic/how-to-change-the-look-of-thematic-with-a-wordpress-child-theme for the benefit of other newbies. The info is right there, I'd just failed to twig that those paths needed altering after copying the original CSS across.

    Thanks for the amazingly quick and helpful response!

    Posted 5 years ago #

RSS feed for this topic

Reply

You must log in to post.