WordPress.org

Ready to get started?Download WordPress

Forums

Graphene
change some things in graphene theme header (7 posts)

  1. buru
    Member
    Posted 2 years ago #

    Hey. I want to change the header so that the height by 250px instead of 198px, and do the same with the heacer crop function. I also want to add an AdSense ad on the left side of the head (250px x 300px).

    http://wordpress.org/extend/themes/graphene/

  2. chitaranjan.thoudam
    Member
    Posted 2 years ago #

    I have reduced for my website in style.css. Just look for header and change the desire px in the place of 198px. Make sure u change the alignment for site tittle as well if you are using WP tittle option.

    For the cropping, I haven't figured it out. I mean…we can just replace existing header using ftp. Yeah I will look for the cropping option also and replied to you later.

  3. Prasanna SP
    Member
    Posted 2 years ago #

    Add this to your child theme's functions.php

    function graphene_custom_header_width(){
       return 960;
    }
    function graphene_custom_header_height(){
       return 250;
    }
    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 style sheet or in Graphene Options --> Display --> Custom CSS

    #header {
        height: 250px;
        width: 960px;
    }
  4. buru
    Member
    Posted 2 years ago #

    Thanks you guys!
    Changes from style.css and ftp upload/replace worked fine but the header crop function not.
    Thanks again!

  5. akinho7
    Member
    Posted 1 year ago #

    I have one question..
    How can I change whole template dimensions..Height and width..
    I wanna see my whole theme without scrolling??!
    Is that possible...?
    help:D

  6. chitaranjan.thoudam
    Member
    Posted 1 year ago #

    @akinho7

    Why not, you can make whatever or however you desire, you can even make so differently from the current look of the theme, example as my website http://kokcyn.com

    In my website, I have increased the width to 1000px, you can do this in Appearance> Graphene Option, In the 2nd tab you will be able to set the width.

    For the vertical-scrolless website, you might just have to reduce the the contents on the homepage to make sure everything fits on your screen and better pagination on other archieve or post pages.

  7. akinho7
    Member
    Posted 1 year ago #

    Thx lot..chitaranjan.thoudam
    Yeah It was in graphene options..:D
    Finally i cu the width..:D
    thx once again..
    greets

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags