Public Ticket #1690161
Eliminating Block for Smart Phone


  •  5
    mbanchik started the conversation

    Good day,

    On this site, I would like to know if I can make the main body block disappear when a person visits the site on a smart phone (I believe the block that I would like to disappear is id="pb_block-0") but not have the header disappear on that page. I used this code:

    img {
      display: block
    @media (max-width: 650px) {
      img {
        display: none

    I was able to make the main image disappear with that code, but the header image also disappeared and that needs to stay.

    Any help is greatly appreciated. Thank you!

  •  183
    Hina replied


    Just try use following code and let me know if that works or not

    @media (max-width: 650px) {
      pb_block-0 {
        display: none !important;


    Best Regards,
    Hina S.
    Theme-Canon Support