This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Mobile Site Circle Icon Resize

Open 3 replies generalpremium
10 years ago · Last reply by Andrew Misplon 10 years ago

Throughout my site, and in the footer, I use many circle icons. In the mobile view, these icons become stacked because of their size, was wondering if there is a way (or CSS) I can use to enable the circle icons to view the same way they do on desktop, and not stacked?

URL: http://www.oneupautomotive.com

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 10 years, 8 months ago

    Hi Jessie_ob

    Thanks for reaching out.

    I can sort of fix this. Try the following:

    1. Edit a Page Builder row with Circle Icon widgets in it by clicking the wrench icon far right > Edit Row.
    2. Click Attributes top right.
    3. Insert the following as a Row Class, the first field:

    force-responsive-off

    Then at Appearance > Custom CSS:

    /* Page Builder Custom Classes */
    @media (max-width: 780px) { 
      #content .force-responsive-off .panel-grid-cell {
        float: left;
        width: 33%;
      }
    }

    The problem is that I don’t know how to do this without stating the width of each column. In my demo I’m stating 33% so that would be a row with three columns.

    In theory you could insert your Custom CSS several times with different names and change the width each time:

    Eg:

    /* Page Builder Custom Classes */
    @media (max-width: 780px) { 
      #content .force-responsive-off-33 .panel-grid-cell {
        float: left;
        width: 33%;
      }
    }
    @media (max-width: 780px) { 
      #content .force-responsive-off-25 .panel-grid-cell {
        float: left;
        width: 25%;
      }
    }

    The class name inserted at Edit Row > Attributes > Row Class must match whatever you’ve set at Custom CSS for example:

    force-responsive-off-25

    For a row with two columns. Note the lack of period before the class name when inserted at Attributes.

    Alternatively turn off responsive behaviour for Page Builder completely at Settings > Page Builder > Layout > Responsive Layout.

    Or turn off responsive behaviour for the theme at Appearance > Theme Settings > Layout > Responsive Layout.

  2. jessie_ob 10 years, 7 months ago

    Awesome, thanks! The font doesn’t all fit, so I’ll keep that portion responsive. I am using site origin social buttons in the footer, and on mobile it stacks them vertically, is there a way I can make the social so it all fits on one row in mobile?

  3. Andrew Misplon Staff 10 years, 7 months ago

    Thanks for the wait. The problem is that the social icons won’t fit on one row on mobile. In order to make that happen we’d need to adjust their size on mobile. Wish I could but it’s unfortunately beyond what we can offer here. If you’d like to hide them on mobile, that’s something we coud help out with.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread