
-
AuthorPosts
-
September 2, 2018 at 9:48 am #1004599
Hi,
I saw a couple of older posts with this problem, but could not find a solution.
Problem: In portfolio grid, most images are cropped correctly, but some are longer or shorter. Width seems to be correct in all items. Tried to remove item picture and put it in again, no change.Wordpress 4.9.8
Enfold 4.4.1September 2, 2018 at 11:00 am #1004602Hey videotonart,
Could you post a link to the page in question so that we can take a closer look please?
Best regards,
RikardSeptember 2, 2018 at 9:45 pm #1004716This reply has been marked as private.September 3, 2018 at 10:53 am #1004846Hi videotonart,
You can upload a screenshot to a service like Dropbox and give us the link here, but in many cases, we need to see the actual html and css to be able to offer a solution.
If you need further assistance please let us know.
Best regards,
VictoriaSeptember 3, 2018 at 2:59 pm #1004995Hi Victoria,
I understand. Then this will have to wait till the site goes live in a couple of days. I will send you a link shortly.
Best regards,
Carl.September 3, 2018 at 5:12 pm #1005061Hi Carl,
Sure, please let us know where and when we can check. Will keep this open for now.
Best regards,
VictoriaSeptember 5, 2018 at 11:15 pm #1006365Here’s the link (private content)
September 6, 2018 at 7:48 am #1006484Hi,
Thank you for the info. You have to make sure that the original image is larger than 495x400px. That is the minimum size of the “portfolio” thumbnail. Looks like you’re using images that are smaller than the default size, which makes the grid inconsistent. (see private field)
Best regards,
IsmaelSeptember 6, 2018 at 11:48 am #1006547ok, thanks, I’ll look into that.
Another thing I noticed is that in the Firefox browser, only 5 rows are displayed, versus 6 in other browsers, as set in preferences.
Best regards,
Carl.September 6, 2018 at 1:30 pm #1006587Hi videotonart,
It shows 6 and then jumps to showing 5.
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaSeptember 6, 2018 at 2:50 pm #1006626credentials in private
September 6, 2018 at 4:07 pm #1006687Hi Carl,
Best regards,
VictoriaSeptember 7, 2018 at 9:45 am #1006993Hi Victoria,
it seems like it has something to do with the extra spacing I want between the portfolio items.
This extra spacing however only works when I put it in a 1/1 element.I used this code in Quick CSS: (from another support inquiry on your site)
.grid-entry .inner-entry { margin-right: 20px; }
So there seem to be 3 issues:
1. CSS customization only seems to work when put in 1/1 container
2. in FF flips from 6 columns to 5
3. when in 1/1 container, there is 1px space left and right of the middle item, which is not nice.Can you please look at that again?
Thanks,
Carl.September 7, 2018 at 9:48 am #1006996Maybe the white stripes are because of the pictures not having the right resolution.
Let me first fix the images and let’s then look at the remaining problems.September 10, 2018 at 2:46 am #1007740Hi,
The grid is more consistent when the “portfolio_small” thumbnail size is selected. You have to upload a larger image if you want to select a larger thumbnail size.
Best regards,
IsmaelSeptember 11, 2018 at 9:19 pm #1008612Thanks Ismael, switching the thumbnail size solved most of the problems. Thanks also for great support in general.
A few issues remain for me:
1. layout/colums switching
This remains a problem. When I resize the width in Firefox to the smallest size, I get one column, thats fine. Then I increase the width. At some point the switch is made to a two-column layout. EXCEPT for the first item which occupies the whole width. This is not good. Increasing width further, we get three columns, fine. Increasing further, we get six columns, great! But then when I increase the width further, it jumps back to five columns. When I do the same thing in Safari, everything is good, EXCEPT the two-column-layout which also has the first picture occupying the first row completely. Same thing on iPhone sideways.The 5-6 column switching I can work around by setting the layout to 5 columns. It’s ok for me.
The bug in the two-column view I find not acceptable. Is there something you can do about that?2. spacing between items
The space between items is not consistent with the standard settings. Sometimes the pictures are exactly adjacent to each other, sometimes there is a narrow white space in between them.As a workaround, I made a 20 pixel margin between them as I posted earlier, and that fixes that.
3. size of the text field under thumbnails
The size is consistent as long as there is only one line everywhere. With different screen sizes however, it can be that some items have two lines of text, and others one. They appear with different sizes of the text field which breaks the evenness of the grid. Ideally all fields should be equal to the biggest field in a row. Is there anything that can be done about that?Thanks!
Carl.
PS.: for who wants to look at the website, the URL is videotonart.de under “portfolio”.
-
This reply was modified 6 years, 7 months ago by
videotonart.
September 13, 2018 at 2:32 am #1009139Hi,
1.) You can use this css code to prevent items with odd index from taking the full width of the container on certain screen sizes.
@media only screen and (max-width: 767px) and (min-width: 480px) { .responsive #top #wrap_all .grid-sort-container.grid-total-odd .grid-entry.grid-loop-1 { width: 50%; } }
2.) I think it’s because of the pixel density and due to the fact that the width is percentage based. Unfortunately, we can’t do much about it aside from defining actual spaces between the items.
3.) You can set a minimum height to the grid content container.
.grid-content { padding: 20px; position: relative; min-height: 68px; }
You may need to adjust the minimum height value on certain screen sizes.
Best regards,
IsmaelSeptember 17, 2018 at 9:51 am #1010635Ok, everything clear. Thanks!
Best regards,
Carl.September 17, 2018 at 1:21 pm #1010722Hi videotonart,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
This reply was modified 6 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.