-
AuthorPosts
-
June 24, 2016 at 3:23 pm #653042
Hi, I’d like to start my next project using the gym demo as a starting template. First thing I did was to get the size of the images in the masongallery in the About page to swap them with my images and I noticed something strange. All of them are 1500x720px and those are the dimensions of my pictures as well. Fact is that after swaping them the gallery is not fullscreen anymore, it’s much shorter. So just to troubleshoot what I might have done wrong, I reloaded the demo. This time I substituted the first image of the gallery with the same one from Media…..and dadaaaaaa….the gallery got shrunk again. Why is it doing that? I have no clue. Thanks.
June 28, 2016 at 4:46 pm #654282Hey Alberto,
can you provide us a precise link showing the issue please? on the link you’ve provided everything looks pretty good to me.
Wordpress is cropping images by default when uploading them and if you want to control this behavior you can use a plugin like this: https://wordpress.org/plugins/simple-image-sizes
I hope this will help :).Best regards,
AndyJune 28, 2016 at 9:11 pm #654477Actually, as you can see in these 2 snapshots, the grid of your demo out of the box fills the whole screen while if I reload an image even one of the demo images the grid is not full screen anymore. 1. how it should be and 2. how it is
- This reply was modified 8 years, 4 months ago by alby54.
June 29, 2016 at 12:03 pm #654759Hi,
remove all your custom code and all customizations to check which one is causing this issue.
If that doesn’t help then there might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account. Here is a short tutorial on how to install the theme via FTP, in case you are not sure how that works:
Best regards,
AndyJune 29, 2016 at 2:22 pm #654844OK, I erased everything, started a brand new installation of wordpress, activated Enfold and loaded the Gym demo directly without a child theme. I then re-imported one of the pictures of the ‘About’ Masongallery and again the gallery is not stretched full screen. It’s definitely a demo problem since demos are meant to provide a starting layout to be filled with own text, images and style and not break after replacing an image (the same image). I guess I will try using the plugin you suggested or just play with classes and work on the Masonry layout till I’ll get it the way it’s supposed to be, but please be aware that it shouldn’t be like that, at least, not in a demo that represents Enfold’s qualities.
July 3, 2016 at 3:54 am #656185Hi,
Did you check the Columns settings? It is set to have 6 columns and there are only 5 images in the masonry element, that’s why there’s a blank space at the end.
Best regards,
IsmaelJuly 3, 2016 at 12:20 pm #656246Sorry Ismael but it is ininfluent plus that’s the exact way your demo is. The demo, btw, is not set in columns, it has 6 images to be displayed per page and the columns field is set as ‘Automatic, based on screen width’, with pagination ‘No option to view additional images’. What I think could be the problem is that the first time I load the demo it’s the demo itself that gets priority over the way WordPress loads images, but as soon as I add or substitute one of the images then it’s WP that handles the images as Andy pointed out, cropping them by default and breaking the masonry initial layout. Guess I will give it a shot with a plugin or worse come to worse I’ll discard the demo and build a child layout myself from default Enfold as I normally do.
July 7, 2016 at 6:36 am #657836Hi,
I’m really not sure what you mean by that. Anyway, have you tried to select the columns instead of setting it to automatic?
Best regards,
IsmaelJuly 7, 2016 at 7:39 am #657849Yes, it’s one of the first thing I tried and it seemed logical but didn’t work; the layout still didn’t stretch to full size.
July 9, 2016 at 3:52 am #658686Hi,
We checked the element’s Column options and we found out that they are missing. You can only select the first option, “automatic”, or “colonne”. The strings or texts are probably not translated correctly. Could you please check the it_IT.po file inside the enfold > lang folder? Let us know if you can find these translations:
# @ avia_framework #: config-templatebuilder/avia-shortcodes/contentslider.php:117 #: config-templatebuilder/avia-shortcodes/logoslider.php:115 #: config-templatebuilder/avia-shortcodes/masonry_entries.php:80 #: config-templatebuilder/avia-shortcodes/masonry_gallery.php:65 #: config-templatebuilder/avia-shortcodes/portfolio.php:61 #: config-templatebuilder/avia-shortcodes/postslider.php:52 #: config-templatebuilder/avia-shortcodes/product_grid.php:56 #: config-templatebuilder/avia-shortcodes/product_list.php:56 #: config-templatebuilder/avia-shortcodes/productslider.php:58 msgid "Columns" msgstr "Colonne" # @ avia_framework #: config-templatebuilder/avia-shortcodes/contentslider.php:118 msgid "How many Slide columns should be displayed?" msgstr "Quante colonne di scorrimento dovrebbe essere visualizzate?" # @ avia_framework #: config-templatebuilder/avia-shortcodes/contentslider.php:122 #: config-templatebuilder/avia-shortcodes/logoslider.php:120 #: config-templatebuilder/avia-shortcodes/postslider.php:57 msgid "1 Columns" msgstr "1 Colonna" # @ avia_framework #: config-templatebuilder/avia-shortcodes/contentslider.php:123 #: config-templatebuilder/avia-shortcodes/logoslider.php:121 #: config-templatebuilder/avia-shortcodes/masonry_entries.php:87 #: config-templatebuilder/avia-shortcodes/masonry_gallery.php:72 #: config-templatebuilder/avia-shortcodes/portfolio.php:67 #: config-templatebuilder/avia-shortcodes/postslider.php:58 #: config-templatebuilder/avia-shortcodes/product_grid.php:61 #: config-templatebuilder/avia-shortcodes/product_list.php:62 #: config-templatebuilder/avia-shortcodes/productslider.php:63 msgid "2 Columns" msgstr "2 Colonne" # @ avia_framework #: config-templatebuilder/avia-shortcodes/contentslider.php:124 #: config-templatebuilder/avia-shortcodes/logoslider.php:122 #: config-templatebuilder/avia-shortcodes/masonry_entries.php:88 #: config-templatebuilder/avia-shortcodes/masonry_gallery.php:73 #: config-templatebuilder/avia-shortcodes/portfolio.php:68 #: config-templatebuilder/avia-shortcodes/postslider.php:59 #: config-templatebuilder/avia-shortcodes/product_grid.php:62 #: config-templatebuilder/avia-shortcodes/product_list.php:63 #: config-templatebuilder/avia-shortcodes/productslider.php:64 msgid "3 Columns" msgstr "3 Colonne" # @ avia_framework #: config-templatebuilder/avia-shortcodes/contentslider.php:125 #: config-templatebuilder/avia-shortcodes/logoslider.php:123 #: config-templatebuilder/avia-shortcodes/masonry_entries.php:89 #: config-templatebuilder/avia-shortcodes/masonry_gallery.php:74 #: config-templatebuilder/avia-shortcodes/portfolio.php:69 #: config-templatebuilder/avia-shortcodes/postslider.php:60 #: config-templatebuilder/avia-shortcodes/product_grid.php:63 #: config-templatebuilder/avia-shortcodes/product_list.php:64 #: config-templatebuilder/avia-shortcodes/productslider.php:65 msgid "4 Columns" msgstr "4 Colonne" # @ avia_framework #: config-templatebuilder/avia-shortcodes/contentslider.php:126 #: config-templatebuilder/avia-shortcodes/logoslider.php:124 #: config-templatebuilder/avia-shortcodes/masonry_entries.php:90 #: config-templatebuilder/avia-shortcodes/masonry_gallery.php:75 #: config-templatebuilder/avia-shortcodes/portfolio.php:70 #: config-templatebuilder/avia-shortcodes/postslider.php:61 #: config-templatebuilder/avia-shortcodes/product_grid.php:64 #: config-templatebuilder/avia-shortcodes/productslider.php:66 msgid "5 Columns" msgstr "5 Colonne" # @ avia_framework #: config-templatebuilder/avia-shortcodes/contentslider.php:127 #: config-templatebuilder/avia-shortcodes/logoslider.php:125 #: config-templatebuilder/avia-shortcodes/masonry_entries.php:91 #: config-templatebuilder/avia-shortcodes/masonry_gallery.php:76 #: config-templatebuilder/avia-shortcodes/portfolio.php:71 msgid "6 Columns" msgstr "6 Colonne"
o
Best regards,
IsmaelJuly 10, 2016 at 12:02 pm #658931OK Ismael, I’ve finally sorted it out. I checked my it_IT.po file and all the strings you referred to where translated correctly, however I could not see the list 1 column, 2 columns, 3 columns ….and so on in the masonry settings. They where actually there only in English but not in Italian. I then generated a new mo file and uploaded it on the server and everything was OK. Evidently, something went wrong while uploading Enfold via FTP and those lines where missing causing the problem. Thanks a lot for your help.
July 11, 2016 at 11:23 am #659156 -
AuthorPosts
- You must be logged in to reply to this topic.