katieproctordesign Posted October 29, 2020 Share Posted October 29, 2020 Site URL: https://katieproctordesign.co.uk Hi, I'm looking for a way to align the text of these to the bottom rather than the centre like they are now! (this is the most important issue for me) I would also love a way to remove the padding or margin around the outside so that it sits flush in the block without seeing the background. I do already have some custom CSS (please see below) and it did help but didn't completely remove the margin. .sqs-block.image-block { padding-top:0!important; padding-left:0!important; padding-right:0!important; padding-bottom:0!important; } Link to comment
tuanphan Posted October 31, 2020 Share Posted October 31, 2020 Add to Home > Design > Custom CSS /* read the blog - shop resources */ div#page-section-5f993115e5da215b553438e1 figcaption.image-card-wrapper { align-items: flex-end !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
LisaRobertson10 Posted November 4, 2020 Share Posted November 4, 2020 Hi I have a similar question... I am using an image block in the poster style. I have added a hover effect and aligned the text to the left when it is visible on the hover state, but I would like the text to be a couple of pixels from the top of the image as well. Any ideas? https://www.lisa-robertson.co.uk/work Thanks! Link to comment
tuanphan Posted November 4, 2020 Share Posted November 4, 2020 34 minutes ago, LisaRobertson10 said: Hi I have a similar question... I am using an image block in the poster style. I have added a hover effect and aligned the text to the left when it is visible on the hover state, but I would like the text to be a couple of pixels from the top of the image as well. Any ideas? https://www.lisa-robertson.co.uk/work Thanks! You can use this CSS .design-layout-poster .image-title-wrapper { margin-top: -10px; } 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
LisaRobertson10 Posted November 5, 2020 Share Posted November 5, 2020 19 hours ago, tuanphan said: You can use this CSS .design-layout-poster .image-title-wrapper { margin-top: -10px; } Thanks so much! For some reason it doesnt seem to be changing anything... I placed it in the Design / Custom CSS section, is there something I am doing wrong? https://www.lisa-robertson.co.uk/work Link to comment
tuanphan Posted November 6, 2020 Share Posted November 6, 2020 On 11/5/2020 at 5:45 PM, LisaRobertson10 said: Thanks so much! For some reason it doesnt seem to be changing anything... I placed it in the Design / Custom CSS section, is there something I am doing wrong? https://www.lisa-robertson.co.uk/work Use new code .homepage figcaption.image-card-wrapper { align-items: flex-start !important; padding-top: 10px; } 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.