CMS Development

crystalgrace
メンバー

Blog Post - Featured Image shows different markup

解決

Screen Shot 2020-07-31 at 12.44.22 PM.pngScreen Shot 2020-07-31 at 12.45.37 PM copy.png

https://www.amtrav.com/blog/how-we-capture-your-off-channel-bookings

 

The Post Template code shows different markup for content.featured_image

I'd like to display just the image and remove the <a href=""> link caption. How Amtrav Can Help, Even When You Book on Other Sites" />

 

I'm not sure why text shows up - is this a setting in Featured Image? If so, where can I find it? 

 

HTML/CSS - Intermediate/Expert level

Hubspot - Beginner level

 

0 いいね!
1件の承認済みベストアンサー
JanetArmstrong
解決策
トップ投稿者 | Solutions Partner
トップ投稿者 | Solutions Partner

Blog Post - Featured Image shows different markup

解決

If you want to remove the link and just have the image, remove this line:

Screen Shot 2020-08-02 at 6.20.09 AM.png

元の投稿で解決策を見る

3件の返信
JanetArmstrong
解決策
トップ投稿者 | Solutions Partner
トップ投稿者 | Solutions Partner

Blog Post - Featured Image shows different markup

解決

If you want to remove the link and just have the image, remove this line:

Screen Shot 2020-08-02 at 6.20.09 AM.png

JanetArmstrong
トップ投稿者 | Solutions Partner
トップ投稿者 | Solutions Partner

Blog Post - Featured Image shows different markup

解決

Also the close for the link!

 

</a>

0 いいね!
vish891
メンバー

Blog Post - Featured Image shows different markup

解決

Hey

 

The text seems to be coming from the alt text which is not closed properly.

 

Try updating the name field in the module.

 

Screen Shot 2020-08-02 at 6.43.43 PM.png