-
AuthorPosts
-
October 17, 2016 at 11:45 pm #700314
Hi there,
Big fan of the Enfold theme, but struggling with using masonry layout for portfolio items and was hoping you could help with the 2 questions below:
1. I’ve hidden both Title and Excerpt from appearing beneath the portfolio entries on http://www.rorygibsonarchitects.co.uk/portfolio/ (login to access in private content) however, the theme appears to be leaving a ‘gap’ for the caption still. How can I remove the gap beneath the portfolio items so that they all have an equal distances padding around them?
2. If I want to achieve a perfect masonry layout, without any image cropping like the one at the link below (again, see private content for login), what are the minimum image dimensions I should look to use? I’d like to keep image sizes low (and will be saving for web via Photoshop). I understand I need to tag portfolio items as portrait/landscape.
http://www.rorygibsonarchitects.co.uk/wp-content/uploads/2016/10/portfolio-layout.jpgThanks,
Sam
October 19, 2016 at 10:41 am #701106Hey sjwmobile,
1.) Try this code inside Quick CSS field:
figure.av-inner-masonry.main_color { height: 118%; }
and adjust as needed.
2.) 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,
AndyOctober 19, 2016 at 1:50 pm #701288Thanks Andy.
1. That appears to have helped, but there’s still a gap beneath the portrait image – it doesn’t quite align with the imagery to the right of it. Any way to isolate portrait images and remove that gap?
2. Thanks, installed the plugin. It asks for specific maximum sizes. Do these need to be specified (if yes, can you advise what the dimensions should be please) or is it simply a case of specifying Cropping – No to all the different image options?
Appreciate your help and look forward to using Enfold on future projects too.
Sam
October 21, 2016 at 12:43 pm #702336Hi,
1.) This is quite confusing to me. Please always provide us screenshots to make things clear to us. Are you talking about this? http://i.imgur.com/JuDGtnl.png
Cause this image is supposed to be a landscape image, but somehow you made a portrait one of it. I don’t think it would be possible what you want to achieve, as you can’t provide each single image a specific css class. I think it would be best to use landscape images only in your case.2.) Would be best to ask general WordPress questions in the general WordPress forum or to ask questions about a plugin to the plugin’s author. You need to specify the image sizes with this plugin.
Best regards,
AndyOctober 21, 2016 at 12:59 pm #702346Hi Andy,
1) Yes, that’s what I’m talking about. I edited the portfolio items to use an image that is more of a portrait image… but it’s still got the gap at the base of it. I absolutely need to use portrait images within the portfolio and want it to look like the example http://kriesi.at/themes/enfold-photography/portfolio/ (minus the animations and captions)… Please advise why the gap might still be there? Do I need to use images of a different dimension?
2.) Wouldn’t really call this a general WP question. I just need to know what image dimensions I should use for the Masonry gallery (both landscape and portrait) so as to make them align perfectly? Surely that must be something that you guys spec’ed out? (I can’t find them anywhere though)
Thanks,
Sam
October 21, 2016 at 2:00 pm #702384Hi,
1.) Yes, you might need to use different image dimensions. Also provide us admin access, so we can have a deeper look into this issue. Provide us a precise link to the elements in question.
2.) We don’t know which image sizes you need. The one we recommend are the ones already set as default. If you want to change it, then you need to find out what fits best to you by yourself. I hope this plugins help you.
Best regards,
AndyOctober 21, 2016 at 2:04 pm #702393Thanks Andy.
1) I’ll private you admin login details and appreciate you helping with this.
2) Can you share what the default values are? I’m struggling to work these out.
Cheers,
Sam
October 21, 2016 at 2:40 pm #702420Hi,
1.) At first please update to the newest WordPress version.
When editing your Masonry element look for “Size settings” and try to choose different options. I think “Flexible Masonry” might be right for you.2.) You’ll find all default Enfold image sizes here: https://kriesi.at/support/topic/enfold-image-sizes/#post-336176
Best regards,
AndyOctober 21, 2016 at 3:04 pm #702442Thanks Andy.
1. Have updated to 4.6.1. Tried changing to flexible masonry. However, this means random gaps and heights. I really want it to be a neatly aligned grid of images with equal sizing so I’ll need to use the ‘Perfect Manual Masonry’ and ‘landscape/portrait’ approach.
I was having a play about and the image size doesn’t seem to affect the gap at the base of the portrait images. If you take another look at the portfolio page, the top left portrait image is 501 x 900 pixels (w x h) and the bottom right portrait image is 501 x 890. Both have the gap beneath.
I also adjusted the height of the standard (not portrait, not landscape) images aligned next to the portrait images (just in case they were too deep) but that didn’t help either.
I’m sure it must be possible to sort the alignment of these out (it’s only a matter of 10 pixels) but can’t determine how to do it… please help! Surely someone must have turned off captions and tried to achieve a similar layout like this before? (I’ve searched the forum but can’t find any examples).
For reference, the custom CSS I’m using is below… all provided by yourselves.
.avia_desktop.avia_transform3d .av-masonry-entry.av-masonry-item-loaded .av-inner-masonry {
-webkit-animation: none;
-moz-animation: none;
animation: none;
}
#header_main {
border-bottom: 0 none;
}h1 {font-weight: 200;}
h2 {font-weight: 200;}
h3 {font-weight: 200;}
h2.avia-caption-title {color: #FFFFFF;}#top .av-masonry-image-container {
-webkit-transform: scale(1);
transform: scale(1);
}.av-masonry-image-container {
background-size: 100% 80%;
background-position: 0px 0px;
background-repeat: no-repeat;
}.single-portfolio .av-masonry-image-container {
background-size: 95% 95%;
}.av-large-gap.av-masonry {
padding: 10px 0px 0px 10px;
}figure.av-inner-masonry.main_color {
height: 120%;
}2. Thanks for providing these.
3 (new question)… The styling of individual portfolio entries is also messed up. I was hoping to have a similar look to the main portfolio page above, but, for example, on http://www.rorygibsonarchitects.co.uk/portfolio-item/synton/
– Images have no spacing beneath them, crushed up against each other.
– Spacing between the 3 columns is too large (aiming for 10px or so to reflect main portfolio page)
– A landscape image (at the bottom right) doesn’t span exactly 2 columns – it’s quite a few pixels less.Concerned that the custom CSS I’m using may be conflicting and causing display issues. Can you assist please?
Thanks again,
Sam
- This reply was modified 8 years, 1 month ago by sjwmobile. Reason: Adding further detail to query
October 25, 2016 at 6:07 am #703559Hi,
Increase the background height of the portrait images. Please use this css code and adjust as necessary.
.tag-portrait .av-masonry-image-container { background-size: 100% 81.55%; }
Best regards,
IsmaelOctober 25, 2016 at 9:58 am #703688Hi Ismael,
Thanks for getting back to me. Unfortunately that didn’t work but if it is possible to style the portrait option of masonry images only then that should certainly work.
Any idea what the correct custom CSS for that should be please?
Also, can you assist with the 3rd question in my message above (the styling of individual portfolio items) thanks.
Cheers,
Sam
October 27, 2016 at 9:35 am #704748Hi,
Did you remove the browser cache or hard refresh the page after adding the css code? And did you try to change the value from “81.55%” to something else? Please post the login details here so that we can test the css modification.
UPDATE: I found the login credentials after reviewing the thread. And I was actually looking at the portfolio overview page instead of the single portfolio page. We are currently working on the site. Please wait for our response.
Best regards,
IsmaelOctober 27, 2016 at 9:43 am #704756Hi,
The masonry gallery is not working properly because of the following css code.
.single-portfolio .av-masonry-image-container { background-size: 95% 95%; }
What is that css code for?
Best regards,
IsmaelOctober 27, 2016 at 1:50 pm #704821Thanks Ismael.
Re: the main portfolio page. Yes tried to clear cache and different browsers too, just in case. Also tried adjusting the value (presently set at 85%) but it didn’t seem to affect the portfolio items tagged with ‘portrait’ unfortunately. The login details are in private content.
I’d really appreciate your help with this one as it’s the only thing left for me to finalise before I can complete the website.
Re: the individual portfolio pages, I removed that CSS and it’s working again now – it’s no longer required. However, can you advise how you remove the rollover effect on individual portfolio pages too please? I would prefer that the image loads at full opacity to start with and there are no rollover effects.
Thanks again for your help.
Sam
October 31, 2016 at 2:56 pm #706187Hi,
I checked page in private content, but there is no rollover effect. So could you remove it already? if not please provide us a precise link where we can see the issue.
Best regards,
AndyOctober 31, 2016 at 7:27 pm #706423Hi Andy,
There is for me? On http://www.rorygibsonarchitects.co.uk/portfolio-item/tanderlane/ the images load with a slight ‘haze’ effect and when you rollover they show the actual colours of the image.
For clarity, the two issues I still have are:
– The hazing effect mentioned above.
– The height of images tagged with ‘portrait’ are still falling short of aligning with others on both the main portfolio page and individual portfolio item pages.Can you assist please?
Thanks,
Sam
November 1, 2016 at 1:34 pm #706695Hi,
try this code inside Quick CSS field:
.avia_desktop .av-hover-overlay-active .av-masonry-image-container { opacity: 1 !important; }
Unfortunately I don’t think it would be possible to target portrait images only. We would be glad to help you with this customization, but at the moment there is no easy way to do this by using a small custom code snippet, so I am afraid its out of the scope of our support.
But please feel free to request such feature at our feature request system: https://kriesi.at/support/enfold-feature-requests/
This system allows us to keep track of user suggestions and lets you vote on the feature you would like to see the most. I am afraid though there is no guarantee that a feature will get implemented. If that’s something you really need you can always try to hire a developer for the task :)
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.