-
AuthorPosts
-
capogr Friend
capogr
- Join date:
- July 2012
- Posts:
- 11
- Downloads:
- 81
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
April 1, 2015 at 11:58 am #205204In the t3_blank template I want o remove main menu without removing off-canvas
I went to …templatest3_bs3_blanktplsblocks
In the mainnav.php
I removed<?php if ($this->getParam('navigation_collapse_enable')) : ?>
<div class="t3-navbar-collapse navbar-collapse collapse"></div>
<?php endif ?>
<?php if ($this->getParam('navigation_collapse_enable')) : ?>
<div class="t3-navbar-collapse navbar-collapse collapse"></div>
<?php endif ?>
<div class="t3-navbar navbar-collapse collapse">
<jdoc:include type="<?php echo $this->getParam('navigation_type', 'megamenu') ?>" name="<?php echo $this->getParam('mm_type', 'mainmenu') ?>" />
</div>
Is this correct? Should I do anything else?
Question 2 in order to change the default width
I must only …t3joomlatemplatest3_bs3_blankcss bootstrap.csson line 421
To the width I need?
Scott Lavelle FriendScott Lavelle
- Join date:
- November 2010
- Posts:
- 266
- Downloads:
- 16
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 64 times in 27 posts
April 1, 2015 at 2:12 pm #565366When I have wanted to use the off-canvas and not the megamenu (like when using a regular menu module instead), I have taken the off-canvas code and copied it out to the appropriate place, such as the header.php file or wherever it should be a part of often times one of the spotlight files) and then removing the call to the mega menu from the template layout.
As for the default width: If you are saying that you don’t want it to be responsive, then you need to turn off responsive mode and then change the default width elsewhere. If you still want it to be responsive, but you want the breakpoints to be a different places, you should be able to do that in the /less/variables.less file
In either case, the bootstrap.css file is NOT the place to do it. When the LESS files are compiled, they will overwrite those css files in that folder (except custom.css), so they are not a good place to edit.
Does that help?
Scott Lavelle - Technical Resource Solutions, LLC
Certified Joomla Administrator1 user says Thank You to Scott Lavelle for this useful post
capogr Friendcapogr
- Join date:
- July 2012
- Posts:
- 11
- Downloads:
- 81
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
April 1, 2015 at 2:26 pm #565368Thank you for your quick reply !
I wanted to know if by deleting the code would affect any way the site. But since it seems ok and no problem in the debugger.
In the Default width I want decrease the width of the template not to make no responsiveSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 3, 2015 at 2:55 am #565566You can check out this documentation for more info: http://www.t3-framework.org/documentation/bs3-customization#layout-width
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 3 voices, and was last updated by Saguaros 9 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
T3 blank template customization
Viewing 4 posts - 1 through 4 (of 4 total)