Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Creating Child Theme
New Landing › How can we help? › Themeforest Theme Support › Dante › Creating Child Theme
- This topic has 12 replies, 4 voices, and was last updated 10 years by Rui Guerreiro – SUPPORT.
-
Posted in: Dante
-
August 21, 2014 at 5:48 pm #103147
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?
August 21, 2014 at 5:53 pm #103148Actually 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.August 21, 2014 at 10:26 pm #103198Hi,
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
August 26, 2014 at 2:53 pm #104204Okay, 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.
August 26, 2014 at 3:09 pm #104215Hi, 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!
August 26, 2014 at 3:13 pm #104218Oh woops! Sorry. Here they are.
Attachments:
You must be logged in to view attached files.August 27, 2014 at 7:40 am #104413Hi,
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
MohammadAugust 27, 2014 at 1:29 pm #104508Thank you that worked!
August 27, 2014 at 1:30 pm #104509Glad it’s solved. Thanks Mohammad
-Rui
August 27, 2014 at 3:49 pm #104582Okay, 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.August 28, 2014 at 8:51 am #104798Hi,
Which file did you edited in child and parent theme?
Thanks ๐
With Best Regards
MohammadAugust 28, 2014 at 4:51 pm #104944Nevermind, I figured it out. Thanks.
August 28, 2014 at 4:53 pm #104946Glad you sorted. Thanks
-Rui -
Posted in: Dante
You must be logged in to reply to this topic.