Okay
  Public Ticket #1175728
exclude custom css mobile
Closed

Comments

  •  3
    slego started the conversation

    hi!

    is there any simple code to insert to bypass certain customisation on mobile devices ? 

    for example - 

    .wpb_wrapper .auto-type-element span.block {
        padding: 15px 30px;
    color: #8d61d6 !important;

    hide - mobile or something ?  }

  • [deleted] replied

    Hi slego

    If you wan't to hide any element in content for specific device, please watch a video to learn how to hide elements on VC.

    Thank you.

  •  3
    slego replied

    oh sorry, I meant something else.

    I have input a custom css code, to scale the autotype header. But it is way too big for mobile devices.

    I was wondering how I could bypass that custom code only on mobile devices.

  • [deleted] replied

    Hi slego

    You can simply put this code on Custom CSS and it has to work .

    @media (max-width: 600px) {
      .auto-type-element span.block {
         font-size: 18px;
      }
    }
    

    Thank you.