Return to Support

Not clear on child theme for NEO

Home Forums Graphene Mobile Neo Support Not clear on child theme for NEO

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9951
    jmk909er
    Member

    In the read me file it says:

    “The Any Mobile Theme Switcher (AMTS) plugin can accept a child theme to be used as the mobile theme for mobile devices. Therefore, you can simply create a child theme for Graphene Mobile Neo as you would with any other theme.”

    But in the resource page given, located at: <http://docs.graphene-theme.com/Customisation_using_a_child_theme&gt; I followed the instructions exactly but it makes a child theme for the parent Graphene. Is this correct?

    I am beginning to realize that it looks like I need the Graphene Parent and the NEO. Very confusing, so I probably need a child for the parent and for NEO???

    Which one do you edit if you want to customize? It looks like there are 2 parallel themes running. There should be a much clearer tutorial on this.

    #44978
    Syahir Hakim
    Keymaster

    That tutorial is specific for the Graphene theme, but the process is similar for any other themes. In the child theme’s style.css file, change graphene to graphene-mobile-neo and you should be all set.

    Template:       graphene-mobile-neo

    @import url("../graphene-mobile-neo/style.css");

    #44979
    jmk909er
    Member

    OK thanks Syahir. I’m starting to get it. I have installed the parent Graphene and created a child for that. How does it work with customizing? Do I customize in my parent child or the NEO child or do I need to do both?

    #44980
    Syahir Hakim
    Keymaster
    Quote:
    I have installed the parent Graphene and created a child for that.

    If you’re not using Graphene, there’s no need to do that.

    Quote:
    Do I customize in my parent child or the NEO child or do I need to do both?

    Make changes to the Neo child theme to customise Neo.

    #44981
    jmk909er
    Member

    Hey Syahir, I am having trouble making the child for the graphene mobile neo. what am I doing wrong with this?

    /*
    Theme Name: Graphene Mobile Neo Child
    Theme URI: http://example.com/
    Description: Child theme for the Graphene Mobile Neo theme
    Author: Joe Koppel
    Author URI: http://example.com/about/
    Template: graphene mobile neo
    Version: 1.0
    */
    @import url("../graphene-mobile-neo/style.css");
    /* Your modification goes here */

    #44982
    jmk909er
    Member

    Disregard, I figured it out…it was missing the dashes connecting the template name

    #44983
    Syahir Hakim
    Keymaster

    Yes, the template name must match the folder name of the parent theme exactly, so those dashes need to be there.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.