New Landing How can we help? Themeforest Theme Support Dante Creating Child Theme

Viewing 13 posts - 1 through 13 (of 13 total)
  • Posted in: Dante
  • #103147
    tsimarketing
    Member
    Post count: 267

    I am trying to update my Dante theme to the new version. Before I do that I am trying to create the child theme. I have done the steps of creating a new directory in my themes directory, then creating a file in that directory named style.css. I changed the information to suit the dante theme. Then the next steps in the directions are to go to Appearance->Themes and then activate the child theme. But when I go to the themes page, I don’t see the child theme I created, so I can’t activate it. What am I doing wrong?

    #103148
    tsimarketing
    Member
    Post count: 267

    Actually I found it under Appearance->Editor. But it is saying the parent theme is missing, which doesn’t make sense because the Dante parent theme is installed. I have attached a screenshot of the page I’m looking at.

    Attachments:
    You must be logged in to view attached files.
    #103198
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    In the Template parameter you must use the exact same name (case sensitive) of the parent theme.

    Replace this line

    Template: Dante

    by this one

    Template: dante

    -Rui

    #104204
    tsimarketing
    Member
    Post count: 267

    Okay, I changed the capital D to a lowercase d, I have attached a screenshot of the that same page. So once I made that change and saved it, I went to the theme section to do a live preview of the child theme, but it looks completely different from what my website is supposed to look like. I have attached a screenshot of the live preview of the child theme so you can see how it doesn’t look like the parent theme at all. The link to the parent theme is http://tsihealthcare.com/maintesting/?page_id=2. Do I need to copy over more than just the CSS styles sheet? I’ve read everywhere that creating a child theme is suppose to be super easy, so it’s a little frustrating that I can’t seem to figure it out, because I really need to upgrade the theme so I can use the modals effect.

    #104215
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, I’m afraid I don’t see a screenshot, could you please reattach it?

    You might need to reapply your custom menu after activating the child theme, but in general it really is easy!

    #104218
    tsimarketing
    Member
    Post count: 267

    Oh woops! Sorry. Here they are.

    Attachments:
    You must be logged in to view attached files.
    #104413
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use given below code at dante child theme’s style.css.

    /* LICENSE & DETAILS
       ==================================================
    
    	Theme Name: Dante Child Theme
    	Theme URI: http://dante.swiftideas.net
    	Description: A Retina Responsive Multi-Purpose WordPress Theme - Designed & Developed by Swift Ideas ( www.swiftideas.net )
    	License: GNU General Public License version 3.0
    	License URI: http://www.gnu.org/licenses/gpl-3.0.html
    	Template: dante
    	Version: 1.0
    	Author: Swift Ideas
    	Author URI: www.swiftideas.net
    
    	All files, unless otherwise stated, are released under the GNU General Public License
    	version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html)
    
       ==================================================
    */
    
    /* --------------------------------------------
    	DANTE CSS IMPORT
    -------------------------------------------- */
    
    @import url("../dante/style.css");
    
    /* --------------------------------------------
    	CHILD THEME CSS
    -------------------------------------------- */

    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #104508
    tsimarketing
    Member
    Post count: 267

    Thank you that worked!

    #104509
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Glad it’s solved. Thanks Mohammad

    -Rui

    #104582
    tsimarketing
    Member
    Post count: 267

    Okay, so after I upgraded the theme my top right little menu is not what it should be. We had customized it to say news & blog, contact us, client area and then have a image button to take you to demos. I attached a screenshot of what it should look like. Now all it says in the upper corner is login and my account, see attached file.

    I did the child theme like I was supposed to, everything else came out right except that part. I have tried adding the code that I have for the customization of that top menu to the child theme, but it isn’t doing anything. I have only added it to the child theme though, do I also need to add it to the parent theme because I noticed it is missing there now too? Please help!

    Attachments:
    You must be logged in to view attached files.
    #104798
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Which file did you edited in child and parent theme?
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #104944
    tsimarketing
    Member
    Post count: 267

    Nevermind, I figured it out. Thanks.

    #104946
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Glad you sorted. Thanks
    -Rui

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

You must be logged in to reply to this topic.