Lightbox code is showing border in post

Hi,
I’m using a lightbox code for each image to allow it to be clickable and in a bigger size,

the only problem is in the post, the area where to code has been inserted is showing a blank bordered area…

this is the code I’m using…
[lightbox selector=".Palace-Expectations" deeplink="true" opacity="0.875" prev_scale="0.75" prev_opacity="0.75" next_scale="0.75" next_opacity="0.75" orientation="horizontal" thumbnails="true"]

this is a picture of the issue…
Imgur

all help is appreciated as always.

sean

Hello Sean,

Thanks for writing in!

It seems that the lightbox shortcode is wrapped in Blockquote tag and that’s why you are seeing the bordered area. Please inspect the shortcode in the editor and make sure that it’s not wrapped inside Blockquote tag.

In case you are facing any issues, please share login details in secure note for us to take a closer look.

Thanks.

Thanks for your reply,
i have only added the code inside a wordpress code block,
which is what the wp-block-code is there for…

i presume thats the correct way to include code in a wp post?

I have added my details to the secure note.

Thanks.

Hey Sean,

You are using a prefomatted block to add a shortcode that is why it is displaying as text.

Please use the Shortcode block instead.

Hope this helps.

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