New Landing How can we help? Atelier Enlarge checkboxes and radio buttons on mobile

Viewing 15 posts - 1 through 15 (of 15 total)
  • Posted in: Atelier
  • #269784
    DoebankDesigns
    Member
    Post count: 27

    How can I enlarge checkboxes and radio buttons on mobile devices? They’re too small to tap. I’m not sure if this is theme related or Woocommerce related. I tried adding this to the CSS with no results:


    input[type=checkbox] {
    /* All browsers except webkit*/
    transform: scale(1.5);

    /* Webkit browsers*/
    -webkit-transform: scale(1.5);
    }

    #269806
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    try this one instead.

    @media only screen and (max-width: 767px){
      #main-container {
       zoom: 1.5;
      }
    }

    Hope it helps.

    -Rui

    #269841
    DoebankDesigns
    Member
    Post count: 27

    Nope. That didn’t work. It’s weird, because if I make changes in Chrome’s inspector, I can get the results I want (see the screen shot). But if I make those changes in the CSS file, it doesn’t do anything. Not sure what I’m missing.

    Attachments:
    You must be logged in to view attached files.
    #269924
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please add !important with each css rule of a class. It should work.
    Thanks
    Mohammad

    #270070
    DoebankDesigns
    Member
    Post count: 27

    No, it’s not doing anything.

    #270092
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .tm-extra-product-options .tm-epo-field.tmcp-checkbox, .tm-extra-product-options .tm-epo-field.tmcp-radio {
        width: 25px !important;
        height: 25px !important;
    }

    Thanks
    Mohammad

    #270107
    DoebankDesigns
    Member
    Post count: 27

    No. I tried that one already. Tried it again just now to be sure, but it doesn’t work. It’s strange because it seems to work in the inspector, but when I add the code to my CSS file, it doesn’t work. Am I putting it in the wrong CSS file?

    #270109
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please go to Admin > Theme Options > Custom CSS and insert the custom css code, save it.
    Thanks
    Mohammad

    #270110
    DoebankDesigns
    Member
    Post count: 27

    That’s where I’m putting the code.

    #270111
    DoebankDesigns
    Member
    Post count: 27

    Wait…no it’s not. Let me try that.

    #270113
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Try it and let me know the feedback.
    Thanks
    Mohammad

    #270114
    DoebankDesigns
    Member
    Post count: 27

    Ha! That works. I was putting the code in the CSS file under Appearance > Editor with the rest of my custom CSS. It’s almost perfect now. Some of the boxes have their top border cut off. Is there a way to fix that?

    Attachments:
    You must be logged in to view attached files.
    #270124
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove the last code and use this new code:-

    .tm-extra-product-options .tm-epo-field.tmcp-checkbox, .tm-extra-product-options .tm-epo-field.tmcp-radio {
        width: 25px !important;
        height: 25px !important; 
        margin-top:5px !important;
    }

    Thanks
    Mohammad

    #270130
    DoebankDesigns
    Member
    Post count: 27

    Fantastic!!! Thank you so much. That’s exactly what I needed. I really appreciate the help. 🙂

    #270138
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Glad to help you.
    Thanks
    Mohammad

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register