Jump to content

Carousel Auto-Layout Customizing Text Container in Mobile

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://plum-trout-c8tl.squarespace.com/

Heyo,

I am using Auto-Layout to display some work. But the Text is blocking the image on Mobile.


I am trying to move the text container to the bottom of the picture. Currently the text is in the middle and blocking the view.  I have already "removed" the arrows on the bottom by making them transparent. Now I want the text to be where the arrows have been.

Site URL: https://plum-trout-c8tl.squarespace.com/

Currently:

image.thumb.png.421949bf876dc89809460125cec3fe69.png

 

How I would like to have it (example):

image.png.dcc29dd35289f3591ec111635e77064f.png

Would be very happy for any kind of help!

Thanks in advance!

Edited by crstph
typo
Link to comment
  • Replies 6
  • Views 437
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 8/18/2022 at 1:31 PM, crstph said:

Hey @tuanphan

password is: j6&1!eA

Try adding to Design > Custom CSS

@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="62f7dd0ee17e362660c2ed76"] .slide-content {
    margin-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
On 8/21/2022 at 2:58 AM, tuanphan said:

Try adding to Design > Custom CSS

@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="62f7dd0ee17e362660c2ed76"] .slide-content {
    margin-bottom: 0 !important;
}
}

 

Works, thanks!

 

Now I need an overlay over the image and behind the text in the Auto-Layout for every slide. It should be a gradient. Like down below:

 

Currently:

image.png.2d5cefba6c09035982ce850e8a20362d.png

 

How I need it to be:

image.png.acf693563ca858e08afbdae3eda8bf2c.png

do you have a solution for this?

Would be very happy if you could help me again! 

 

Link to comment
On 8/22/2022 at 2:49 PM, crstph said:

Works, thanks!

 

Now I need an overlay over the image and behind the text in the Auto-Layout for every slide. It should be a gradient. Like down below:

 

Currently:

image.png.2d5cefba6c09035982ce850e8a20362d.png

 

How I need it to be:

image.png.acf693563ca858e08afbdae3eda8bf2c.png

do you have a solution for this?

Would be very happy if you could help me again! 

 

For mobile or all devices? If all, use this code

.slide-media-container:after {
    content: "";
    background-image: linear-gradient(to bottom right, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

If mobile, use this

@media screen and (max-width:767px) {
.slide-media-container:after {
    content: "";
    background-image: linear-gradient(to bottom right, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
}

If you need to adjust gradient color, position...you can see some example here

https://www.w3schools.com/css/css3_gradients.asp

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
  • 2 weeks later...

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.