Portfolio featured image appearing in place of gallery

Hi,
I am using the Gallery function to display a gallery rather than the featured image in various portfolio pages. Sometimes it works, then it doesn’t and the featured image comes back on top of the gallery or in place of it.
It is not consistent . It also changes backwards and forwards between displaying the gallery or just showing the featured image on refresh.

This is an example of one of the pages that alternates between gallery and featured image http://markgibbs.co.uk/dir/portfolio-item/elemental-1/

Please can you help me ensure it simply displays the gallery.
Thanks

Hi @sarahlouisewaterhouse,

Thank you for reaching out to us. I believe it’s only the setup issue. To setup galleries on Portfolio Items, make sure Gallery is selected under Media Type and then under Featured Content select Media (see screenshot)

To learn more about setting up galleries in X/Pro please follow https://theme.co/docs/create-galleries#how-to-setup-post-and-portfolio-slider-galleries-in-x-or-pro

Let us know how this goes!

Hi,
I am experiencing a random problem, that is not solved by doing what you suggest, as my portfolios are already set up specifying gallery. Most are working. About 3 are glitching on all browsers.
Please can you go to this page
http://markgibbs.co.uk/dir/portfolio-item/harbinger/.
Here you will find that the featured image appears instead of the gallery. If you refresh sometimes the gallery shows, then if you refresh again the featured image appears. This is across all browsers.
Also I want my featured image to appear on the index page, not the gallery, so I presume this means I should not be using the featured content/Media?
Thanks

Hello @sarahlouisewaterhouse,

I have checked this page: http://markgibbs.co.uk/dir/portfolio-item/harbinger/

This portfolio item page only has one image. Even if the gallery is already set, only one image is attached to this portfolio item which is why it only displays one slide gallery. In order for the portfolio gallery to work, you must upload and attached the gallery images when you have created the post.

As long as you have uploaded and attached the image in the post that you are creating, you do not need to insert the images in the portfolio description area. Please be advised that only images uploaded within the portfolio items will be added in the portfolio gallery. If you have uploaded an image somewhere and just attached it in your portfolio item, then it will not show up in the gallery. You can check it when you click the “Add Media” button.

To resolve your issue, you must edit the portfolio item, click the “Add Media” button and then upload the images that you would like to appear in the portfolio item gallery. You do not need to insert it into the contents. Once you have successfully uploaded the images, just close the “Add Media” popup.

Hope this makes sense.

1 Like

There are over 120 portfolio items on the site, the vast majority of which are working fine. They have galleries in around half of them. Again, the vast majority of which are working fine.

The page in question has a gallery in it, made with Essential Grid.

It has two images in it. The gallery button is on (I can send you a video of the whole thing if you want to see it). Everything is set up as it should be.

However when you visit the page, SOMETIMES it has the featured image on the top and underneath it sits the gallery, SOMETIMES it just shows the featured image, SOMETIMES it shows the featured image on top and the gallery underneath. SOMETIMES it changes when you refresh, SOMETIMES it doesn’t.

You got the Featured Image Lucky Dip. I did mention in my first post that if you refreshed you got a variety SOMETIMES. Did you try that?

Please look at my page. You have my login. Everything you say I should be doing, has already been done. Most of my 120 portfolio items are working.
This is a glitch on this page and a few others.

Hi @sarahlouisewaterhouse,

I have visited and investigate the page http://markgibbs.co.uk/dir/portfolio-item/harbinger/. Where a single image is attached to this Portfolio item and The Grid shortcode used in this item has only 2 posts and both are showing under the Gallery. I got the same output even after refreshing the page multiple times. If that is not the case and you are trying to point out something else, please provide any screenshot marked with the issue or any video that helps us to recognize the problem.

Thanks

Hi,
I don’t want the featured item to show on the page. I just want the gallery. That is the entire point of this post.
It doesn’t show the featured image on the other portfolio items. Except on about 3 other pages. This is why I am describing it as a glitch. Please tell me how to remove the featured image when it is there when it should not be. Thanks

Hi @sarahlouisewaterhouse,

To show the gallery you need to attach multiple images to the specific posts from Media by clicking into the Attach link marked in the screenshot.

Hope it helps.
Thanks

Hello @sarahlouisewaterhouse,

You will need to edit the portfolio item and manually deleted the featured image. Take the link in the secure note below as an example.

Now, if you want to completely remove the featured image of all of your portfolio items, then perhaps, you can check out this older thread where you added a custom CSS for the featured image:

In that thread, there is this custom CSS:

.single-x-portfolio .entry-featured {
    max-width: 400px;
    float: left;
    margin-right: 50px;
}

So instead of styling the featured image, you can add this CSS code into X > Theme Options > CSS to hide the featured image of all your portfolio items.

.single-x-portfolio .entry-featured {
    display: none;
}

Note: If you are unfamiliar with code and resolving potential conflicts, you may select our One or Care service for further assistance. We are unable to provide support for customizations under our Support Policy.

Please note that the code provided above serves as a guide only and is to help you in getting started so implementing it and maintaining the code will be out of our support scope and for further maintenance for new possible versions of the theme that may cause the customization to break.

Best Regards.

1 Like

Thank you so much! :slight_smile:

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.