08/29/2018 at 3:11 pm
#471096
Keymaster
@ Sheila
RE: I don’t want to edit the files. I don’t want to interfere with future updates.
You can implement the change by using custom template override files.
Follow the direction in the dev docs. The open the card.php
file You’ll see the code for image:
<?php $entry->getImage(
array(
'image' => $atts['image'],
'height' => $atts['image_width'],
'width' => $atts['image_width'],
'fallback' => array(
'type' => $atts['image_fallback'],
'string' => $atts['str_image'],
),
)
); ?>
Wrap that code in a anchor. To set the anchor href use $entry->getPermalink()
.
Save the changes and overwrite the template override file.
Depending on the theme, you may have to add you own custom styles because theme’s often apply some interesting styles to anchors that will need to be overridden. If you’re lucky, they be nothing to do ;)
RE: What is the CSS for that?
You can use the #cn-circled .cn-circled-detail-link a
selector.
Hope that helps!