Home>Support>Won’t Scale and Adapt for Mobile

Won’t Scale and Adapt for Mobile

Hey Guys,

Can you please tell me how to get embedded icons to adapt to mobile?

For example, if you look at the contact icon/links after “Let’s Connect” or the category icons after “I want to Improve This” on my landing page, they scale on a computer but they become misaligned and otherwise messed up on an android phone.

www.ChristopherBabson.com

Thanks.

Chris

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Preface: This CSS will only work on Christopher’s site and could very well cause design issues on other sites, I wouldn’t recommend using it.

    Hi Christopher,

    Okay, so it’s not directly possible to scale these icons to display exactly how they are on desktop (without them becoming extremely small – which Google frown upon’s. As a result, the best you can really do is fix the alignment, but not the exact scale.

    Please open the editor that’s being used to add the category icons and head over to the widget styles sidebar. Open the Attribute settings group and set the class to editor-category_icons. Now open the row that’s adding the Editor widget that’s adding the let’s connect images. Open the Attribute settings group and set the class to editor-lets_connect and then save the page.

    @media (max-width: 754px) {
    	.entry-content .editor-category_icons img {
    		margin: 0;
    		width: 20%;
    	}
    
    	.entry-content .editor-lets_connect img {
    		margin: 0;
    	}
    }
    

    How does that look? Personally, I would recommend making the category icons full width as it’ll look nicer on mobile. To do that, add the following CSS:

    @media (max-width: 350px) {
    	.entry-content .editor-category_icons img {
    		margin: 0;
    		width: 100%;
    	
    }
    

    By the way, as you’re a premium user, you’re entitled to priority email support. If you would like to make use of that, please follow the instructions found on your Page: Dashboard (please refer to the support tab). Please reference this thread and include your SiteOrigin order key in the email.

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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More