WordPress.org

Ready to get started?Download WordPress

Forums

Mog
Child theme doesn't inherit styles (2 posts)

  1. lightrail
    Member
    Posted 1 year ago #

    First of all, I love the Mog theme! Clean, beautiful, and readable. So thanks much for creating it.

    My problem is that I created a child theme, following the WordPress guidelines, but it doesn't inherit the theme's styles. The main font (div.entry-content) has reverted to ugly Times Roman, and the main navigation menu doesn't roll up -- the sub-menu items are all exposed.

    I created a "Mog-child" theme in wp-content/themes, with this style.css:
    @import url("../mog/style.css");
    /*
    Theme Name: Mog Child
    Theme URI: http://wordpress.org/themes/mog
    Description: Child theme for the Mog theme
    Author: (me)
    Author URI: http://myurl.com (not my real domain! :) )
    Template: mog
    Version: 0.01
    */

    Am I doing something wrong?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Put your import line after the comments.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic