abbydowning Posted January 14, 2021 Share Posted January 14, 2021 Site URL: http://www.polymerventures.com/industries 1. On the mobile version of the site I would like the color blocks to have 0 padding (be right underneath the picture they are related with) ... see image of web version vs mobile version. 2. Is there a good solution of customizing the Poster Blocks? I'd like to center the titles but not the rest of the text. Link to comment
abbydowning Posted January 15, 2021 Author Share Posted January 15, 2021 Solved #1 with this: @media screen and (max-width: 640px) { #BLOCK ID { margin-top: -35px; } } Still looking for help centering the headers on the poster blocks. Link to comment
tuanphan Posted January 18, 2021 Share Posted January 18, 2021 On 1/16/2021 at 1:20 AM, abbydowning said: Solved #1 with this: @media screen and (max-width: 640px) { #BLOCK ID { margin-top: -35px; } } Still looking for help centering the headers on the poster blocks. Q2. All devices? Add to Design > Custom CSS /* pulp and paper */ div#block-yui_3_17_2_1_1608210083549_5737 .image-title-wrapper { text-align: center !important; } Q1. Remove CSS you used & Use this CSS /* Poster block padding */ @media screen and (max-width:640px) { div#page-5fcba3e36e74d26c6f03173f .sqs-block { padding-top: 0 !important; padding-bottom: 0 !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!) Link to comment
abbydowning Posted January 20, 2021 Author Share Posted January 20, 2021 Thank you so much. This worked perfectly. One more question - the text on the poster blocks is centered vertically, so the spacing varies on each because of text length. Is there a way to change this spacing so it consistently starts at the same place? I tried this but it isn't working: .sqs-block-image .design-layout-poster .image-card-wrapper { display: flex !important; justify-content: center; position: absolute; top: 0; left: 0; bottom: 0; right: 0; } Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.