Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #300955
    heinelg
    Participant

    url: https://newriverrifles.com/

    I created a new template for the home page to have a custom header. It worked on my test page but when I applied it to the Welcome page, the <body> class appears at the top of the displayed page.

    I tried to include the test on the page and the template source but your form won’t let me.

    Do you have any suggestions for me to fix this?

    Thanks!

    #300986
    tikaram
    Keymaster

    @heinelg : It looks like you have printed the body class. Please try checking the code once again and let me know. If the issue still persist after I will help you resolve the issue
    Regards,
    Tikaram

    #301013
    heinelg
    Participant

    Thanks!

    Yes, that’s the body class. I tried to include the code but your form wouldn’t allow it. If you send me an email I will send you the code details.

    #301123
    heinelg
    Participant

    The print of the body class is not in my code; somehow WordPress, the theme and the child theme are affecting the body class tag and that is the result.

    How can I get my page and header code to you to check?

    #301254
    tikaram
    Keymaster

    @heinelg : I will contact you shortly by email.

    Regards,
    Tikaram

    #301268
    heinelg
    Participant

    In preparing the files to send you I have identified my problem and corrected it. Thanks for your assistance!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Custom Template results in body class appearing on page’ is closed to new replies.