lizbeck Posted December 12, 2020 Share Posted December 12, 2020 I used code to change image block size on mobile view, but the image aligned to the left. How could I change it to be in the center? Link to comment
DMPFIT Posted December 12, 2020 Share Posted December 12, 2020 I'm having the same issue here, help! Link to comment
lizbeck Posted December 12, 2020 Author Share Posted December 12, 2020 I figured it out on my own. I had no clue about coding until yesterday. So, I couldn't help any further I guess. I used the following in the CSS: @media screen and (max-width:767px) { #block-d4e3011d5b8e8a543e15d { margin: auto; } } So, I believe you could replace the second line with the block ID of the block you want aligned (which you could find using the Chrome extension called Squarespace Block/Collection Identifier) and you'd be good to go. Let me know if that helped. Link to comment
tuanphan Posted December 13, 2020 Share Posted December 13, 2020 If you share link to page in your questions, we can help easier 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!) Link to comment
lizbeck Posted December 23, 2020 Author Share Posted December 23, 2020 Yes, sure. Please help. I can't find a way to center align the icons on home page in mobile view. The page is https://www.lovitynote.com and the password is "lovitynotessd". Thank you in advance. Link to comment
tuanphan Posted December 24, 2020 Share Posted December 24, 2020 15 hours ago, lizbeck said: Yes, sure. Please help. I can't find a way to center align the icons on home page in mobile view. The page is https://www.lovitynote.com and the password is "lovitynotessd". Thank you in advance. Hi. You want, on mobile, icon (left) - text (right)? 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!) Link to comment
Imanixyz Posted January 14, 2021 Share Posted January 14, 2021 Hi, what would the code would be if I wanted the image to be centered? TIA!! Currently using the code below /* mobile screens */ @media only screen and (max-width: 640px) { #block-yui_3_17_2_1_1610577787125_26467 { width: 25%; } } Link to comment
tuanphan Posted January 17, 2021 Share Posted January 17, 2021 On 1/15/2021 at 12:17 AM, Imanixyz said: Hi, what would the code would be if I wanted the image to be centered? TIA!! Currently using the code below /* mobile screens */ @media only screen and (max-width: 640px) { #block-yui_3_17_2_1_1610577787125_26467 { width: 25%; } } Can you share link to page where you use image? We can check easier 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!) Link to comment
Guest Posted June 30, 2021 Share Posted June 30, 2021 I am having the same issue. The {margin:auto;} didn't work for me. In addition, I have a lot of images on the page. Is there code that would set all the images on a page (or in a section) to be center aligned on mobile. I feel like this should be simple and yet I haven't had any luck 😞 Here is a link to the page in question: https://www.thebigmuddydanceco.org/dancers/ Link to comment
tuanphan Posted July 2, 2021 Share Posted July 2, 2021 On 7/1/2021 at 12:10 AM, bigmuddydanceco said: I am having the same issue. The {margin:auto;} didn't work for me. In addition, I have a lot of images on the page. Is there code that would set all the images on a page (or in a section) to be center aligned on mobile. I feel like this should be simple and yet I haven't had any luck 😞 Here is a link to the page in question: https://www.thebigmuddydanceco.org/dancers/ It looks like all images are centered. Can you explain clearly? 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!) Link to comment
MountainTopMedia Posted August 30, 2021 Share Posted August 30, 2021 @tuanphan I used code block to insert image with text blocks underneath. Is there a way to keep a text block per picture for each account on mobile? Link to comment
tuanphan Posted August 31, 2021 Share Posted August 31, 2021 12 hours ago, MountainTopMedia said: @tuanphan I used code block to insert image with text blocks underneath. Is there a way to keep a text block per picture for each account on mobile? Is there a way to keep a text block per picture for each account on mobile? Can you explain clearly? I don't quite understand 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!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.