Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • nilgunce Friend
    #203107

    How can I adjust my sites layout? The module is not aligned to the left.
    Distances between articles are too long.
    How can I fix?


    1. module-layout
    Saguaros Moderator
    #556886

    Actually, it’s aligned but there is a div tag before it so that you will see there is a distance there.

    You can go to file: templatesuberhtmlcom_contentcategoryxblog2_item.php, find and remove this snippet of code:


    <aside class="article-aside col-sm-3 col-md-2 hidden-xs clearfix">
    <?php // to do not that elegant would be nice to group the params ?>
    <?php if ($hasInfo) : ?>
    <?php echo JLayoutHelper::render('joomla.content.info_block.block_blog2', array('item' => $this->item, 'params' => $params, 'position' => 'above')); ?>
    <?php endif; ?>
    </aside>

    For the distance between articles, you open file: templatesubercsscustom.css (create this file if it doesn’t exist) and add this css rule:


    .blog.blog-2 .blog-item{
    margin-bottom: 0;
    padding-bottom: 0;
    }

    nilgunce Friend
    #556959

    Thank you Saguaros. Great!

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

This topic contains 3 replies, has 2 voices, and was last updated by  nilgunce 9 years, 11 months ago.

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