Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3762
    unster
    Member

    Hey,

    I managed to place thumbnail next to the excerpt, but suddenly after update everything went wrong:

    the url is: http://txt.tarno.pl

    and the code:

    <code>

    <div id=”cont”>
    <div class=”thumbimg”>
    <div class=”col3 post-img”>
    <a href=”<?php the_permalink(); ?>” title=”<?php printf( esc_attr__( ‘Permalink to %s’, ‘simplecatch’ ), the_title_attribute( ‘echo=0’ ) ); ?>”><?php the_post_thumbnail( ‘featured’ ); ?></a>
    </div> <!– .col3 –>
    </div>

    <div class=”exc”>
    <?php the_excerpt(); ?>
    </div>
    </div>

    </code>

    and css:

    <code>

    #cont { width: 100% }
    .thumbimg, .exc
    {
    display: inline-block;
    }
    .thumbimg
    {
    height:120px;
    width:120px;
    position:absolute;
    }
    .exc
    {
    margin-left:145px;
    min-height:145px;
    }

    </code>

    anything?

    #3781
    Sakin
    Keymaster

    @unster: Don’t change the theme core files. If you just want to change the css then add the custom css in “Custom CSS” box in your theme option. But if you want to do further customization in php files then you need to build child theme and do the changes. If you make changes in this way then you will not lose your edits while you perform the update.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Problem with thumbnail after update’ is closed to new replies.