Header Image

  • Anonymous

    #3224

    I have an image that is 960 x 157, but the uploader still wants me to crop it, but when I change the height, it no longer makes me crop it. But the image looks stupid at 960 x 198, is there a way I can still get it to use this image?

    Anonymous

    #23949

    You need to add this to the child theme’s functions.php

    function graphene_custom_header_width(){
    return 960;
    }
    function graphene_custom_header_height(){
    return 157;
    }
    add_filter('graphene_header_image_width', 'graphene_custom_header_width');
    add_filter('graphene_header_image_height', 'graphene_custom_header_height');

    And this to your child theme’s stylesheet or to the Custom CSS,

    #header {
    height: 157px;
    width: 960px;
    }

    Anonymous

    #23950

    Hi Prasanna,

    I have a similar problem as colcrunch. I asked that in forum so instead of explain whole my story, I send you that topic link here.

    https://forum.graphene-theme.com/graphene-support/cant-upload-custom-header-image-properly

    Could you please check it out there and let me get your help, please ?

    Thanks in advance.

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

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