Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Design

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #31 (permalink)  
Old 16-09-2007, 08:54 AM
calvynlee's Avatar
Blogging Moderator
 
Join Date: Jul 2006
Location: LittlePenang.com
Posts: 1,700
Rep Power: 64
calvynlee has a spectacular aura about calvynlee has a spectacular aura about
Damm, i not even see the dot in the cbck.gif...
this theme are really tricky. using a lot of repeating image as the color in the whole website...

does this any benefit? loading more fast or save hosting bandwidth?
__________________
I blog my IT Engineer LIFE at iCalvyn.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #32 (permalink)  
Old 17-09-2007, 12:11 AM
Novice Webmaster
 
Join Date: Apr 2004
Location: Miri, Sarawak
Posts: 93
Rep Power: 58
GeminiGeek is on a distinguished road
Send a message via MSN to GeminiGeek Send a message via Skype™ to GeminiGeek
Actually I don't see any benefit. Try comparing a "border: 1px dotted color" and a small image file where you have to call them using "background: url(path/to/image.gif)". Of course the latter requires more work, more codes, thus leading to more bandwidth.

I would say it's the designer's trick to make the theme hard to customize.

Here's what I suggest you to do. Remove all the image background border and you're all set.
__________________
Don't Ask Me Why I Joined This Forum
GeminiGeek's Online Journal
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #33 (permalink)  
Old 17-09-2007, 10:44 PM
calvynlee's Avatar
Blogging Moderator
 
Join Date: Jul 2006
Location: LittlePenang.com
Posts: 1,700
Rep Power: 64
calvynlee has a spectacular aura about calvynlee has a spectacular aura about
Quote:
Originally Posted by GeminiGeek View Post
Actually I don't see any benefit. Try comparing a "border: 1px dotted color" and a small image file where you have to call them using "background: url(path/to/image.gif)". Of course the latter requires more work, more codes, thus leading to more bandwidth.

I would say it's the designer's trick to make the theme hard to customize.

Here's what I suggest you to do. Remove all the image background border and you're all set.
so your advice is to take out all those back ground image?
__________________
I blog my IT Engineer LIFE at iCalvyn.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #34 (permalink)  
Old 18-09-2007, 07:18 PM
calvynlee's Avatar
Blogging Moderator
 
Join Date: Jul 2006
Location: LittlePenang.com
Posts: 1,700
Rep Power: 64
calvynlee has a spectacular aura about calvynlee has a spectacular aura about
I almost finish for this theme editing...

now i would like to change some layout in the content. this theme only apear 1 full (latest) post on main page, the rest, queue at below, i want to make it like normal...

i think is edit in the index, here is the code, anyone can sugest wic part need to change?

Code:
<?php get_header(); ?>

	<div id="content">

<?php include (TEMPLATEPATH . '/menu.php'); ?>
	<?php if (have_posts()) : ?>
	<?php $firstpostquery = new WP_Query('showposts=1'); ?>
	<?php while($firstpostquery->have_posts()) : $firstpostquery->the_post(); $firstpost = $post->ID; ?>
<div class="entry">
		<div class="post" id="post-<?php the_ID(); ?>">
			<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
			<small>Written by <?php the_author() ?> on <abbr title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s – %2$s'), the_date('', '', '', false), get_the_time()) ?></abbr> - <?php if(function_exists('the_views')) { the_views(); } ?> </small>
				<div class="line"></div>

			
				<?php the_content('Read the rest of this entry &raquo;'); ?>
		

			<div class="postinfo"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> <img src="<?php bloginfo('template_directory'); ?>/i/cm.gif" alt="comment" /> | Posted in &raquo; <?php the_category(', ') ?> <?php edit_post_link('| Edit', '', ' | '); ?> </div>
		</div>	
		
</div>
<div class="googleads1">
put your ads here
</div>
	<?php endwhile; ?>                                
	<?php endif; ?>


	<?php if (have_posts()) : ?>

		<?php $count=0; while (have_posts()) : the_post(); if(!($firstpost == $post->ID)) : ?>
		<?php if($count % 2 == 0) echo '<div class="left">'; else echo '<div class="right">'; ?>
		
			<div class="post" id="post-<?php the_ID(); ?>" style="">
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
				<small><abbr title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s – %2$s'), the_date('', '', '', false), get_the_time()) ?></abbr> <!-- by <?php the_author() ?> --></small>
<div class="clear"></div>
			
					<p><?php the_content_rss('', TRUE, '', 30) ; ?></p><div class="clear"></div>
					
		
			</div>
		</div>
		<?php if($count % 2 != 0) echo '<div class="clear"></div>';?>

		<?php $count++; endif; ?>

		<?php  endwhile; ?>
		
<div style="clear:both"></div>
		<div class="navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
			<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
		</div>

	<?php else : ?>

		<h2 class="center">Not Found</h2>
		<p class="center">Sorry, but you are looking for something that isn't here.</p>


	<?php endif; ?>

	</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
__________________
I blog my IT Engineer LIFE at iCalvyn.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #35 (permalink)  
Old 19-09-2007, 01:25 AM
Novice Webmaster
 
Join Date: Apr 2004
Location: Miri, Sarawak
Posts: 93
Rep Power: 58
GeminiGeek is on a distinguished road
Send a message via MSN to GeminiGeek Send a message via Skype™ to GeminiGeek
Here's the edit, and I've inserted a code where your google ads will display in between 2 posts for post 1-2 and 2-3.

Code:
<?php get_header(); ?>

	<div id="content">

<?php include (TEMPLATEPATH . '/menu.php'); ?>

	<?php if (have_posts()) : ?>
	<?php $postnumber=0; ?>

	<?php while (have_posts()) : the_post(); ?>
	<?php $postnumber++ ;?>

	<div class="entry">
		<div class="post" id="post-<?php the_ID(); ?>">
			<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
			<small>Written by <?php the_author() ?> on <abbr title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s – %2$s'), the_date('', '', '', false), get_the_time()) ?></abbr> - <?php if(function_exists('the_views')) { the_views(); } ?> </small>
				<div class="line"></div>
			
				<?php the_content('Read the rest of this entry &raquo;'); ?>

			<div class="postinfo"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> <img src="<?php bloginfo('template_directory'); ?>/i/cm.gif" alt="comment" /> | Posted in &raquo; <?php the_category(', ') ?> <?php edit_post_link('| Edit', '', ' | '); ?> </div>
		</div>	
	</div>
	
	<?php
	// This is added so that your adsense goes in between post 1 and 2, and also post 2 and 3 
	// If there's error, just remove this whole piece of code :D
	if ($postnumber == 1 or $postnumber == 2) { ?>
	<div class="googleads1">
	<!-- Your ads goes here -->
	</div>
	<?php } 
	// End of Ads between blog post code
	?>
	
	<?php  endwhile; ?>
		
	<div style="clear:both"></div>
	<div class="navigation">
		<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
		<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
	</div>

	<?php else : ?>

		<h2 class="center">Not Found</h2>
		<p class="center">Sorry, but you are looking for something that isn't here.</p>

	<?php endif; ?>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
Should be correct one. Just make sure you make a backup before putting this on.
__________________
Don't Ask Me Why I Joined This Forum
GeminiGeek's Online Journal

Last edited by GeminiGeek; 19-09-2007 at 01:41 AM. Reason: error.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #36 (permalink)  
Old 23-09-2007, 05:59 PM
calvynlee's Avatar
Blogging Moderator
 
Join Date: Jul 2006
Location: LittlePenang.com
Posts: 1,700
Rep Power: 64
calvynlee has a spectacular aura about calvynlee has a spectacular aura about
thank man...i manage to set the content that i want...

by the way, i have screw up the sidebar again... how i adjust the width on the sidebar also no different...

any special place that i can trace? and increase the width?
__________________
I blog my IT Engineer LIFE at iCalvyn.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #37 (permalink)  
Old 24-09-2007, 04:24 PM
iamfreelancer's Avatar
Vibrate your Brain Please
 
Join Date: Sep 2005
Location: in my body lar...
Posts: 1,254
Rep Power: 66
iamfreelancer will become famous soon enough iamfreelancer will become famous soon enough
err... the sidebar look ok with me... anything wrong with that??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #38 (permalink)  
Old 24-09-2007, 06:35 PM
Novice Webmaster
 
Join Date: Apr 2004
Location: Miri, Sarawak
Posts: 93
Rep Power: 58
GeminiGeek is on a distinguished road
Send a message via MSN to GeminiGeek Send a message via Skype™ to GeminiGeek
The right sidebar got pushed down. it's probably because some of your widgets is bigger than the sidebar width. You can try inserting those widgets one by one and try to detect which widgets is giving the error. Do note to check BOTH sidebar, not only the right sidebar.

If none of those widgets gives you the problem, then it could be you messed up the codings in your sidebar..
__________________
Don't Ask Me Why I Joined This Forum
GeminiGeek's Online Journal
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #39 (permalink)  
Old 13-10-2007, 10:07 PM
calvynlee's Avatar
Blogging Moderator
 
Join Date: Jul 2006
Location: LittlePenang.com
Posts: 1,700
Rep Power: 64
calvynlee has a spectacular aura about calvynlee has a spectacular aura about
at last i redo all the width with the original copy, now almost all the width suitable me, but 1 thing is while i increase the width in the "Navigation top"

HTML Code:
/*****************************************/
/* NAVIGATION TOP *                       /
/*****************************************/
#nav{width:545px;height:30px;line-height:30px;float:left;padding:0; margin:10px 0 10px 

0;background:#f3f2ed;}
ul.nav{height:30px;line-height:30px;float:left;list-style:none;font-size:12px;font-weight:700;text-

transform:uppercase;margin:0;padding:0;}
ul.nav li{float:left !important;list-style-type:none;margin:0;padding:0;}
ul.nav li a,ul.nav li a:link,ul.nav li a:visited{border-bottom:0;border-

left:0;background:#f3f2ed;color:#555;float:left;display:block;text-decoration:none;padding:0 10px;}
ul.nav li a:hover,ul.nav li a:active{background:#fff;color:#555;text-decoration:none;}
ul.nav li.home a{border-left:2px solid #fff;text-decoration:none;}
ul.nav li.current_page_item a{text-decoration:none;color:#555;background:#fff;}
ul.nav li ul{float:left;margin:0;padding:0;}
the "about me" box are move to right with IE view, but the FF view are unable to move to right... any one have idea why this happen?

refer to LittlePenang
__________________
I blog my IT Engineer LIFE at iCalvyn.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Template for SALE from $130 onwards! - We also have OS Commerce template! certify Other Webmaster-related Services and Promotion 3 24-04-2007 09:13 AM
Website template webber Mamak Stall 5 14-08-2005 02:22 PM
Template kromok Webmaster Tools 12 18-11-2004 12:50 AM
template in PHP suzila Website Programming 6 17-02-2003 12:02 PM
template nuha Website Programming 0 02-05-2002 11:40 AM


All times are GMT +8. The time now is 11:41 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61