Site logo

[Resolved] Creating a Child Theme

Home Forums Support [Resolved] Creating a Child Theme

Home Forums Support Creating a Child Theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #808678
    Vish

    Hello

    I have the below setup right now:

    Additional CSS: 800+ lines.
    Code Snippets: 10
    Elements (Hooks): 6

    As the additional CSS is quite large in size, would it be better if I create a child theme for my site?

    If yes, I have the below questions:

    1. Can I simply copy whatever is in additional CSS to style.css?
    2. Can I simply copy all the PHP code from code snippets to function.php?
    3. Can we simply leave the Elements alone or is there a possible way to move them to child theme as well?

    Thanks 🙂

    #808730
    David
    Staff
    Customer Support

    Hi there,

    Yes i personally would move the CSS to a Child Theme.

    1. Yes simple cut and past into your child theme style.css
    2. Yes, same applies here.
    3. Elements should be left where they are, they cannot be transferred to a child theme and their would be no benefit if you could. They are a custom post type so think of them as a post or a page ( just smarter 🙂 )

    #808754
    Vish

    Thanks for the quick reply, David 🙂

    #808757
    David
    Staff
    Customer Support

    You’re welcome

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