Support » Theme: Dyad » Dyad 2 – increase height of featured image?

  • Hi, max height for featured images is 720, I would like to increase that by 100 or 200. could a change be made in functions.php and/or custom-header.php?

    thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there,

    Dyad displays featured images differently on different areas of the site, and on single posts and pages the layout is also adjusted dynamically based on the image size, as well as the post format used.

    Can you please be a bit more specific as to where exactly you’d like to make this change? It would also be helpful if you can provide a link to a specific post or page on your site where you’d like to make this change.

    Thread Starter gil49r

    (@gil49r)

    Hello KokkieH, thanks for your response. The only page i’m concerned about at this point is the home page, here: http://www.ambermetrics.com/

    However, the live site, above, is a different theme (not my work).

    My test version is Dyad 2, but I’m not at liberty to show it right now. The height of the cover featured image on the test home page is limited to 720. I’d just like to tweak it to around 900 or so. That height will take up more screen real estate, but that’s ok, the bottom of the image will still be above the fold.

    I’m pretty handy with css and though an amateur at php, I can find my way around a functions and custom-header php page and change accordingly – from what I can see, it seems that one or both control the height.

    thnx!

    • This reply was modified 5 years, 1 month ago by gil49r.
    Thread Starter gil49r

    (@gil49r)

    another way to describe is that due to the 720 restriction, i’m forced to crop that featured image, but there is more at top and bottom of original that i want to show.

    🙂

    So the featured image on a static front page.

    I’m not a developer, so can’t help you with the code for changing this, but looking at the theme’s source code it looks like that image is set in template-parts/content-featured-img.php, in line 11: dyad-2-banner

    dyad-2-banner is defined in functions.php in line 69. I’m guessing you either need to change those size parameters in functions.php, or else you need to edit the content-featured-img.php to use one of the other sizes defined in functions.php

    dyad-2-banner also occurs in template-parts/content-featured-post.php, so if you change this in functions.php, keep in mind it would affect featured images on posts as well.

    Thread Starter gil49r

    (@gil49r)

    thanks, yes, and further mention in the inc folder> custom-header.php line 27.
    played with all of them, nothing, obviously in over my head.

    Hi @gil49r,

    If you are unable to make the change using the information @kokkieh provided above, you may want to seek developer help. The WordPress Professional Network is a great place to look for developers:

    https://jetpack.pro/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Dyad 2 – increase height of featured image?’ is closed to new replies.