Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #350632

    Hello everyone!

    I have a big problem!

    I needed add a google font to Enfold, then I came across this post on the forum: https://kriesi.at/support/topic/adding-more-fonts/

    I tried to nurture a child theme to make such a change, I downloaded the theme son here: http://kriesi.at/documentation/enfold/faq/#child-theme

    And I follow these steps: http://kriesi.at/documentation/enfold/using-a-child-theme/

    But it did not work and broke my wordpress, you see the message that appears when I type the URL of my site:
    Fatal error: Can not redeclare avia_add_heading_font () (previously Declared in /home/hrromano/www/locacoes/wp-content/themes/enfold-child/functions.php:9) in / home / hrromano / www / locations / wp-content /themes/enfold/functions.php on line 515

    What should I do?

    please answer me as soon as possible, I need it as soon as possible ….

    Thank you for listening

    Cheers!

    #350677

    Hey virtualsa!

    It seems like you have declared a functions with the name “avia_add_heading_font” twice. Please try changing the one in your child theme to “avia_add_heading_font_new” and check if that helps. You should go to wp-content/themes/enfold-child and edit the code in functions.php file.
    Also, you can download pre-built child theme here – http://kriesi.at/documentation/enfold/downloads/

    Cheers!
    Yigit

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