Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • sp4rt4n Friend
    #143537

    The problem is a little hard to explain, but you can view it here:

    http://iongaming.net/mkpbuilds/

    Basically if you look under ‘Home’, youll notice that even though the article is justified, it only takes up about 3/4 of the block area (which looks bad in my humble opinion).

    Any ideas on a way to fix this?

    EDIT:

    Also, it only shows the first paragraph of text, the whole article should read:

    “Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque adipiscing dui vitae est rhoncus et pellentesque urna sodales. Aliquam accumsan, tortor in ultrices interdum, felis lectus aliquam lectus, in sagittis lectus diam sit amet sapien. Ut porttitor viverra lacus vel varius. Aenean accumsan suscipit turpis et sodales. Quisque nec ipsum sit amet dui ullamcorper vestibulum. Phasellus suscipit ante urna, in mollis lorem. Ut mi enim, condimentum id rhoncus quis, convallis non sem. Etiam lobortis porta neque, et euismod turpis posuere ac. Proin eget tempus nulla. Vivamus quis nunc sapien. Aenean a tellus sapien. Aliquam venenatis risus et quam varius mattis non a neque. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Ut euismod nunc a diam luctus pellentesque. Vivamus vitae eros id elit rutrum malesuada. Nam aliquam urna ut arcu sollicitudin imperdiet. Nunc cursus, eros in faucibus ultricies, est odio ullamcorper nunc, id luctus odio lacus sit amet eros. Sed mattis dapibus nisl, vitae semper augue tincidunt eget. Pellentesque fermentum tincidunt ante ut tempus. Donec orci elit, sodales vitae elementum non, laoreet eu lectus.

    Donec sit amet eros ante. Suspendisse fringilla vulputate dui, et condimentum neque sollicitudin eget. Sed condimentum pharetra dolor, et gravida magna mollis vitae. Etiam vestibulum mattis lorem vitae malesuada. Quisque ultricies tincidunt dui ut malesuada. Pellentesque in justo eu mauris ultrices ultricies. Vestibulum auctor pulvinar orci interdum bibendum. Vivamus ac augue nisl. Cras imperdiet mollis justo ut viverra. Donec consectetur eleifend lorem, ut lobortis lectus tempor quis. Fusce dignissim est sagittis massa condimentum commodo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In faucibus consequat nunc ac blandit. In sit amet lobortis felis. Pellentesque hendrerit massa ut risus tincidunt et euismod est porttitor. Praesent eu ipsum vel odio sodales commodo. Nam erat nulla, tincidunt in cursus ut, sollicitudin eu augue. Donec turpis ipsum, ullamcorper eu bibendum quis, suscipit nec orci. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. “

    Arvind Chauhan Moderator
    #314614

    Hi sp4rt4n,

    Try this. Open your template.css and around line 236.

    Change this code :

    [php]div.fp-leading {
    float:left;
    width:60%;
    }[/php]to
    [php]
    div.fp-leading {
    float:left;
    width:100%;
    }[/php]

    Hope this helps you out.

    Regards

    Arvind

    sp4rt4n Friend
    #314689

    <em>@drarvindc 141136 wrote:</em><blockquote>Hi sp4rt4n,

    Try this. Open your template.css and around line 236.

    Change this code :

    [php]div.fp-leading {
    float:left;
    width:60%;
    }[/php]to
    [php]
    div.fp-leading {
    float:left;
    width:100%;
    }[/php]

    Hope this helps you out.

    Regards

    Arvind</blockquote>

    Awesome, that fixed my first problem!

    Im still having a problem where it will only show the first paragraph though. Any clues on that one?

    Barry Bland Friend
    #316976

    in this file:

    ja_cooper_business/html/com_content/frontpage/default_leading.php

    on line 142

    replace:

    <?php echo JA_Tools::getFirstP($this->item->text); ?>

    with:

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

    JA_Tools getfirstP is from ja_templatetools_1.5.php file right at the bottom. It fetches the first paragraph of text only…

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

This topic contains 4 replies, has 3 voices, and was last updated by  Barry Bland 15 years, 2 months ago.

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