-
AuthorPosts
-
February 18, 2015 at 12:34 am #397910
Hi,
This might be a stupid question, but where is the best to install the demo content? Within the Child Theme or within the Parent Theme? (I use Enfold)
I know the content will go to the MySQL database but not sure how which way of content installation is the best for the styling?
Sorry just a bit confused… Any help and info would be appreciated.
Thank you in advance.
Kind regards,
BenFebruary 18, 2015 at 2:50 pm #398132Hi Ben!
That does not really matter. If you are going to use child theme, you can import demo content into child theme.
Cheers!
YigitFebruary 18, 2015 at 10:23 pm #398504Hi Yigit,
Thank you for your answer,
I have another one: is it a good idea to use this line of code below in the child theme’s style.css?
@import url(“../enfold/style.css”);What does it mean exactly and what happens if I don’t insert it into the child theme’s style.css?
Sorry if this has been answered, I made a search in he forum and I found related topics, but I didn’t seem to be able to find the answer to my question.
Thanks in advance.
BenFebruary 19, 2015 at 4:43 am #398625Hey Ben!
That line is not necessary, you can remove it if you want. What it does is to include the parent theme style.css but in Enfold that’s just an empty file containing the theme info.
Regards,
JosueFebruary 19, 2015 at 10:23 pm #399298HI Josue,
Thank you for your reply, that make sense.
So, if I want to do major changes in the styling of the theme, and I don’t want to amend the parent theme’s custom.css can I just add all css codes to the child theme’s style.css instead?
Also, if I use the theme options from within the child theme, what files will be affected? Will the files of the parent’s theme overwritten or will everything be added to the child theme’s files?
Sorry if these are basic ones, but want to make sure if I update the theme my changes won’t be lost.
So, basically I am looking for an advice of which is the best way to customise my child’s theme and not to touch the parent’s theme, if that make sense?
Thanks a million in advance.
Best regards,
BenFebruary 19, 2015 at 11:01 pm #399313Hi!
So, if I want to do major changes in the styling of the theme, and I don’t want to amend the parent theme’s custom.css can I just add all css codes to the child theme’s style.css instead?
Correct, child theme style.css is the most reliable option to store custom CSS codes.
Also, if I use the theme options from within the child theme, what files will be affected? Will the files of the parent’s theme overwritten or will everything be added to the child theme’s files?
No theme or child theme files will be affected, your settings are saved in the database and in a dynamic stylesheet file located in wp-content/uploads/dynamic_avia.
Cheers!
JosueFebruary 21, 2015 at 12:00 pm #400041Hi Josue,
Thank you for your answer.
I do have another question (hopefully the last is this topic). So, if I want to update my enfold parent theme, can I do it from the child theme using the “Theme Update” settings or do I have to go back to Appearance -> Themes and activate the parent theme and update it from there using the “Theme Update” settings?
I guess both would work, but not sure.
I just generated an API key in themeforest from the Settings -> API key. I have inserted this and my themeforest username to the child theme’s “Theme Update” page. Did I do it right?
Thank you in advance.
Best regards,
BenFebruary 21, 2015 at 11:53 pm #400142Hey Ben!
No, you don’t need to re-activate the parent theme in order to update, the update tool will update the parent theme automatically.
Best regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.