Community Forums › Forums › Archived Forums › Design Tips and Tricks › Executive Pro WordPress Native Gallery
Tagged: executive pro, gallery display, WordPress Gallery
- This topic has 11 replies, 2 voices, and was last updated 11 years, 4 months ago by
Brad Dalton.
-
AuthorPosts
-
September 29, 2014 at 10:12 pm #126217
linzinz
ParticipantI recently added a native WordPress gallery to a site built with Executive Pro and Genesis. It was working fine. However now the images are stacked on top of each other vertically when viewing the page. In the editor it shows up correct.
I have just deleted the galleries and tried uploading images again but same thing happens. Any ideas why this could have just suddenly happened? Due to an update?
Any help very much appreciated!
September 29, 2014 at 10:48 pm #126219Brad Dalton
ParticipantSeptember 30, 2014 at 4:00 pm #126354linzinz
ParticipantHi Brad,
I removed the gallery but have just added another test one http://adtech.co.nz/wordpress/products/
It should be 6 images across and was working until recently.September 30, 2014 at 6:02 pm #126368Brad Dalton
ParticipantNormally there's a setting for the gallery columns which you can change to 6 but you need to account for the size of the images and padding as well as the page width and padding/margins.
September 30, 2014 at 6:08 pm #126370linzinz
ParticipantIt happens even if I just add 2 images to a gallery though, they stack on top of each other... I recently updated to the latest Executive Pro so not sure if that has something to do with it?
September 30, 2014 at 7:34 pm #126374Brad Dalton
ParticipantSeptember 30, 2014 at 7:35 pm #126375Brad Dalton
ParticipantSeptember 30, 2014 at 7:36 pm #126376Brad Dalton
ParticipantTry de-activating all plugins and then activating them one by one.
Otherwise it may be a custom code snippet
September 30, 2014 at 7:54 pm #126378linzinz
ParticipantDid the de-activating plugins - no change.
September 30, 2014 at 8:11 pm #126380Brad Dalton
ParticipantHow about something like this http://wpsites.net/resources/
You can change the columns to any number and it uses a custom post type
You also get a archive page
September 30, 2014 at 11:17 pm #126391linzinz
ParticipantWell I did a bit of research and found this https://gist.github.com/cramdesign/10943010 which fixed it. It is something to do with the latest version of WordPress using new gallery markup to support html5.
October 1, 2014 at 1:01 am #126397Brad Dalton
ParticipantThanks for sharing.
You could also remove HTML 5 support for 'gallery', from this line in functions.php
//* Add HTML5 markup structure add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'caption' ) );
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
