-
AuthorPosts
-
0dass0a9d-asd Friend
0dass0a9d-asd
- Join date:
- September 2014
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 13
- Thanked:
- 2 times in 1 posts
May 5, 2011 at 2:25 pm #163626Ah 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.
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
May 6, 2011 at 4:46 am #390073Hi 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.
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by thangnn1510 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Displaying only modules with a menu item (no article)
Viewing 2 posts - 1 through 2 (of 2 total)