GlamLife

Member

Forum Replies Created

  • In reply to: Make header image area less high

    #13252

    Hello Syahir:

    I love your graphine theme …. it’s got everything I need and is so perfect for me if I can get it functioning. Earlier today, I tried editing the styles.css making adjustments to the header height which I need to be 260 instead of 198. I was able to get them changed, but was never able to defeat the evil image cropper. Eventually, nothing would load anymore and I had to uninstall & reinstall.

    Finally I exhibited some intelligence and came to research your help forum … where I learned about Child Themes … Yeah!!!

    Unfortunately, the directions for doing what I need to do seem to be scattered around several posts … plus everyone forgot to mention that to create a new folder to put inside of the themes … a newbie would need to go the file manager inside of the C-Panel!

    So after all of these changes, the image uploader for the header still wants to make me crop at 198 height … plus the height of the header area on my site never changed either. So this is what I’ve done … please advise why it doesn’t work.

    C-PANEL

    FILE MANAGER

    /public_html

    wp-content

    themes

    I created a new folder called graphene-child

    I created a new file called style.css

    I edited that file using us-ascii

    /*

    Theme Name: Graphene Child

    Theme URI: http: //glamlifeguru.com/

    Description: Child theme for the Graphene theme

    Author: Your name here

    Author URI: http: //example.com/about/

    Template: graphene

    Version: 1.0

    */

    @import url(“../graphene/style.css”);

    /* #header{

    background-color:#000;

    background-repeat:no-repeat;

    height:260px;

    margin-left:16px;

    width:960px;

    */

    <?php

    function graphene_custom_header_width(){

    return 960;

    }

    function graphene_custom_header_height(){

    return 260;

    }

    add_filter(‘graphene_header_image_width’, ‘graphene_custom_header_width’);

    add_filter(‘graphene_header_image_height’, ‘graphene_custom_header_height’);

    ?>

    and Nada changes … what did I do wrong Master?

    xoxo

    Tati

Viewing 1 post (of 1 total)