Skip Navigation

[Resolved] Galleries in view are not centering on mobile

This thread is resolved. Here is a description of the problem and solution.

Problem:

The galleries on my website page when viewed on mobile will not center.

Solution:

It should be a custom CSS codes problem, see details here:

https://toolset.com/forums/topic/galleries-in-view-are-not-centering-on-mobile/#post-1283663

Relevant Documentation:

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by chrisC-25 5 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#1283565

Hi,

The galleries on this page when viewed on mobile will not center.

hidden link

Thanks

#1283663
padding-right.JPG

Hello,

It should be a custom CSS codes problem, I have tested the URL you mentioned above in my Chrome browser, disable the CSS codes from the CSS file:
hidden link

.ddl-full-width-row>[class*="col-"]:last-child{
    padding-right: 0;
}

It works fine, see screenshot padding-right.JPG

You can use CSS codes to override them, for example:
Dashboard-> Toolset-> Layouts CSS and JS Editor-> CSS Editor
Add below CSS codes:

.single-song .ddl-full-width-row>[class*="col-"]:last-child {
    padding-right: 15px;
}

Above CSS codes is using ".single-song" selector, so it will take effect only on single "song" post.

#1286613

My issue is resolved now. Thank you!