-
AuthorPosts
-
gavner Friend
gavner
- Join date:
- June 2008
- Posts:
- 142
- Downloads:
- 213
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
September 23, 2015 at 7:19 am #691817How can I use code to hide the main menu for specific pages in this template ?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 23, 2015 at 10:48 am #691866<em>@gavner 493698 wrote:</em><blockquote>How can I use code to hide the main menu for specific pages in this template ?</blockquote>
Hi there
You can use a class suffix for the specific page ( menu item ) open your custom.css file and add
.nomenu .t3-mainnav .t3-navbar {
display:none!important;
}Then your menu item add the class suffix nomenu in the page display tab -> page class
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 23, 2015 at 10:48 am #749460<em>@gavner 493698 wrote:</em><blockquote>How can I use code to hide the main menu for specific pages in this template ?</blockquote>
Hi there
You can use a class suffix for the specific page ( menu item ) open your custom.css file and add
.nomenu .t3-mainnav .t3-navbar {
display:none!important;
}Then your menu item add the class suffix nomenu in the page display tab -> page class
gavner Friendgavner
- Join date:
- June 2008
- Posts:
- 142
- Downloads:
- 213
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
September 23, 2015 at 4:06 pm #691987I added everything as you mentioned but there is no change. this is the page that should display no menu
http://thewhitehawktuts.com/index.php?option=com_content&view=article&id=67
gavner Friendgavner
- Join date:
- June 2008
- Posts:
- 142
- Downloads:
- 213
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
September 23, 2015 at 4:06 pm #749500I added everything as you mentioned but there is no change. this is the page that should display no menu
http://thewhitehawktuts.com/index.php?option=com_content&view=article&id=67
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 23, 2015 at 4:11 pm #691988I cannot see any custom.css file loaded in that page
are you sure you added it ?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 23, 2015 at 4:11 pm #749501I cannot see any custom.css file loaded in that page
are you sure you added it ?
gavner Friendgavner
- Join date:
- June 2008
- Posts:
- 142
- Downloads:
- 213
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
September 23, 2015 at 4:14 pm #691989See attached where the custom css file is positioned
gavner Friendgavner
- Join date:
- June 2008
- Posts:
- 142
- Downloads:
- 213
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
September 23, 2015 at 4:14 pm #749502See attached where the custom css file is positioned
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 23, 2015 at 4:23 pm #691990The account for your backend provided here is not working, if you want me to take a look at your configuration send me a working account via Private Message
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 23, 2015 at 4:23 pm #749503The account for your backend provided here is not working, if you want me to take a look at your configuration send me a working account via Private Message
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 24, 2015 at 6:03 am #692158<em>@gavner 493810 wrote:</em><blockquote>I added everything as you mentioned but there is no change. this is the page that should display no menu
http://thewhitehawktuts.com/index.php?option=com_content&view=article&id=67</blockquote>
Hi,
I fixed the problem directly on your site from templates/ja_events_ii/css/custom.css file with css style
.view-article .t3-mainnav .t3-navbar {
display: none !important;
}and beside that, I fixed the missing close } tab in css in custom.css file
@media (max-width: 410px) {
.logo-image img {max-width: 120px}
@media (min-width: 1600px) {
.container {width: 1500px}
You can check it again, let me know if it helps
Regards
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 24, 2015 at 6:03 am #749558<em>@gavner 493810 wrote:</em><blockquote>I added everything as you mentioned but there is no change. this is the page that should display no menu
http://thewhitehawktuts.com/index.php?option=com_content&view=article&id=67</blockquote>
Hi,
I fixed the problem directly on your site from templates/ja_events_ii/css/custom.css file with css style
.view-article .t3-mainnav .t3-navbar {
display: none !important;
}and beside that, I fixed the missing close } tab in css in custom.css file
@media (max-width: 410px) {
.logo-image img {max-width: 120px}
@media (min-width: 1600px) {
.container {width: 1500px}
You can check it again, let me know if it helps
Regards
-
AuthorPosts
This topic contains 15 replies, has 3 voices, and was last updated by Ninja Lead 9 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum