-
AuthorPosts
-
chizuoka Friend
chizuoka
- Join date:
- June 2013
- Posts:
- 38
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 11
- Thanked:
- 2 times in 1 posts
May 3, 2014 at 11:10 am #197346I have run through the forum for this.. it says to go to template manager – profiles and turn off main content… however my template manager does not even seem to have that profiles tab… may i know how i can turn it off for the home page then?
chizuoka Friendchizuoka
- Join date:
- June 2013
- Posts:
- 38
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 11
- Thanked:
- 2 times in 1 posts
May 3, 2014 at 11:12 am #533401Just a further question to this.. the reason i am turning it off is because it opens articles inline with the home page. I was told in another topic that i needed to create a new menu item for that article to open in article page… how ever its a blog entry.. i cant be creating a new menu item everytime an article goes there..
Is there another solution?
Thanks.
* How do you create a hidden menu item btw?
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
May 5, 2014 at 3:37 pm #533622<blockquote>
it says to go to template manager – profiles and turn off main content…
</blockquote>
You mean the configuration option as in this screenshot?If that’s the case, this feature is available only in T3V2 framework. With new version of T3, it has been deprecated. In new T3, to remove main content, you need to change directly in source code. It depends on specific template, the modification might vary. Please let me know what’s your template, I will give you suggestion then.
<blockquote>
the reason i am turning it off is because it opens articles inline with the home page. I was told in another topic that i needed to create a new menu item for that article to open in article page… how ever its a blog entry.. i cant be creating a new menu item everytime an article goes there..
</blockquote>Sorry for not getting the idea on this. Could you explain in more detail again?
May 11, 2014 at 5:22 pm #534512Hello,
Some question for me: how can I disable mainbody content only on the home page?
I have tried
.t3-mainbody {
padding-bottom: 40px;
padding-top: 40px;
display: none;
}But mainbody is disabled on every page on ja_beranis template.
Thanks
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 12, 2014 at 4:07 am #534561@aeniselmomoh: You can try workaround below
Create templates/ja_beranis/css/custom.css file and add new rule:
.home .t3-mainbody {
display: none;
}1 user says Thank You to Ninja Lead for this useful post
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
May 12, 2014 at 4:30 am #534565<em>@aeniselmomoh 426460 wrote:</em><blockquote>Hello,
Some question for me: how can I disable mainbody content only on the home page?
I have tried
.t3-mainbody {
padding-bottom: 40px;
padding-top: 40px;
display: none;
}Thanks</blockquote>
In the case, you need to clone layout “default.php” of template for home page. Open the “templates/ja_beranis/tpls/” folder, duplicate the file “default.php” and rename it to “home.php”. Open the new file, and remove code:
<?php $this->loadBlock ('mainbody') ?>
Go to administrator->templates -> JA Beranis, tick the check box to select ” ja_beranis – Default” style, then click to “duplicate”. See this screenshot:
Go to duplicated style, in tab “Assignment”, choose menu “Home”.
In tab “layout”, assign “Position & Responsive Configuration” option with “Home”
- May 12, 2014 at 4:46 pm #534715
<em>@Ninja Lead 426530 wrote:</em><blockquote>@aeniselmomoh: You can try workaround below
Create templates/ja_beranis/css/custom.css file and add new rule:
.home .t3-mainbody {
display: none;
}
</blockquote>it works! Thank you & MoonSailor too 🙂
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 4 voices, and was last updated by aeniselmomoh 10 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum