Support » Fixing WordPress » Add to cart button size problem on differnent devices

  • Resolved sagar.chhabra02

    (@sagarchhabra02)


    The add to cart button size on my website is perfect . But when i open my website on mobile devices , add to cart buttons overlap on each other which is a major problem . Please have a look at thisVeggie Online and help me soon please .

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you’re not using a Child Theme, and if the theme doesn’t have a section for CSS modifications then do the following:

    1. Install this Custom CSS Manager plugin http://wordpress.org/plugins/custom-css-manager-plugin
    2. use its “CSS Code” section of the dashboard to hold your CSS modifications:
    3. (put this code in)

      .button {
          min-width: 0;
      }
      
      @media screen and (min-width: 420px) {
          .button {
              min-width: 220px;
          }
      }
    4. Save

    Alternatively use your Child Theme style.css file to hold your CSS modifications

    Thank you so much buddy . You really solved the problem ….

    I have site where the woocommerce cart extends across the whole page.
    If you want to update the cart up can’t (its over a side bar)
    The size of the all the text is very large
    I’m not sure what the problem is
    I can send more details if required

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add to cart button size problem on differnent devices’ is closed to new replies.