ayepal
Member
Posted 10 months ago #
here's my site - http://www.hostilegamer.com
What i want is the top post(which used to be the most recent one so i had to edit it so it was the same) thumbnail to the same as the ones below, aligned to the left, but i cant seem to get it to work and it seems to be above the description, thanks.
[Code moderated as per the Forum Rules. Please use the pastebin]
here is the css for index.php
Drew Jaynes (DrewAPicture)
Member
Posted 10 months ago #
It looks like you've just got a few things out of order where the code is for the first post. If you'll post your code in the Pastebin I can help you get it re-ordered.
Just copy your code into the pastebin box and click Submit. Then copy and paste the page URL address into your reply here.
ayepal
Member
Posted 10 months ago #
here it is. Sorry i didnt know how to use the pastebin before :P
http://pastebin.com/PTTAuFHd
Drew Jaynes (DrewAPicture)
Member
Posted 10 months ago #
Thank you. The way I'm seeing it, starting at about line 16, you should replace this snippet of code:
http://pastebin.com/UARQTFCd (Approx. lines 16-36 in your original pastebin)
with this snippet of code:
http://pastebin.com/bdWt1Yef
-------------
Your resulting code would end up like this: http://pastebin.com/wKySFzaQ
Some of the elements had just gotten jogged around. As for any CSS changes you've made, you'll need to reverse those to get it to work as it should.
ayepal
Member
Posted 10 months ago #
Thanks! It sort of worked, but the text is still not aligned to the left. How would i do this?
Drew Jaynes (DrewAPicture)
Member
Posted 10 months ago #
Looks like we're making progress.
Try replacing this:
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>><?php the_excerpt('Read more...'); ?>
with this:
<div class="post_bellow_text"><?php the_excerpt(); ?>
ayepal
Member
Posted 10 months ago #
Thank you very much, it worked!