Tagged: ,

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #885495

    Hello, I installed on my website the child theme through the informations on the documentation.
    The website works, but the child theme doesn’t work: if I insert a style.css in the main directory enfold-child (also with the !important tag in CSS, the CSS style is not loaded in the page and also if I create (for example) the footer.php file in my child theme, it doesn’t replace the main file theme.
    Have I to insert some code line in the function.php file?
    How can I use the child theme?

    Thanks.

    #885515

    Hey Carmine,
    When you add a child theme you will need to activate it as your theme. I’m assuming that you downloaded our child theme here
    Note that if you have already built your site and are now adding a child theme you will need you export your theme setting from your parent theme so your stylings will show. Please see the link for a video about Moving to a Child Theme.

    Best regards,
    Mike

    #885542
    This reply has been marked as private.
    #885571

    Hi Carmine,

    Can you please be more specific about the element and what styles you’re trying to apply? And on which page?

    Best regards,
    Victoria

    #885579

    Okay, I need to add a section in the footer.php file and to customize the CSS for some elements that I have inserted.
    In the link in private content i send you the endfol-child directory on my website.
    Thanks

    #885877

    Hi,
    Please explain in detail what custom css you are trying to apply to your site, also include a admin login in the private content area so we can take a closer look.
    We will need to see your site and see why your child theme css is not being applied, or what conflicts are occurring.

    Best regards,
    Mike

    #886561
    This reply has been marked as private.
    #886741

    Hi,
    The reason the child theme was giving an error that the parent theme was corrupt was because in the stylesheet of the child theme the Template was “Enfold” when it should have been “enfold”.
    I have removed the rules in “CSS rapido” and the child theme is applying them now, and your error is gone. Please check.

    Best regards,
    Mike

    #887000

    Thank you for the correction of the error (I think that you should correct your child-theme too).
    But I don’t agree with you about the correct functionality of the child-theme: the CSS rules in style.css of the child-theme isn’t applying.
    Please clear your cache and try again.
    Thanks.

    #887001

    Also for example the footer.php file: it isn’t replaced with the new file that I inserted in the child-theme path.
    Are you sure that I haven’t put nothing in the function.php file?
    My best regards!
    Carmine

    #887011

    Sorry I noticed that the file footer.php is replaced correctly, but the style.css file isn’t applied

    #887037

    Hi,
    Please explain in detail what custom css is not being applied to your site, such as a color of a element so it will be easy to tell when it is being applied.

    Best regards,
    Mike

    #887171

    Hi Mike,
    I have in the chilf-theme folder the style.css file and ALL THE CSS RULES are not applied.
    Did you understand?

    Thanks. Carmine.

    #887224

    Hi,
    Sorry, but I didn’t have any issues changing the styles in your child theme style.css
    I changed your a tag from #464646 to red, and I added a rule to make your h2.av-special-heading-tag red. Then I cleared your cache plugin and cleared my browser cache and took this screenshot:
    2017-12-10_221948
    I then changed everything back for you.

    Best regards,
    Mike

    #887514

    Okay, sorry, there was a problem with my cache.
    I now agree with you about the perfect work of child theme.

    Thanks you a lot for the support. You are the best.

    My best regards.
    Carmine

    #887758

    Hi Carmine,

    Glad to hear that. Thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Child theme doesn't work’ is closed to new replies.