I am sid. Who r u?

Just another WordPress weblog
Subscribe

Archive for the ‘Wordpress’

Just upgraded to WP 2.5.1

May 01, 2008 By: admin Category: Wordpress No Comments →

It’s a tedious work! I hope they can create an automatic update next time which is similar to updating the plug-ins. I just noticed that the word count feature is still not included in the updated version though they release a public documentation about the additional stuffs “added” to this version of WordPress. The Widgets are behaving crazy, unlike the previous version where you can just drag and click remove a widget. If you accidentally move a widget, it’s funny that it stays on an absolute position. More fix guys. Thanks for the update anyway.

Customizing “Prosumer 1.4″ made by Nurudin Jauhari: Creating a Fluid Header using CSS

April 28, 2008 By: admin Category: CS3, CSS, Design, Dreamweaver, Theme, Tutorials, Web, Wordpress, simple tutorial 3 Comments →

This post is in response to Nakul’s question on how to extend the header according to the browser’s width.

Here’s the challenge I gave myself: I want to make my Header stretch it’s background IF the browser width is more than the original width of the header (browser width > header’s width which is 950 px) and I want it to stay at 950 px if the browser’s width is less than 950 px.

So here’s how to do it.

1. Look for this code in your header.php file:

<div id=”top”>
<div id=”topi”></div>
<div id=”headr”>
<h1><a href=”<?php echo get_option(’home’); ?>/”>
<?php bloginfo(’name’); ?>
</a></h1>
<div class=”description”>
<?php bloginfo(’description’); ?>
</div>
<div class=”rss2″>
<a href=”<?php bloginfo(’rss2_url’); ?>” rel=”alternate” type=”application/rss+xml”><img src=”<?php bloginfo(’template_directory’); ?>/images/subscribe1.jpg” alt=”Subscribe” style=”border:0″/></a>
</div>
</div>
</div>

2. Add <div id=”pretop”> before the <div id=”top”>:

<div id=”pretop”>

<div id=”top”>
  <div id=”topi”></div>
  <div id=”headr”>
    <h1><a href=”<?php echo get_option(’home’); ?>/”>
      <?php bloginfo(’name’); ?>
      </a></h1>
    <div class=”description”>
      <?php bloginfo(’description’); ?>
    </div>
    <div class=”rss2″>
    <a href=”<?php bloginfo(’rss2_url’); ?>” rel=”alternate” type=”application/rss+xml”><img src=”<?php bloginfo(’template_directory’); ?>/images/subscribe1.jpg” alt=”Subscribe” style=”border:0″/></a>
    </div>
  </div>
</div>

</div>

3. Open style.css and add this css style:

#pretop {
background-color: #161616;
}

4. Upload the files to the remote server.

So there. we just added a fluid background on our header. :) The pretop div that we added doesn’t contain any fix width so the width is browser dependent. Since it contains top div inside it which has a fix width of 950px, it will stop from shrinking once the browser’s width is less than 950 px.

HTH!

sid
how bad do you want change

Customizing “Prosumer 1.4″ made by Nurudin Jauhari: Customizing the footer

April 25, 2008 By: admin Category: CS3, CSS, Design, Dreamweaver, Theme, Tutorials, Web, Wordpress No Comments →

Challenge: I want to incorporate the footer design in April 1.0 template to my Prosumer 1.4 WP theme. So how did I do it?

(click the image to enlarge)

(more…)


I am sid. Who r u? © 2007 All Rights Reserved. Using WordPress 2.5.1 Engine
Entries and Comments.

Prosumer 1.4 made by Nurudin Jauhari