Jump to content

Add additional text to "Intro" Auto Layout Hero Carousel

Go to solution Solved by tuanphan,

Recommended Posts

Hey everyone,

I'm currently using the "Intro" Auto Layout Carousel as a hero section on my home page. I'm trying to figure out how to add two lines of additional text on the bottom right. My goal is to add the name and location of different hotels on each slide. I've attached a screenshot of what I'm trying to achieve below:

image.thumb.jpeg.7f04e98b1d3fc97efe5d5d73f9170f10.jpeg

 

If anyone can offer some guidance, I would greatly appreciate it!

Link to comment
  • Replies 17
  • Views 1.7k
  • Created
  • Last Reply

Top Posters In This Topic

On 3/18/2024 at 3:23 AM, liandro said:

Hi @tuanphan,

Thanks for the reply!

Here is the website link: https://www.coasthotelsdevelopment.com/

Password: !CoasthotelsDev123

Please let me know if you need any more info.

I tried testing some code, you can check a demo

https://tuanphan5-test.squarespace.com/list-slideshow?noredirect

pass: abc

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 3/20/2024 at 11:16 PM, liandro said:

That is perfect! Thank you.

Would this be able to be replicated on the other slides as well and have the information change per slide?

Best,

Liandro

Yes, but each slide will require a different code.

Right text, is last paragraph, I used code to move it to right

image.thumb.png.b763f9a6e0a1ccada5d3b854db9ed3c9.png

here is screenshot in backend

image.thumb.png.c59c56516707729a9afc6aee511c5afa.png

so you can add text to slide, then let me know which text you want to float to right, I will give the code & rule to find code in the future

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

I see. The way that you have set it up currently is correct to me! Thanks!

For my website, the text that reads "hotel franchising simplified", "our flexible approach is your strategic advantage" and "Together, let's make your hotel a success", should always be bottom left. The hotel name and location should always be bottom right.

 

Link to comment
On 3/25/2024 at 11:25 PM, liandro said:

I see. The way that you have set it up currently is correct to me! Thanks!

For my website, the text that reads "hotel franchising simplified", "our flexible approach is your strategic advantage" and "Together, let's make your hotel a success", should always be bottom left. The hotel name and location should always be bottom right.

 

I see you haven't added Hotel Name and Location yet

image.thumb.png.a54d46d36dcaa66e050b08e57397cce2.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!)

Link to comment
On 3/28/2024 at 12:23 AM, liandro said:

Hi @tuanphan,

Apologies, I had misunderstood your previous message. I have now added the hotel names and locations to the slides.

Note: The site is currently in review by my colleagues so I have created a duplicate of the Home page to test these changes: 
https://www.coasthotelsdevelopment.com/homepage-test
Password: !CoasthotelsDev123

Please let me know if I can provide any additional information.

Best!

It looks like you used Shift + Enter to add line break.

Can you use Enter instead? Because use Enter, each text will be in a <p> tag so I can target it.

But if you use Shift Enter, all text still be in a same <p> tag with <br/> and I can't target Hotel Name/Location

 

 

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
  • Solution
On 4/1/2024 at 11:40 PM, liandro said:

I see! I've just updated everything using a regular "Enter". Please let me know if this works for you now.

You can use this code to Website > Website Tools > Custom CSS

@media screen and (min-width:992px) {
.user-items-list-item-container[data-section-id="6604528bafc28253fb80433b"] li p:nth-child(n+2) {
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.user-items-list-item-container[data-section-id="6604528bafc28253fb80433b"] .slide-content.list-item-card-background {
    width: 100% !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

Thank you for sending the code. I've just tested it out and it looks almost perfect! 

I was wondering if you'd be able to help me with an issue i'm seeing with the text overlapping:

image.thumb.png.b976751af8c7f90a7c484ebe6cba7c3e.png

It looks like the issue is only on the slides that use "our flexible approach is your strategic advantage". Is it possible to force a line break after the "is" like this:
 

image.thumb.png.6ff995eb972a0cfbe51ba43e6fa64935.png

Thank you again for your help!

Link to comment
On 4/5/2024 at 2:37 PM, liandro said:

Thank you for sending the code. I've just tested it out and it looks almost perfect! 

I was wondering if you'd be able to help me with an issue i'm seeing with the text overlapping:

image.thumb.png.b976751af8c7f90a7c484ebe6cba7c3e.png

It looks like the issue is only on the slides that use "our flexible approach is your strategic advantage". Is it possible to force a line break after the "is" like this:
 

image.thumb.png.6ff995eb972a0cfbe51ba43e6fa64935.png

Thank you again for your help!

To force line break, we can use <br> tag, but will require a Business Plan or higher

If you use Personal Plan, let me know, we can limit width of text, so it will break, or reduce text size

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

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.