Arras Theme: How to add & center-Position image logo

Most Entertainment bloggers are beginning to look into something somehow custom for their news, entertainment, music and video blogs unlike the majority who chooses to leave everything at the default. The arras Free Premium wordpress theme (latest: arras.1.5, arras.1.5.1.2-notimthumb and arras.1.5.3-RC1) is very popular among entertainment bloggers but do not have any kind of picture or image logo present in the header section of the theme.
Customizing arras premium wordpress theme

The only available option is the text logo without even the provision for custom header. This short tutorial will guide you on how you can replace the text description with an image logo in the latest arras free premuim wordpress theme.

Let me show you three (3) easy practicable method you can use in changing that boring text description in your arras theme powered blog header section with either a custom header logo or a simple image logo.

#1.

By Modifying your Header.php :

This can be done in 3mins just log in to your wordpress dashboard and Navigate to ==> appearance==>Editor  ==> Header.php

Search for

<div id="header">
    <div id="branding" class="clearfix">
    <div class="logo">
        <?php if ( is_home() || is_front_page() ) : ?>
        <h1 class="blog-name"><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></h1>
        <h2 class="blog-description"><?php bloginfo('description'); ?></h2>
        <?php else: ?>
        <span class="blog-name"><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></span>
        <span class="blog-description"><?php bloginfo('description'); ?></span>
        <?php endif ?>
    </div>



And Replace it with

<div id="header">
	<div id="branding" class="clearfix">
	<div class="logo">
		<a href="your home page url"><img src="your logo image url"></a> 
	</div>



Remember to link the logo the your homepage by adding the homepage link as well as your new logo image path or full url.

ALSO READ
Quick Tips on Escalating Your Presence in the WordPress Community

#2.

By Modifying the Default.css :

This is another easy tweak for you ,,, just log in to your cpanel and navigate to wp-contents=>themes=>arras=> Css=>Styles

open default.css and search for :

.logo

or

{ max-width: 590px; float: left; font-weight: 700; font-family: 'Segoe UI', Arial, Helvetica, sans-serif; text-transform: uppercase; }

and replace the side within {} tags with this code

{ max-width: 590px; float: left; background:#fff url('images/logo.png') no-repeat; font-weight: 700; font-family: 'Segoe UI', Arial, Helvetica, sans-serif; text-transform: uppercase; }

Save and close to preview changes.

#3.

Placing your logo in a custom header image :

This is only necessary if you want to do a whole lot of edits in the header section instead of just the logo section using custom image. just design an image of exact size and add your logo, slogan and other stuff to various position of your choice including the center position. Navigate to the exact path in option 2 above and search for 

#header					{ background: #fff; border-bottom: 5px solid #383332; }

Replace with

#header					{ background: #fff url('images/logo.png') no-repeat; border-bottom: 5px solid #383332; }

Centering Your Custom Image Logo in the WordPress Theme :

Now following all the above methods you can easily center your logo by adding this lines in between the {} tags after searching for

.logo

add

margin-left: 285px;

to the other lines there to center your image logo…

Love this tips and guide? drop a comment and share it with your friends too

Previous ItemTop 3 Remote Access Software
Next ItemHow to Insert Mobile Ads Unit in mobilepress – WordPress
Obasi Miracle
Obasi Miracle is one of the brains behind 3rd Planet Techies. A webdesign afficionado and IT Support brain-box, he flourishes and revel in helping many-a-techies in their aspiration to become the best they can.

2 COMMENTS

  1. I think this code is more accurate in the head mod

    <a href="”><img style="border:none;" src="/images/logo.png” alt=”name of your logo” title=”title of your logo”/>

  2. Adesanmi Adedotun Adesanmi Adedotun

    This is great Obasi, how I wish on a wordpress platform.

LEAVE A REPLY

Please enter your comment!
Please enter your name here