Hide 'subcategories'
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Intern
- Posts: 52
- Joined: Mon Mar 16, 2009 12:51 am
Hide 'subcategories'
Hello I am using Beez 20, I set in a menu item to show the category in a blog format in order to see the content of the category. The thing is that i have sub-categories in this category and appear the title : 'Sub-categories' I cannot find how to hide this, someone know?
Thank you very much
Thank you very much
-
- Joomla! Apprentice
- Posts: 40
- Joined: Mon Apr 04, 2011 9:45 am
Re: Hide 'subcategories'
i've got the same problem
-
- Joomla! Apprentice
- Posts: 29
- Joined: Thu Aug 12, 2010 1:52 am
Re: Hide 'subcategories'
me too. I Just want to see a list of categories and no subcategories until I click in the category. This way I can view a short list of subcategories in one category. Right now the page is filled with all of the categories and their subcategories.
-
- Joomla! Explorer
- Posts: 311
- Joined: Wed Jun 29, 2011 11:22 am
Re: Hide 'subcategories'
You can set the number of levels that show:
Menu item > Category options > Subcategory levels (select desired outcome, i.e none)
Menu item > Category options > Subcategory levels (select desired outcome, i.e none)
-
- Joomla! Apprentice
- Posts: 40
- Joined: Mon Apr 04, 2011 9:45 am
Re: Hide 'subcategories'
thanks
-
- Joomla! Apprentice
- Posts: 32
- Joined: Wed May 11, 2011 6:04 pm
Re: Hide 'subcategories'
Hi There,
Please how can I remove that Subcatogories Title in the Category List Menu?
Please check the screen shot.
Thank you
Please how can I remove that Subcatogories Title in the Category List Menu?
Code: Select all
<h3>
Sub-categorias </h3>
Thank you
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Explorer
- Posts: 311
- Joined: Wed Jun 29, 2011 11:22 am
Re: Hide 'subcategories'
Category manager> Options> Category> Subcategory Levels (set this to 0).Dasmonstrum2 wrote:Please how can I remove that Subcatogories Title in the Category List Menu?
-
- Joomla! Apprentice
- Posts: 32
- Joined: Wed May 11, 2011 6:04 pm
Re: Hide 'subcategories'
Thanks. But that will also stop showing the subgategories.cmsj wrote:Category manager> Options> Category> Subcategory Levels (set this to 0).Dasmonstrum2 wrote:Please how can I remove that Subcatogories Title in the Category List Menu?
I would like to remove just the Title: Subgategories.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sat Oct 04, 2008 4:41 pm
Re: Hide 'subcategories'
Have the same problem, want to get rid of subcategory title not the subcategory list.
In the options there is no setting to remove subcategory title, there is however a setting to remove category title. And also there is no way to input 0 as someone has suggested, you only have None, All, 1,2,3,4,5.
A little bit annoying, should be easy to solve, but it is not.
In the options there is no setting to remove subcategory title, there is however a setting to remove category title. And also there is no way to input 0 as someone has suggested, you only have None, All, 1,2,3,4,5.
A little bit annoying, should be easy to solve, but it is not.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sat Oct 04, 2008 4:41 pm
Re: Hide 'subcategories'
Found a solution elsewhere, might help others until a better solution comes along.
How to hide Subcategory Title
Edit language/en-GB/en-GB.ini
find on line 195
JGLOBAL_SUBCATEGORIES=”Subcategories”
replace with
JGLOBAL_SUBCATEGORIES=””
Another way to achieve same result is to edit language\overrides\en-GB.override.ini
and add this line
JGLOBAL_SUBCATEGORIES=””
Worked for me
Cheers
How to hide Subcategory Title
Edit language/en-GB/en-GB.ini
find on line 195
JGLOBAL_SUBCATEGORIES=”Subcategories”
replace with
JGLOBAL_SUBCATEGORIES=””
Another way to achieve same result is to edit language\overrides\en-GB.override.ini
and add this line
JGLOBAL_SUBCATEGORIES=””
Worked for me
Cheers
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Nov 06, 2009 7:57 pm
Re: Hide 'subcategories'
iv followed the above instructions but the change isnt showing on my website 

-
- Joomla! Apprentice
- Posts: 5
- Joined: Sat Oct 04, 2008 4:41 pm
Re: Hide 'subcategories'
Assuming you have also changed options in article manager regarding subcategories then it might be you need to clear cache.
I did have problems with the last one (override) just use the Edit language/en-GB/en-GB.ini and it should work, that is all I did.
Ensure you don't remove the line completely, only remove the word Subcategories
Cheers
I did have problems with the last one (override) just use the Edit language/en-GB/en-GB.ini and it should work, that is all I did.
Ensure you don't remove the line completely, only remove the word Subcategories
Cheers
-
- Joomla! Enthusiast
- Posts: 117
- Joined: Mon Dec 15, 2008 7:23 pm
Re: Hide 'subcategories'
This is an easy fix, although it doesn't remove it from the source code, it does remove it from the display.
In your template css file, add this rule:
The subcategory text will no longer display.
In your template css file, add this rule:
Code: Select all
div.cat-children h3
{
display:none;
}
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Dec 09, 2011 4:56 pm
Re: Hide 'subcategories'
THANKS!! This was driving me nuts and this worked!!keb1965 wrote:This is an easy fix, although it doesn't remove it from the source code, it does remove it from the display.
In your template css file, add this rule:The subcategory text will no longer display.Code: Select all
div.cat-children h3 { display:none; }

-
- Joomla! Enthusiast
- Posts: 117
- Joined: Mon Dec 15, 2008 7:23 pm
Re: Hide 'subcategories'
Sometimes we miss the simplest solutions. Glad I could help!
-
- Joomla! Apprentice
- Posts: 15
- Joined: Thu Nov 03, 2011 9:21 am
Re: Hide 'subcategories'
How to hide Subcategory Title
Edit language/en-GB/en-GB.ini
find on line 195
JGLOBAL_SUBCATEGORIES=”Subcategories”
replace with
JGLOBAL_SUBCATEGORIES=””
Another way to achieve same result is to edit language\overrides\en-GB.override.ini
and add this line
JGLOBAL_SUBCATEGORIES=””
***** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed *****____
This worked very well for me. Thanks for the help!
Does anyone know how to hid the link list aswell?
/Monica
Edit language/en-GB/en-GB.ini
find on line 195
JGLOBAL_SUBCATEGORIES=”Subcategories”
replace with
JGLOBAL_SUBCATEGORIES=””
Another way to achieve same result is to edit language\overrides\en-GB.override.ini
and add this line
JGLOBAL_SUBCATEGORIES=””
***** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed ********** Manual signatures are NOT allowed *****____
This worked very well for me. Thanks for the help!
Does anyone know how to hid the link list aswell?
/Monica
-
- Joomla! Enthusiast
- Posts: 117
- Joined: Mon Dec 15, 2008 7:23 pm
Re: Hide 'subcategories'
The only problem with that is that the attributes of the subcategory div remain on the screen to be seen. By using the CSS fix above, the entire div is rendered invisisble.
- joomlacorner
- Joomla! Explorer
- Posts: 390
- Joined: Thu Aug 18, 2005 2:29 am
- Contact:
Re: Hide 'subcategories'
I create patch for solved this.
http://joomlacode.org/gf/project/joomla ... m_id=27945
http://joomlacode.org/gf/project/joomla ... m_id=27945
รับพัฒนาระบบด้วย Joomla http://marvelic.co.th | ทีมพัฒนาภาษาไทย http://www.joomlacorner.com
- LukeDouglas
- Joomla! Explorer
- Posts: 253
- Joined: Sat Dec 08, 2007 8:23 pm
- Contact:
Re: Hide 'subcategories'
The CSS code is the way to go to resolve this. If you hack any of the underlying Joomla code, it may be overwritten by future updates. I use the Gantry framework and have mycustomstyles.css file so even a template update will not break my changes.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Jul 27, 2012 10:35 am
Re: Hide 'subcategories'
Is the only way to hide 'subcategories' by making changes to code?technoboyuk wrote:Have the same problem, want to get rid of subcategory title not the subcategory list.
In the options there is no setting to remove subcategory title, there is however a setting to remove category title. And also there is no way to input 0 as someone has suggested, you only have None, All, 1,2,3,4,5.
A little bit annoying, should be easy to solve, but it is not.
- LukeDouglas
- Joomla! Explorer
- Posts: 253
- Joined: Sat Dec 08, 2007 8:23 pm
- Contact:
Re: Hide 'subcategories'
It is bad, very bad to hack code, period. Use CSS to simply 'hide' the container. You can do this in a mycustomstyle.css in the 'css' directory. If you are not familiar with this process, read this forum post as it rocks: http://www.rockettheme.com/forum/index. ... =viewtopickimwesterling wrote:Is the only way to hide 'subcategories' by making changes to code?technoboyuk wrote:Have the same problem, want to get rid of subcategory title not the subcategory list.
In the options there is no setting to remove subcategory title, there is however a setting to remove category title. And also there is no way to input 0 as someone has suggested, you only have None, All, 1,2,3,4,5.
A little bit annoying, should be easy to solve, but it is not.
You will need to determine the container class or ID by inspecting the webpage. I use Firebug with my Firefox. Once you find the class or ID, simply add it to your mycustomstyle.css.
Here's an example. Let's say your DIV container class name is 'subcat'. Then add this to your mycustomstyle.css sheet:
Code: Select all
.subcat > div {
height: 0px;
overflow:hidden;
}
Code: Select all
.subcat > div {
height: 0px !important;
overflow:hidden !important;
}
When I create a new website with Joomla and Gantry, the first thing I do after installing my Gantry template is to add this custom style setup. I do it for all of my sites and it works just fine.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Mon Apr 26, 2010 4:12 am
Re: Hide 'subcategories'
On j25 Go to Menu Manager»Choose the category Blog Menu you want to change»On the right click on Category Options»on Subcategory Levels choose None
It worked for me.
It worked for me.
-
- Joomla! Apprentice
- Posts: 26
- Joined: Tue Feb 23, 2010 1:45 am
Re: Hide 'subcategories'
Code: Select all
div.cat-children h3
{
display:none;
}
- Per Yngve Berg
- Joomla! Master
- Posts: 29802
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Hide 'subcategories'
No, unless they have the h3 in a div with class cat-children.
-
- Joomla! Enthusiast
- Posts: 156
- Joined: Thu Jul 05, 2012 4:32 pm
Re: Hide 'subcategories'
Is there any particular spot that the code should be added (main layout, header, showcase, etc)? I am using the RocketTheme Afterburner template.
-
- Joomla! Enthusiast
- Posts: 156
- Joined: Thu Jul 05, 2012 4:32 pm
[SOLVED] Re: Hide 'subcategories'
I am able to hide menus and subcategories.
-
- Joomla! Apprentice
- Posts: 23
- Joined: Fri Dec 28, 2007 5:28 pm
Re: Hide 'subcategories'
The CSS solution is the best here. However I find it only marginally acceptable. Editing a CSS or Core files is not a real solution for THIS issue. The real solution is to have the option to not display "Subcategories" at all. It is a description that the site visitor probably cares little to nothing about and therefore it detracts from the page.
I've edited the CSS to hide it, however the real solution is to give the option from that menu.
Subcategories Description: Hide, Show, Global.
IN my case, we have a Category called "Newsletter" each Subcategory is Month/Year label. I don't want "Subcategory" appearing on the page, just a list of the newsletters available. Changing the setting to 0 shows none of the newsletters, and 1 simply is the "Subcategory" heading followed by the Newsletter Titles. YUCK.
I saw the fix submitted back in Feb to the code, and am wondering why it hasn't yet been reviewed/edited and added to the tree.
I've edited the CSS to hide it, however the real solution is to give the option from that menu.
Subcategories Description: Hide, Show, Global.
IN my case, we have a Category called "Newsletter" each Subcategory is Month/Year label. I don't want "Subcategory" appearing on the page, just a list of the newsletters available. Changing the setting to 0 shows none of the newsletters, and 1 simply is the "Subcategory" heading followed by the Newsletter Titles. YUCK.
I saw the fix submitted back in Feb to the code, and am wondering why it hasn't yet been reviewed/edited and added to the tree.
- LukeDouglas
- Joomla! Explorer
- Posts: 253
- Joined: Sat Dec 08, 2007 8:23 pm
- Contact:
Re: Hide 'subcategories'
I suspect these forums are not read very often by the development team. You should probably post a suggestion to https://groups.google.com/forum/?fromgr ... ev-generalArchangel Michael wrote:I saw the fix submitted back in Feb to the code, and am wondering why it hasn't yet been reviewed/edited and added to the tree.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Fri May 25, 2012 8:56 pm
Re: Hide 'subcategories'
The CSS fix works for display, but does anyone know a way to remove the <h3>Subcategories</h3> from source code?
Thanks!
Daniel
Thanks!
Daniel
- Per Yngve Berg
- Joomla! Master
- Posts: 29802
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Hide 'subcategories'
Why do you not use the archive for this?Archangel Michael wrote:IN my case, we have a Category called "Newsletter" each Subcategory is Month/Year label. I don't want "Subcategory" appearing on the page, just a list of the newsletters available. Changing the setting to 0 shows none of the newsletters, and 1 simply is the "Subcategory" heading followed by the Newsletter Titles. YUCK.