Jump to content

Text not centering with image on image card

Recommended Posts

Site URL: https://thebusybelle.me/services

I have two image cards on my services page in the same section. The settings on my site are to center the text with the image on image cards. In the first image (for Website Design), the setting works great and it looks as it should. On the second image (for Email Marketing), the text is not centered. I have tried adding a new section, playing with the settings, writing custom css code (see below), and about a dozen other troubleshooting steps, and nothing is working. It's driving me mad, ha!

 

I found this coding in this forum and added it in the custom css, but it didn't work and the syntax says there is a missing { so I'm not sure if I'm typing it in wrong.

div#page-section-5f4c32b10acc3a6197a55e82 .span-12>.row {
    display: flex;
    align-items: center;
}
}}

 

If anyone knows what I'm missing, I would appreciate your help! Thank you!

Screen Shot 2020-11-06 at 7.20.35 PM.png

Link to comment
3 hours ago, thebusybelle said:

Site URL: https://thebusybelle.me/services

I have two image cards on my services page in the same section. The settings on my site are to center the text with the image on image cards. In the first image (for Website Design), the setting works great and it looks as it should. On the second image (for Email Marketing), the text is not centered. I have tried adding a new section, playing with the settings, writing custom css code (see below), and about a dozen other troubleshooting steps, and nothing is working. It's driving me mad, ha!

 

I found this coding in this forum and added it in the custom css, but it didn't work and the syntax says there is a missing { so I'm not sure if I'm typing it in wrong.

div#page-section-5f4c32b10acc3a6197a55e82 .span-12>.row {
    display: flex;
    align-items: center;
}
}}

 

If anyone knows what I'm missing, I would appreciate your help! Thank you!

Screen Shot 2020-11-06 at 7.20.35 PM.png

Let's try this

#block-yui_3_17_2_1_1604675298925_7088.sqs-block-image .intrinsic {
  	display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-justify-content: center;
    justify-content: center;
    min-height: 100%;
}

 

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, Keyword Highlighter
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

@thebusybelle I see some small problems which you can improve.

1. (Tablet) Banner text is a bit narrow (services page)

You can add this to Design > Custom CSS to increase width

/* services banner width */
@media screen and (max-width:991px) and (min-width:768px) {
[data-section-id="5f4c32b10acc3a6197a55e80"] .content {
    width: 90% !important;
}
}

tablet-banner.png.0fec0bc2e92c3a8559bb806f3aa7953e.png

Similar on blog posts https://thebusybelle.me/blog/7-tasks-realtors-can-take-off-their-plates-right-now

Solve with this code

/* blog post width */
@media screen and (max-width:991px) and (min-width:768px) {
.blog-item-wrapper .blog-item-inner-wrapper {
    width: 90% !important;
}
}

blog-post.png.4123183867057e17fcea806a6bc4a1b5.png

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.