Okay
  Public Ticket #1286896
Removing Widget Off Specific Page
Closed

Comments

  • peoplefirstpharmacy started the conversation

    I would like to remove the top header widget off my 404 page. Is there a good way to do this?

  •  305
    Barry replied

    Hi there,

    To remove the header widget bar from the 404 page please add the following css via Appearance > Customize > Theme Options > Custom CSS:

    body.error404 .header-widgets { display: none; }

    If you have any questions, please let me know.

    Best regards,
    Barry

  • peoplefirstpharmacy replied

    Thank you sir. Really appreciate it! Is there a way to let that widget only display on the home page and nowhere else but there?

  •  305
    Barry replied

    You're welcome!

    Please replace the previous CSS line with the following:

    .header-widgets { display: none; }
    body.home .header-widgets { display: block; }
    

    Best regards,
    Barry