Jump to content

Carousel Gallery is appearing off center

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 9
  • Views 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

Add to Home > Design > Custom CSS

div#block-yui_3_17_2_1_1594008945407_17850 .sqs-gallery .sqs-wrapper {
    left: 0 !important;
    width: 100% !important;
    text-align: center;
    display: flex;
    justify-content: center;
}

 

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
  • 1 year later...
  • 9 months later...

@tuanphanHi ...me again!

Same issue.  I just tried to put this code in my own carousel on a portfolio page:

https://www.valueresonance.space/projects/ghn

Looks like the first part of your code (bold below) is the part that will change for my page, but how?  This does not contain the Date section ID format that I understand. (section[data-section-id="6415c7ae4be8170d0f94946e"])  So how do I need to adapt this? 

 

div#block-yui_3_17_2_1_1594008945407_17850 .sqs-gallery .sqs-wrapper {
    left: 0 !important;
    width: 100% !important;
    text-align: center;
    display: flex;
    justify-content: center;
}

 

Here is a screen shot for mobile viewer (checked on an android and it IS displaying like this)

image.png.ac6be70301eb29c709867cd9cfe1999e.png

 

Screen shot for desktop:  Also off centre:image.thumb.png.633192eb944e63b9431d2f641f93efe1.png

 

Meanwhile on other pages, this is not a problem, so whatever solution I use needs to not move the others.

 

What do I need to change in your code?

 

Kind regards

 

 

 

Link to comment
On 3/20/2023 at 7:45 AM, ValueResonance said:

@tuanphanHi ...me again!

Same issue.  I just tried to put this code in my own carousel on a portfolio page:

https://www.valueresonance.space/projects/ghn

Looks like the first part of your code (bold below) is the part that will change for my page, but how?  This does not contain the Date section ID format that I understand. (section[data-section-id="6415c7ae4be8170d0f94946e"])  So how do I need to adapt this? 

 

div#block-yui_3_17_2_1_1594008945407_17850 .sqs-gallery .sqs-wrapper {
    left: 0 !important;
    width: 100% !important;
    text-align: center;
    display: flex;
    justify-content: center;
}

 

Here is a screen shot for mobile viewer (checked on an android and it IS displaying like this)

image.png.ac6be70301eb29c709867cd9cfe1999e.png

 

Screen shot for desktop:  Also off centre:image.thumb.png.633192eb944e63b9431d2f641f93efe1.png

 

Meanwhile on other pages, this is not a problem, so whatever solution I use needs to not move the others.

 

What do I need to change in your code?

 

Kind regards

 

 

 

You should download the image to your pc & check. It is not off centered.

image.png.ac6be70301eb29c709867cd9cfe1999e.png

Left black is a part of image

image.thumb.png.58ae5869fe8fb593f3011a0b0b5683c4.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

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.