CMS Development

torivt
Membre

Blog Post Page Link Featured Image

On a blog post page is there no way to add a link to a feature image?

 

Thanks

0 Votes
4 Réponses
dennisedson
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Blog Post Page Link Featured Image

@torivt,

<a href =''><img src="{{ content.featured_image }}"/></a>

add that to the post template wherever you want it and style away

0 Votes
torivt
Membre

Blog Post Page Link Featured Image

So that code works if I set a featured image but then 2 featured images show.

0 Votes
dennisedson
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Blog Post Page Link Featured Image

@torivtlook for that

{{ content.featured_image }}

elsewhere in your code.  if it helps, paste the code here and we can better work through it

 

 

torivt
Membre

Blog Post Page Link Featured Image

0 Votes