Homepage pane image size

  • Em-Jay

    #7210

    Hi evrybody!

    Where can i change the image size of the homepage panes? Since december it is 382 * 181. That’s not what I want.

    Regards

    MJ

    Mod

    Kenneth John Odle

    #37434

    I think this works:

    .homepage-_pane img {
    width: 300px;
    height: 150px;
    }

    Change the values to something that works for you.

    Em-Jay

    #37435

    Thanks for your answer. That’s what I’ve already tried, but the images only distorted thereby.

    Is there any way to change the setup of the pane image size?

    I think I need to change this section in the theme-setup.php

    if (get_option( 'show_on_front' ) == 'page' && !$graphene_settings['disable_homepage_panes']) {
    $pane_width = graphene_grid_width( '', 8, 6, 4 );
    add_image_size( 'graphene-homepage-pane', apply_filters( 'graphene_homepage_pane_image_width', $pane_width ), apply_filters( 'graphene_homepage_pane_image_height', floor( $pane_width * 0.5 ) ), true);
    }

    But how?

    Mod

    Kenneth John Odle

    #37436
    Quote:
    I think I need to change this section in the theme-setup.php

    Don’t edit theme files. Use a child theme or theme features, instead.

    Try seeing these threads:

    https://forum.graphene-theme.com/graphene-support/control-size-of-image-in-different-homepage-panes#post-25246

    https://forum.graphene-theme.com/graphene-support/homepage-panes-img-size

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

  • You must be logged in to reply to this topic.