Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Peter Matra Friend
    #176734

    Hi,

    I have a Category Blog layout set up for a site I am building. The images and layout are not being followed yet they are fine in the article.

    You can see what I mean here: http://174.121.36.165/~tgagenet/index.php/strains

    The text should be under the image. Not to the side.

    I have seen others have this problem with other templates but never found a satisfactory solution to it.
    Thanks


    1. Kranos_blog
    khoand Friend
    #451554

    You remove the code from /templates/your_template/css/template.css

    .blog-image .item .contentpaneopen {
    padding-left: 250px;
    }

    And replace the code from template.css

    .blog-image .article-image {
    position: absolute;
    top: 0;
    left: 0;
    }

    with

    .blog-image .article-image {
    top: 0;
    left: 0;
    float: left;
    }

    Peter Matra Friend
    #451629

    Thank you it seems to work now thanks.

    Now it’s time to change the size of the thumbnails.

    How do I get the thumbnail UNDER the title?

    khoand Friend
    #451653

    You cut the code from /templates/ja_kranos/html/com_content/category/blog_item.php

    <?php if ($image) : ?>
    <div class="article-image">
    <?php echo $image ?>
    <?php if ($params->get('show_create_date')) : ?>
    <span class="create">
    <?php
    $createDay = date('d', strtotime( $this->item->created ));
    $createMonth = JText::_(strtoupper(date('F', strtotime( $this->item->created )))."_SHORT");
    $createYear = date('Y', strtotime( $this->item->created ));
    ?>
    <span class="date"><?php echo $createDay; ?></span>
    <span class="month-year">
    <span class="month"><?php echo $createMonth; ?></span>
    <span class="year"><?php echo $createYear; ?></span>
    </span>
    </span>
    <?php endif; ?>
    </div>
    <?php endif; ?>

    and paste it before


    <?php echo $this->item->introtext; ?>

    Peter Matra Friend
    #451726

    Thank you very much for your prompt responses.

    I knew it had something to do with moving the code below the intro php. I didn’t notice it was lower…:eek:

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  Peter Matra 12 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum