Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1491286
    Scarlett
    Guest

    add_action( ‘ava_main_header’, function() {
    We are using this hook to create a custom header design.

    Previously we had tried editing the code on the child theme for header customisation, but it caused the website to crash.

    Do you think using this hook can help us achieve the result without the chances of the website crashing.

    #1491289

    Hey Scarlett,

    I’m not sure that I understand what you are trying to achieve, please try to explain your intentions a bit further.

    Best regards,
    Rikard

    #1491336

    Thanks for your response.

    We are trying to customise our header design on bbbseed.com
    Last month, while working on the same, when we tried to implement the code on the child theme header, it made the website crash. And prior to this, we had tried to implement the code on the main websiteas well, which had resulted in the main website crashing.

    So now, we are trying to achieve the same using hoos via the snippets.
    We took reference from your article : https://kriesi.at/documentation/enfold/hooks-and-filters/

    Are we going in the right direction?
    Or shall I share the code that we were trying to implement for customisation? Will that be of any help to identify the issue?

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