Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • brasspla Friend
    #139820

    hi,

    After installation the picture used in the frontpage article was in the upper right corner of the template, I changed the page claa suffix to _fp, now the picture is in the content part of the template but covers the text.

    Any idea’s ?

    Thanks
    Peter

    Css Magician Friend
    #299641

    Hi brasspla,
    Please give your live site to me!

    Michael Casha Friend
    #299648

    Live Site URL: http://www.comfortland.de

    Css Magician Friend
    #299677

    Hi brasspla,
    The demo has the problem because the picture is too big. So, I think It has two solutions. The best solution: the your picture should have only the width is 75px. With the normal solutions when picture must have the width as the present, you should:
    in template.css line 505


    .contentpaneopen_fp .ja-innerpad {
    min-height:100px;
    /*padding-left:88px;*/
    }

    In line 518 :


    div.img-desc {
    float:left;
    /*left:0;
    position:absolute;
    top:0;*/
    }

    In line 524, change :


    div.content-desc h2.contentheading_fp {
    background:#810C46;
    clear:right;
    color:#FFFFFF;
    float:left;
    font-size:100%;
    margin:0 0 10px;
    padding:3px 10px;
    text-transform:uppercase;
    }

    to


    div.article-content h2.contentheading_fp {
    background:#810C46;
    color:#FFFFFF;
    font-size:100%;
    margin:0 0 10px;
    padding:3px 10px;
    text-transform:uppercase;
    }

    And then, in templates/ja_quartz/html/com_content/frontpage/default_item.php line 75, change code :
    [PHP]
    <div class=”content-desc”>
    <?php if ($this->item->params->get(‘show_title’)) : ?>
    <h2 class=”contentheading<?php echo $this->item->params->get( ‘pageclass_sfx’ ); ?>”>
    <?php if ($this->item->params->get(‘link_titles’) && $this->item->readmore_link != ”) : ?>
    <a href=”<?php echo $this->item->readmore_link; ?>” class=”contentpagetitle<?php echo $this->item->params->get( ‘pageclass_sfx’ ); ?>”>
    <?php echo $this->item->title; ?>
    </a>
    <?php else : ?>
    <?php echo $this->item->title; ?>
    <?php endif; ?>
    </h2>
    <?php endif; ?>
    <?php echo $this->item->text; ?>
    </div>
    [/PHP]
    to
    [PHP]
    <?php if ($this->item->params->get(‘show_title’)) : ?>
    <h2 class=”contentheading<?php echo $this->item->params->get( ‘pageclass_sfx’ ); ?>”>
    <?php if ($this->item->params->get(‘link_titles’) && $this->item->readmore_link != ”) : ?>
    <a href=”<?php echo $this->item->readmore_link; ?>” class=”contentpagetitle<?php echo $this->item->params->get( ‘pageclass_sfx’ ); ?>”>
    <?php echo $this->item->title; ?>
    </a>
    <?php else : ?>
    <?php echo $this->item->title; ?>
    <?php endif; ?>
    </h2>
    <?php endif; ?>
    <?php echo $this->item->text; ?>
    [/PHP]

    Good luck

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

This topic contains 4 replies, has 3 voices, and was last updated by  Css Magician 15 years, 7 months ago.

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