Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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,
    Ben

    #398132

    Hi Ben!

    That does not really matter. If you are going to use child theme, you can import demo content into child theme.

    Cheers!
    Yigit

    #398504

    Hi 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.
    Ben

    #398625

    Hey 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,
    Josue

    #399298

    HI 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,
    Ben

    #399313

    Hi!

    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!
    Josue

    #400041

    Hi 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,
    Ben

    #400142

    Hey 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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.