featured images in info boxes

This support request was posted in Netelier by mariehdb

Request ID #2059 Resolved
  • Hi there,

    Two quick questions regarding the featured images in info boxes on my homepage:

    – can I make them clickable and link to another page?
    – they seem to expand and take all the available space, no matter what size of image I use. But they’re currently too big for my liking. Is there a way to force their dimensions and how? And will it create issues with the responsivity if I do that?

    Thanks a lot!
    Marie

    Juanfra Aldasoro

    Hi Marie,

    How are you today? Thanks for writing.

    With regards to your questions:

    – Actually there’s a way to do that but you’ll need to dig in into the code or ask a programmer to do it. Is something really simple.
    – That’s because the same image is used for the responsive site as well. So, I’d recommend you to try and create a image of around 480×480 and then maybe use white space on the borders so they’ll look smaller when placed into the theme.

    Best,
    Juan.

    Hi Juan

    Thanks for the speedy reply. Are you sure we’re talking about the same images? I mean the ones in the info box. Because I uploaded them at 160×160 and they’re too big already. And I tried with 80×80 and they’re too big. So I get the idea of putting white around, but isn’t 480×480 quite big?

    Am willing to go dig in the code and try (or look for more info on Wp forums). Would that be in customs-fields.php ?

    Thanks!

    Juanfra Aldasoro

    Hi Marie,

    No worries.

    Yes, we’re talking about the same images 🙂 As they’re responsive, the correct width is given through css rules. So if you upload them in 160×160 they will look stretched and probably their look will be bad. If you upload them in the size I’ve mentioned it’s quite probable that they’ll look even better, because the theme does the work.

    With regards to the links, you need to edit the file template-home.php, check how the script gets the permalink and wrap the image with the tag using that permalink.

    Best,
    Juan.

    Very clear. Thanks a lot!
    Best,
    Marie

    Juanfra Aldasoro

    Thank you, Marie!

    Have a nice day,
    Juan.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic is marked as resolved

Only the topic author can re-open this thread.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server