Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Excerpts, Read more, Pagination (http://forum.bytesforall.com/forumdisplay.php?f=20)
-   -   Left Align Featured Image on Homepage (http://forum.bytesforall.com/showthread.php?t=8708)

vinniev Aug 4, 2010 04:37 PM

Left Align Featured Image on Homepage
 
The homepage default for the "Featured Image" is to show above the excerpt. I'd like the image to show to the left, similar to how Mashable does it. How can I do that?

Also, how can I get the Category to show before the excerpt (a la Mashable).

Thanks in advance.

-vinnie v-

lmilesw Aug 4, 2010 07:50 PM

You can style the featured image (Post Thumbnail is what Atahualpa calls it) in ATO>Post Thumbnails. You just need to put
HTML Code:

float:left;
in the CSS box and any other styling you want.

vinniev Aug 5, 2010 08:41 AM

Thanks for the reply. I checked the settings on that and the default shows:

Code:

<div class='post-bodycopy'>
<img POST THUMBNAIL HERE class='wp-post-image' />
<p>Post Excerpt starts here...</p>
</div>


float: left;
border: 0;
padding: 0;
background: none;
margin: 0 10px 5px 0;

---------------------------------------------------

But the featured image still defaults to the top of the post on my homepage. Is there something I should change in the code above to indicate that I want the thumbnail to float left?

lmilesw Aug 5, 2010 09:32 AM

Delete the following from the box and see what happens.
HTML Code:

<div class='post-bodycopy'>
<img POST THUMBNAIL HERE class='wp-post-image' />
<p>Post Excerpt starts here...</p>
</div>


vinniev Aug 5, 2010 10:26 AM

That did the trick. Thank you so much for your help!

Do you happen to know how I can make the category show up prior to the excerpt?

For example - if I post an article about the iPhone and I put it in the "Apple" category, how do I get "Apple" to show up before the excerpt (similar to how mashable does it).

lmilesw Aug 5, 2010 10:30 AM

Put the necessary code in the Byline boxes in ATO>Edit POST/PAGE INFO ITEMS

vinniev Aug 5, 2010 11:32 AM

Thanks so much Larry.

Would it be difficult to move the featured image to the left and have the post title and excerpted text on the right like Mashable? (sorry to keep referencing them - I just really like how they display the excerpted text and images on their homepage)

lmilesw Aug 5, 2010 12:06 PM

Your image should be on the left with the code that is there. If not you just have to play around with the CSS in the Post Thumbnails box. Do you have a link to your site? It's kinda hard to give you ideas without seeing the site.

vinniev Aug 5, 2010 12:11 PM

Yes, thanks. http://www.vinniev.com

You'll see how the image shows to the left of the excerpt but the Post title is still showing on top of the image. Trying to move post title right above the excerpt and to the right of the image.

lmilesw Aug 5, 2010 12:16 PM

Yours looks like mashables. I'm not sure what you want to do. BTW you have the left inner sidebar still showing. I would turn that off and set the site width to about 900px. I think you would like the layout better.

Turn off left inner sidebar in ATO>Style & Configure Sidebars
Set site width in ATO>Style & Configure Layout

vinniev Aug 5, 2010 12:34 PM

1 Attachment(s)
Thanks again. I guess what I'm trying to figure out is how they're showing the "All Stories" section of their site with the image to the left (see attachent).

My site layout matches their "Trending Story" layout at the top of their page but how are they displaying it on the left for the "All Stories" section.

Thanks for the suggestion about the width.

I don't have anything checked for the left inner sidebar so I'm not sure where/why that's showing. I do have the right inner blank right now because I'm still figuring out what I want to include there but I plan to update that section very soon.

Thanks again for the help. I'll send in another donation shortly. :-)

lmilesw Aug 5, 2010 01:20 PM

I think that would require building a custom page template but maybe someone else knows a "trick".


All times are GMT -6. The time now is 11:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.