Jump to content

Side-by-side social icons look the right size on desktop but appear huge on mobile phone

Recommended Posts

On 3/6/2022 at 7:39 PM, copywriter22 said:

Site URL: https://www.drmadeleinevieira.com/podcast

Hi,

When I check my podcast webpage on my phone the social icons come up enlarged and it doesn’t look good. (See attached) while they’re pretty small when viewed on my iMac. What's a solution to this?

Thanks
 
1778019223_Screenshot2022-03-04at12_44_14PM.thumb.png.72fd2393592564bc6b0dfc4668b8cf8e.png1807832001_2022-03-0412_42_01.thumb.jpg.fb8459526cde569332244bd7b5eb73fb.jpg

Try adding to Home > Design> Custom Css

@media only screen and (max-width: 767px) {
	#block-yui_3_17_2_1_1646233969331_4082 {
		.sqs-gallery-design-grid {
			display: flex !important;
			justify-content: space-evenly;
		}
		.sqs-gallery-design-grid-slide {
			width: 10% !important;
			img {
				width: 100% !important;
				height: 100% !important;
				position: absolute !important;
			}
		}
	}
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Edited by bangank36

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.png.d7550fe6c56fbdb87e3f7b8df338e82e.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Hi, that works for my podcast webpage - thanks!

However, I have the same social icons when you click on the episode within the podcast webpage and it's the same issue. The size looks fine on my desktop, but on my mobile they're enlarged. (see screenshots attached)

Is there a different code for the episode pages (made with blog page feature)?

Thank you

Desktop.png

Mobile.png

Link to comment

Don't remove above code. Add this to Design > Custom CSS

@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1646234356611_107823 .slide {
    width: 12% !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 3/11/2022 at 6:45 PM, copywriter22 said:

Hi, this works, however, with this code the social icons are now left aligned and I'd like them positioned centred like on my web browser. (see screenshots)

Does the code need to be changed slightly to get this result?

Thanks

2022-03-11 13.31.18.jpg

Web browser.png

Change 12% to 14.2857% !important

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

 

Hi, your code worked to decrease the social icons size and to justify them correctly for episode 1 (see screenshot attached). However, now that I've added a new episode and have uploaded the same icons, they also come up really big and probably not justified correctly in mobile view (see screenshot).
Is there a code that would solve this for every new episode I upload the social icons to? Or do I need a new code each time to have it appear correctly?

Thank you

757686186_Episode1socialicons.thumb.jpg.8a89de4b3ddcc8e80aac603c5f75e694.jpg1580467999_Episode2socialicons.thumb.jpg.42715e516e1196e621b4c66f54d88891.jpg

Link to comment
On 3/16/2022 at 8:31 PM, copywriter22 said:

 

Hi, your code worked to decrease the social icons size and to justify them correctly for episode 1 (see screenshot attached). However, now that I've added a new episode and have uploaded the same icons, they also come up really big and probably not justified correctly in mobile view (see screenshot).
Is there a code that would solve this for every new episode I upload the social icons to? Or do I need a new code each time to have it appear correctly?

Thank you

757686186_Episode1socialicons.thumb.jpg.8a89de4b3ddcc8e80aac603c5f75e694.jpg1580467999_Episode2socialicons.thumb.jpg.42715e516e1196e621b4c66f54d88891.jpg

try this new code

@media screen and (max-width:767px) {
body[class*="collection-type-blog"].view-item .gallery-block .slide {
    width: 14.2857% !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.