Header.php and Avada fix

This topic contains 4 replies, has 2 voices, and was last updated by  Simone 9 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #32529

    mstopa
    Buyer
    Post count: 212

    Gentlemen,

    I posted this in the original (but resolved) thread and it seems that wasn’t the correct place so I’m starting a new thread.

    Forgive me, but I’m not sure I did this correctly. I’m new at editing php and while it seems like a simple copy and paste, WordPress doesn’t want to refresh properly.

    I copied the header.php from the core Avada theme to the child theme and renamed it header-copy.php. Then I attempted to edit it and renamed it header.php. I left the original child theme header file in there, now renamed header-orig.php.

    But it doesn’t seem to work. I must have missed or added something.

    I’m seeing style=””> appear on some of the draft Avada theme pages and <div class=”clearfix”></div> on others.

    Please advise!

    I will provide login details in a private reply.

    Thank you for any help you can provide.

    Marsha

    #32530

    mstopa
    Buyer
    Post count: 212
    This reply has been marked as private.
    #32539

    Simone
    Expired Member
    Post count: 3515

    Hi Marsha, you had a wrong syntax on the last row, a not needed “>”

    <?php echo $main_class; ?>” >

    (in bold) I’ve removed it and now it’s ok.

    #32545

    mstopa
    Buyer
    Post count: 212

    Simone,

    Ack. Sorry about that. Thanks for finding and fixing. I was going cross-eyed.

    Code reminds me of that old saying, “For wont of a nail the kingdom was lost.”

    Thanks again!

    Marsha

    #32628

    Simone
    Expired Member
    Post count: 3515

    The quote totally fits 🙂

    You’re welcome.

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount