Column shortcodes - html won't open links in new tab

Hi, I’m using the following HTML inside my column shortcodes:

[column type="1/2"] <div align=
"right"><a href="https://tryveg.com"><img src="http://vegweektest.wpengine.com/wp-content/uploads/footer-try-veg-logo.png" target="blank" alt="tryveg logo" width="155" height="34" class="alignright size-full wp-image-5374" /></a></div> [/column] 

[column type="1/2" last="true"] <div align=
"left"><a href="http://cok.net"><img src="http://vegweektest.wpengine.com/wp-content/uploads/footer-cok-logo.png" target="blank" alt="cok logo" width="148" height="34" class="alignleft size-full wp-image-5375" /></a></div> [/column]

I’ve tried both target="_blank" and target=“blank” but no luck in getting the links to the images to open in a new tab. What am I missing here?

site: https://tinyurl.com/yddm3jv2

Thanks

Hi There,

Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

Thank you.

The URL was already included in the first post.

Hi,

You need to add it on href and not in img

eg.

[column type="1/2"] <div align=
"right"><a  target="_blank"  href="https://tryveg.com"><img src="http://vegweektest.wpengine.com/wp-content/uploads/footer-try-veg-logo.png"alt="tryveg logo" width="155" height="34" class="alignright size-full wp-image-5374" /></a></div> [/column] 

[column type="1/2" last="true"] <div align=
"left"><a target="_blank" href="http://cok.net"><img src="http://vegweektest.wpengine.com/wp-content/uploads/footer-cok-logo.png"  alt="cok logo" width="148" height="34" class="alignleft size-full wp-image-5375" /></a></div> [/column]

Ah, good eye. Thanks, this now works.

You’re welcome!
We’re glad we were able to help you out.

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