Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • tkc12 Friend
    #143185

    Hi,

    I only want my home page to show the photo gallery for this template and disabled all front page articles to only show in their sections. However, there seems to have a black block displaying in the main content area… may I know how can I get rid of it?

    Please refer to the attachment, thank you.

    KC

    mihirc Friend
    #312953

    Hello,

    I would suggest a pretty simple hack that would do the trick.

    <?php if( JRequest::getVar( ‘view’ ) == ‘frontpage’ ) { ?>
    <style type=”text/css”>
    #ja-cs-wrap, #ja-containerwrap, #ja-botslwrap1, #ja-botslwrap2{ display:none; }
    </style>
    <?php } ?>

    This will basically hide all the blocks on the frontpage only, doing exactly what you want. You can also link a stylesheet and put the code in that.

    Hope this helps,
    Mihir Chhatre.

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

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

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