WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do I enlarge header bg image size? (Blixed theme) (2 posts)

  1. kikingil
    Member
    Posted 6 years ago #

    Hi
    I'm using Blixed theme, and want to replace the default header bkgd image with one of my own.
    (The default size is 690x115)
    I've been going up and down the .css files, changed every parameter that seemed remotely connected but didn't manage to do it -
    Can anyone help?
    This is the blog: http://www.ruthkikin.com/blog/

  2. kikingil
    Member
    Posted 6 years ago #

    Managed to find how to do it. If anyone is interested in what I did:
    in functions.php, change the size (width, height values) in 2 place:
    1.---------------------------------------------
    <?php
    // No CSS, just IMG call

    define('HEADER_TEXTCOLOR', '006163');
    define('HEADER_IMAGE', '%s/images/spring_flavour/header_bg.jpg'); // %s is theme dir uri
    define('HEADER_IMAGE_WIDTH', 704); <----Here
    define('HEADER_IMAGE_HEIGHT', 200);<----Here

    function nigarila_admin_header_style() {
    ?>

    2.---------------------------------------------
    <?php
    }
    function nigarila_header_style() {
    ?>
    <style type="text/css">
    #header {
    background: url(<?php header_image(); ?>) no-repeat;
    height:200px; <----Here
    padding:0 0 0 18px;
    }
    #header h1 a
    {
    color:#<?php header_textcolor();?>;
    }
    </style>
    <?php

    Good luck

Topic Closed

This topic has been closed to new replies.

About this Topic