Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Gallery images display on iPad (http://forum.bytesforall.com/showthread.php?t=23315)

kingjonesy Oct 29, 2015 02:43 AM

[SOLVED] Gallery images display on iPad
 
Hi all,

I have a wordpress site (http://www.derbypartypics.com) which has a gallery on the homepage. This displays correctly in Safari on a Mac but the images appear in a single column and cuts through some of the larger images on an iPad.

I've tried changing the gallery style but no luck, any suggestions?

many thanks

Rich

juggledad Oct 29, 2015 10:30 AM

This also happens when you make your window narrower on a PC.

Have you looked at it using the FireBug extension in FireFox to see what CSS has been applied. You can make changes on the fly to see the result. Then you can add the css to the site .

CrouchingBruin Nov 3, 2015 10:19 PM

In your custom CSS, you have this rule:
Code:

.tiled-gallery {
    margin: 0 200px;
}

It looks like you're trying to make sure the gallery stays centered? The 200px margins are too much at narrow screen widths. Try changing it to this:
Code:

.tiled-gallery {
    margin: 0 auto;
    display: table;
}


kingjonesy Nov 4, 2015 09:49 AM

Brilliant!! Thanks both for your replies! Very much appreciated.

This sorted it, thanks again!


All times are GMT -6. The time now is 08:06 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.