Jump to content
Sign in to follow this  
cryptoking

WH Homepage thumbnail images for posts are stacking on top the post

Recommended Posts

cryptoking

Here's a screen shot of what i'm talking about. WataI.png I've tried to modify the css without any success. Please help, seems like an easy fix yet I can't seem to figure it out. thanks in advance.

Share this post


Link to post
Share on other sites
bryan-hadaway

Where and how would you the thumbnails to appear? Also, can you provide a link to your website. Thanks, Bryan

Share this post


Link to post
Share on other sites
bryan-hadaway

Okay, so I'll assume that you want the thumbs to align left unless you instruct me otherwise. Try adding this: `#maincontent .thumb .wp-post-image{float:left}` To: Custom Code > Custom CSS Thanks, Bryan

Share this post


Link to post
Share on other sites
cryptoking

hey bryan, i added the css to my style.css - didn't work i added the css to my pro.css - didn't work i added the css to the custom css - didn't work. need more help. thanks in advance.

Share this post


Link to post
Share on other sites
cryptoking

Don't know if this is correct but it seems to work the way I actually intended the thumbnail to be posted. In the

_posts.php
file I moved this bit of code
<?php if(pl_show_thumb($post->ID)): ?>
				            		<div class="thumb left">
										" rel="bookmark" title="<?php _e('Permanent Link To', TDOMAIN);?> <?php the_title_attribute();?>">
											<?php the_post_thumbnail('thumbnail');?>
										
						            </div>
						<?php elseif (get_post_meta($post->ID, 'thumb', true)): ?>
							<?php $postimageurl = get_post_meta($post->ID, 'thumb', true); ?>
			            	<div class="thumb left">
				              " rel="bookmark" title="<?php _e('Permanent Link To', TDOMAIN);?> <?php the_title_attribute();?>">
								" alt="Post Pic" width="200" height="200" />
							
				            </div>
						<?php endif; ?>[/code]

	
	and pasted it in between the closing 
[code]</div>
and the commented out
<!--/post-tile-->

Like I said, it seems to work.

Share this post


Link to post
Share on other sites
webbdo

Hmm... This doesent works for me. Do I have to do anything in eatch blog post after adding this code:

<?php if(pl_show_thumb($post->ID)): ?>
	<div class="thumb left">
	" rel="bookmark" title="<?php _e('Permanent Link To', TDOMAIN);?> <?php the_title_attribute();?>">
	<?php the_post_thumbnail('thumbnail');?>
	
	</div>
	<?php elseif (get_post_meta($post->ID, 'thumb', true)): ?>
	<?php $postimageurl = get_post_meta($post->ID, 'thumb', true); ?>
	<div class="thumb left">
	" rel="bookmark" title="<?php _e('Permanent Link To', TDOMAIN);?> <?php the_title_attribute();?>">
	" alt="Post Pic" width="200" height="200" />
	
	</div>
	<?php endif; ?>

Share this post


Link to post
Share on other sites
cryptoking

hey pierre, I only did it to the

_posts.php
file. You may want to state your problem first, like the thumbnails are showing up, but are stacking on top of the posts. Posting a url is also helpful. Because I'm wondering if your thumbnails are even showing up. I can only say to double check the location of your pasting in between the the closing
</div>
and the commented out
<!--/post-tile-->

and moreover, did you upload the file and refresh your browser. Did the thumbnails move at all?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×