Jump to content

Summary Block Title Placement CSS

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Site URL: https://synthesizer-crocodile-ga2p.squarespace.com/

Hello!

Looking to customize the Summary Title for mobile for the first summary block on the homepage. I have it perfect on desktop, but on mobile I just can't seem to move it up the same way. Basically, I want the title to be in the center on top of the image on both mobile and desktop. 

Website: https://synthesizer-crocodile-ga2p.squarespace.com/
Password: femke

Thanks!!
Anele

Posted (edited)

Hello! Could someone please help me out with this? Maybe?

Edited by Jack_SQSP
Mentioning users who are not participating
  • Solution
Posted

You can use this code to Website Tools > Custom CSS

@media screen and (max-width:767px) {
div#block-ae77a5268dce1a064460 {
.summary-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    text-align: center;
}
.summary-item {
    position: relative;
}

.summary-title {
    text-align: center !important;
}}
}

image.png.fc8067c67668259f001d82becb4ff651.png

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
On 10/11/2024 at 11:08 AM, tuanphan said:

You can use this code to Website Tools > Custom CSS

@media screen and (max-width:767px) {
div#block-ae77a5268dce1a064460 {
.summary-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    text-align: center;
}
.summary-item {
    position: relative;
}

.summary-title {
    text-align: center !important;
}}
}

image.png.fc8067c67668259f001d82becb4ff651.png

Once again, you are a LEGEND! 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.