test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • 0dass0a9d-asd Friend
    #163626

    Ah I am having so much trouble with this. I want to be able to display modules (custom html) on a page without having any articles – but I want a menu item.

    The only workaround I have found is to choose the menu item as ‘wrapper’ and insert no url and make the height ‘0px’ – but this still shows the article a little bit.

    You can see in the picture below what I mean – the white bar is the ‘wrapper’ and the other item is the module (custom html) – anybody know a workaround for this?

    Thanks.


    1. help1
    thangnn1510 Friend
    #390073

    Hi mcflause!

    I’ll give you a simple solution in this case:

    – Go to index.php in templatesja_opal then add this code:

    <?php
    $option = $_REQUEST["option"];
    if($option=="com_wrapper") $class="no-padding";
    ?>

    to about line 82.

    Change this code:

    <div id="ja-current-content" class="clearfix">

    to

    <div id="ja-current-content" class="clearfix <?php echo $class; ?>">

    – Go to /templates/ja_opal/css/template.css and add this code to the end:


    .no-padding{
    padding:0!important;
    }

    That will hide the while space for you.

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

This topic contains 2 replies, has 2 voices, and was last updated by  thangnn1510 13 years, 7 months ago.

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