Jump to content

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

Recommended Posts

  • Replies 10
  • Views 608
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)
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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

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

Posted

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

Posted
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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted

 

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

Posted
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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.