• Resolved fashionhotbox

    (@ewerner213)


    Hi,

    I am having a couple problems:

    1. I can’t get my post thumbnails to show up in the category archives page, but they do show up in the search/archives. So for example, if I search something on my website a list of excerpts of posts will come up, with the featured image. However, if I click on one of the categories at the top of my website (aka “stalk my style” or “trending”), there is no featured image next to any posts that show up for. Sorry if that was a bad explanation…but how do I fix this? I don’t have a category.php page, only an archive.php page, so I’ve only added

    <?php the_post_thumbnail();?>

    to the archive.php page.

    2. I can’t figure out how to make the text wrap around the featured image in the post exercepts. I tried adding

    .post-thumb {float: left;}

    to style.css and it didn’t work. I also tried adding

    .postthumb {
    display:block;
    float:left;
    margin:10px 10px 10px 0px;
    }

    to the style.css and it didn’t work.

    Any suggestions?? I’m feeling at a loss here.

    P.S. here is my website link: Fashion HotBox

Viewing 7 replies - 1 through 7 (of 7 total)
  • In firebug the img class shows as

    .attachment-post-thumbnail wp-post-image

    Thread Starter fashionhotbox

    (@ewerner213)

    I’m sorry, I’m not familiar with firebug…where do I put that code?

    it’s css, try it as a selector, use with the pprevious code you posted instead of or in addition to .postthumb.

    You should get familiar with a web page inspector tool like firebug, which is a free plug in for mozilla firefox.

    The other thing you REALLY should be doing is using a child theme — as is, all of your changes to the theme files are going to be overwritten when the theme is updated.

    See this:

    http://codex.wordpress.org/Child_Themes

    You may also want to contact the theme vendor for help — commercial themes are not generally supported here as it’s part of what you pay for.

    http://idesigneco.com/support

    yes, it will be more difficult otherwise, premium themes often have less obvious structures, like the issue with your lack of a category page, yet no ability to effect changes to categories via archives.php.
    And if you don’t use a child theme, at least be sure to make all changes at the bottom of the style sheet, add new code rather than changing the original.

    Thread Starter fashionhotbox

    (@ewerner213)

    Thank you both–I appreciate your help! I will contact my theme vendor.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to wrap text around images in excerpts?’ is closed to new replies.