...

View Full Version : Sorry for this but need help urgent!



unleash
07-13-2011, 09:17 PM
Hello Friends,

This is my first post and I am troubling you guys but I am sorry I am in hurry my testing domain will be expiring today anytime before that I want someone who good in CSS can fix my problems and create one navBar it's related to a WordPress customization All codes are in PHP.

Please please help !

Want my email i can provide you I also can provide desktop sharing so you can view the live website!

Please help help

kwdamp
07-13-2011, 09:36 PM
If you want help here:

1. Post your website or code you're having issues with

2. Ask specific questions

Just saying you need help and implying someone is going to spend the rest of their day doing your work isn't going to get you very far.

unleash
07-13-2011, 09:57 PM
Ok I will post one by one this is my first thing!

My Website: www.t-clicks.com/test/

http://i55.tinypic.com/j8mtsl.jpg

As you can see in the above image, After the author avatar the text is in the bottom, I want to make it like in the following image.

http://i54.tinypic.com/keup3a.jpg

This is my php code:



<div class="post-date">
<p><a rel="me" href="<?php echo get_author_posts_url( get_the_author_ID() );?>" class="author_image"><?php echo get_avatar( get_the_author_email(), '32' ); ?></a> <span class="dt"><?php the_time('F j, Y'); ?></span> <?php _e('by', 'themejunkie'); ?> <span class="post-author"><?php the_author_posts_link(); ?></span>
<img src="<?php bloginfo('template_directory'); ?>/images/comment.gif" alt="Comments" /> <span class="comm"><span class="comment_count"><?php comments_popup_link(__('0', 'themejunkie'), __('1', 'themejunkie'), __('%', 'themejunkie')); ?></span></span></p>
</div> <!--end .post-date-->



This is CSS Code:



.post-date {font-size: 0.85em; color: #999; margin: 12px 0 0; }
.post-date a, .post-date a:visited { color:#26b; }
.post-date a:hover { border-bottom:1px dotted #26b; text-decoration:none; }
.post-date p { font-style:normal; }
.post-comments a { color:#666 !important; }
.post-comments a:hover { border-bottom:1px dotted #666; }

VIPStephan
07-13-2011, 10:53 PM
For the post author styling: Float .author_image to the left (and apply a right margin to your desire) and then move the comments icon into the span .comment_count and make that span display: block;

unleash
07-13-2011, 11:06 PM
Yahoo!

Thanks Man It works fine now :) I will paste the second problem soon please stay here

unleash
07-13-2011, 11:41 PM
Thank you so much friend for helping me a lot :)

The problem is same this is how is now on the main page!

http://i52.tinypic.com/34yy99g.jpg

I want like in this image!
http://i53.tinypic.com/2cwsu8j.jpg

This is the code!



<?php
query_posts('tag=featured&showposts=2&offset=1');
if (have_posts()) : $rpCount = 1;?>
<div id="related-entries">
<p class="splitter minor"><span>More Featured Stories</span></p>
<?php while (have_posts()) : the_post(); ?>
<div class="postbox"<?php echo $rpCount%4==0?' style="margin-right:0;"':'';?>>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
<span class="image_frame"><img height="70" width="149" alt="<?php the_title(); ?>" src="<?php bloginfo('template_directory'); ?>/includes/timthumb.php?src=<?php echo urlencode(tj_get_image($post->ID, 'full')); ?>&amp;h=70&amp;w=149&amp;zc=1" /></span>
<strong class="title-summary"><?php the_title(); ?></strong>
</a>
<div class="post-date">
<p><span class="post-comments"><img src="<?php bloginfo('template_directory'); ?>/images/comment.gif" alt="Comments" /> <?php comments_popup_link(__('0', 'themejunkie'), __('1', 'themejunkie'), __('%', 'themejunkie')); ?></span></p>
</div> <!--end .post-date-->
</div>
<?php $rpCount++; endwhile;?>
<p class="featured_more"><a href="<?php echo home_url('/tag/featured')?>">View All Featured Posts &raquo;</a></p>
<div class="clear"></div>
</div>
<?php endif; wp_reset_query();?>


This is CSS



#related-entries { clear: both; line-height: 20px; padding: 14px 0; }
#related-entries .postbox { float:left; font-size:11px; line-height:1.4em; margin:10px 10px 10px 0; position:relative; width:152px; border-width:0; }
#related-entries .postbox img, #related-entries .postbox .image_frame { }
#related-entries .postbox .image_frame { border:1px solid #D4D4D4; width:149px; height:70px; display:block; }
#related-entries .postbox a, #related-entries .postbox a:hover { text-decoration:none; }
#related-entries .postbox a:hover { color:#212121; }

unleash
07-14-2011, 11:02 AM
I have updated a PHP Code I just added a comment option in it and you can see the live preview on t-clicks.com/test

Please help me!

abduraooft
07-14-2011, 12:01 PM
#related-entries .postbox { float:left; font-size:11px; line-height:1.4em; margin:10px 10px 10px 0; position:relative;
width:300px;
border-width:0; }

#related-entries .postbox .image_frame { border:1px solid #D4D4D4; width:149px; height:70px;
float:left;
margin-right:5px;
}

unleash
07-14-2011, 12:30 PM
Why I don't find this forum before?

Thanks abduraooft :)

abduraooft
07-14-2011, 01:24 PM
<div class="post-date">
<p><span class="post-comments"><img src="<?php bloginfo('template_directory'); ?>/images/comment.gif" alt="Comments" /> <?php comments_popup_link(__('0', 'themejunkie'), __('1', 'themejunkie'), __('%', 'themejunkie')); ?></span></p>
</div> <!--end .post-date-->
Try

<span class="post-comments"><img src="<?php bloginfo('template_directory'); ?>/images/comment.gif" alt="Comments" /> <?php comments_popup_link(__('0', 'themejunkie'), __('1', 'themejunkie'), __('%', 'themejunkie')); ?></span>

instead of the above snippet.

unleash
07-14-2011, 02:58 PM
Thanks It's fixed now :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum