• Resolved yig

    (@yig)


    Hi there,

    Is there a code that I can add on Global -> Advanced -> custom css area, to be able to hide the header and/or footer on some specific page IDs?

    Currently using header style #1 and footer style #1, if this is relevant (But I could prefer a global solution, as I might change these style depending on the plugin updates and fixes)

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi Yig,

    I see that you’ve already created a Ticket if you have any further queries I’ll answer it on the Previous one.

    Now, you can add the below code to hide Header and same goes with the Footer with some changes.

    .post-id-1198 #header {
    display:none;
    }

    Thread Starter yig

    (@yig)

    Thank you very much.

    The above code does not work but for anyone who might need this, the correct code is below:

    .post-id-1198 .header {
    display:none;
    }

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi Yig,

    Sorry about that and thanks for correcting it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hiding Header and/or footer on a Specific AMP Page’ is closed to new replies.