Skip Navigation

[Resolved] Featured image link bug?

This support ticket is created 5 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 0.23 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 16 replies, has 3 voices.

Last updated by pierre-yvesC 5 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#1213896

Hi,

I'm wonder if there is a bug with Featured image :

[wpv-post-featured-image] works

[wpv-post-featured-image size="full"] doesn't work

I put a demo there: hidden link

Any idea?

Thx

#1213947

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Pierre,

Thank you for contacting our support forum.

Looking at this page, i'm able to see both images. I'm assuming that the featured image with size full should not be displaying correct?

Please let me know.
Thanks,
Shane

#1213949

Hi Shane,

Sorry my explanation wasn't complete.

Both pictures are showing, but both are supposed to be clickable.

The one with size full is not clickable.

Regards,
Pierre

#1214209

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Pierre,

I'm assuming you're referring to the one with the larger size correct?

In my case clicking the larger of the two images on the page bring up the popup.

The smaller one does not work.

Is there some custom code being used for this ?

Thanks,
Shane

#1214217

Hi Shane,

The popup comes from a WP bakery shortcode. Both pictures use the exact same code. The only difference is the size specification, wich seems to make the popup link unavailable.

Featured image link WITHOUT size specification WORKS:
[wpv-post-featured-image]

Featured image link WITH size specification DOESN'T:
[wpv-post-featured-image size="full"] doesn't work

Weird, huh?

Thx again,

Pierre

#1214234

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Pierre,

Would you mind allowing me to have admin access for the site ?

It's strange and I would like to take a further look on this for you as it should work.

Thanks,
Shane

#1214424

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Pierre,

In my case only small image isn't generating the popup.

However I suspect that its because of the meta that is present in this here [wpv-post-featured-image]

You should be able to workaround this by doing this.


This one has <em>wpv-post-featured-image size="custom" width="800" height="800"</em> code:<br>
    <a href="#modaltructruc"><img src="[wpv-post-featured-image output='url' size='custom' width='800' height='800']" /></a>

Please let me know if this helps.
Thanks,
Shane

#1214726

Hi Shane,

Thank you for your reply.

It wasn't working either, so I investigated more and more and finally found the clue: the hidden modal box is covering the featured image picture, so it's not available. I simply reduced the width of the modal and now it works.

That wasn't a Toolset issue, shame on me.

I have another problem with that, tell me if I need to open a new ticket: the link is working only with the 1st slide, not with the subsequent ones.
hidden link

Thx again!

#1214735

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Pierre,

I took a look at this for you second issue but i'm not seeing the modal being opened when I click any of the images.

I see that the correct information is being loaded in terms of the correct ID is being added to the image links.

Could you provide a bit more information on this one.

Thanks,
Shane

#1214743
Capture d’écran, le 2019-03-15 à 11.37.32.png

The modal opens only on the 1st slide (granit super white), not on the following ones

#1216527

Hi, Shane is out on holiday this week so I'm following up on his open tickets. It's not immediately obvious to me how this Massive Addons modal plugin works. It may or may not be possible to initialize a modal on dynamic content, depending on how their plugin is written. I'm not able to find any documentation here: https://codecanyon.net/item/massive-addons-for-visual-composer/14429839

You would have to ask their team if there is a way to initialize a modal on content that is loaded with AJAX. If they offer any documentation, I'll be glad to take a look.

#1218451

Hi Christian,

Many thx for your reply,

It seems there is no way to initialize a modal on content that is loaded with AJAX without plugin customization.

BTW, I don't mind using Massive Addons' modal. I just want to have a slider with lightbox - the lightbox needs to display picture and text from a CPT.

I figured how to achieve this with Toolset only, but it remains a small bug: the z-index of the fade background isn't constant (!). When I change its value, it's ok for a few seconds and then the fade goes over the lightbox:
hidden link

Any idea?

#1219127
Screen Shot 2019-03-21 at 11.42.35 AM.jpg
Screen Shot 2019-03-21 at 11.42.01 AM.jpg

See the attached images. One of these sibling rows should be set at a higher z-index. I added the ids AAAAA and BBBBB as a reference only.

#1220528

Hi Christian,

Many thx for your effort.

You're right, there is z-index conflicts.

But there is also a bug between wp-bakery and bootstrap modal. The overlay is always on top of everything.

So I disabled theoverlay : .modal-backdrop.fade.in {display: none !important;}

Thx again!

#1221670

But there is also a bug between wp-bakery and bootstrap modal. The overlay is always on top of everything.
I'm not sure I understand what this means. Where can I see it? I don't have access to the sync-test page anymore.