WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Header image and title alignment (3 posts)

  1. balajikar
    Member
    Posted 1 year ago #

    Theme : Redline

    The header image and site header text are not aligned properly, after theme and wp updation. In fact, it seems i have to use 960 X 200 px for header image. But I am using 960 X 85 px image.

    Also, i want to remove the date, time and site names which are placed above header. They are marked in red circles in the image uploaded.

    How to correct this?

  2. fingli
    Member
    Posted 1 year ago #

    I'm the author of RedLine. Thank you for choosing the theme for your site.

    As far as your questions:

    1. Header image - If you don't want to use default image size 960x200, then you have to set the size you want (85px) in theme's functions.
    In Admin panel > Appearance > Editor open Theme Functions (functions.php), at the top you'll see the parameters of custom_header function. Change argument
    'height' => 200
    with a value you desire (85), save the changes and you are done.

    2. Date and time a.k.a infoarea :) - Again in Admin panel > Appearance > Editor open Header (header.php) find the following code

    <!--Begin infoarea-->
    	<section id="siteinfo"><div id="feedarea">
    	<dl><dt><span style="float:left;"><?php bloginfo( 'description' ) ?></span>
    		<?php echo date_i18n( __( 'l, j F Y - G:i', 'redline' ) ); ?></dt>
    	</dl></div></section>
    	<!--End infoarea -->

    It is placed after <body> tag, delete it (from Begin to End) save the changes and you are done.

    Hope it helps :)

  3. balajikar
    Member
    Posted 1 year ago #

    Thanks Fingli, for your prompt help, It is fixed now. Since more than 2 years, i am using redline theme and happy with it. Great.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags