Advertisement
Display Menu Module Title when menu module is in footer position Topic is solved
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Apprentice
- Posts: 42
- Joined: Sun Jan 03, 2021 3:44 am
Display Menu Module Title when menu module is in footer position
I am using the default Cassiopeia template and I am trying to place a new bottom menu module in the footer position. The menu items display but the menu module title does not display. I can place a custom module in the footer position and the custom module title displays. I have look at the footer with the Inspector and I have read all 15,000 lines in the Cassiopeia template.css. I have also tried varying the Menu Module layout without success.
I have also tried to display the Main Menu module in the footer position with the title on. The Main Menu module will display vertically but the module title will not display. The Main Menu will display horizontally in the Cassiopeia Menu position. But the Main Menu module title will not display. However, the Main Menu Module Title will display when the module is placed in the right side bar.
Ironically when switching to the Helix Ultimate template and the menu module is in the footer position, the menu module title does display.
So my question is:
How do I get my Bottom Menu Title to display when the bottom menu is placed in the footer module position using the Cassiopeia template?
I have also tried to display the Main Menu module in the footer position with the title on. The Main Menu module will display vertically but the module title will not display. The Main Menu will display horizontally in the Cassiopeia Menu position. But the Main Menu module title will not display. However, the Main Menu Module Title will display when the module is placed in the right side bar.
Ironically when switching to the Helix Ultimate template and the menu module is in the footer position, the menu module title does display.
So my question is:
How do I get my Bottom Menu Title to display when the bottom menu is placed in the footer module position using the Cassiopeia template?
Advertisement
-
- Joomla! Enthusiast
- Posts: 111
- Joined: Thu Apr 04, 2024 11:17 pm
Re: Display Menu Module Title when menu module is in footer position
It's normal for any module title not to appear when the module is displayed in the Footer position in Cassiopeia. It has nothing to do with CSS. If you want the module title to appear then you will have to create a template override.
Alternatively, you could write another module—a custom module—to display some text (e.g. "Main Menu") and have that module appear before some other module. If some other template, like Helix Ultimate, displays module titles then that's a design feature of that template. It's not a design feature of Cassiopeia.
I haven't seen any questions/solutions posted on the Joomla forum that might explain what how to code a footer override, sorry.
Alternatively, you could write another module—a custom module—to display some text (e.g. "Main Menu") and have that module appear before some other module. If some other template, like Helix Ultimate, displays module titles then that's a design feature of that template. It's not a design feature of Cassiopeia.
I haven't seen any questions/solutions posted on the Joomla forum that might explain what how to code a footer override, sorry.
- Webdongle
- Joomla! Master
- Posts: 44831
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Display Menu Module Title when menu module is in footer position
Link to the page with the menu module in the bottom position please. Also make sure Set Preview Module Positions is set to Enabled https://docs.joomla.org/Finding_module_ ... given_page
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- Webdongle
- Joomla! Master
- Posts: 44831
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Display Menu Module Title when menu module is in footer position
Why would the settings of a menu module not apply to a menu module in the footer module position?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 42
- Joined: Sun Jan 03, 2021 3:44 am
Re: Display Menu Module Title when menu module is in footer position
Thanks for the suggestions. On further research, I was able to determine the source of the problem. Titles do not appear in the Cassiopeia footer module row for the following reason. Near the end of the cassiopeia index.php file, in the footer module row, is the following line:
<jdoc:include type="modules" name="footer" style="none" />
Meanwhile, all of the module rows that do display the title (for example, bottom-b) have this line:
<jdoc:include type="modules" name="bottom-b" style="card" />
Therefore, the solution is to create a child template and copy the parent index.php into the child template. Then change the footer style from none to card. Then click Save and Close. Problem solved… all the module titles including menu titles now appear in the Cassiopeia Child Template footer module row.
<jdoc:include type="modules" name="footer" style="none" />
Meanwhile, all of the module rows that do display the title (for example, bottom-b) have this line:
<jdoc:include type="modules" name="bottom-b" style="card" />
Therefore, the solution is to create a child template and copy the parent index.php into the child template. Then change the footer style from none to card. Then click Save and Close. Problem solved… all the module titles including menu titles now appear in the Cassiopeia Child Template footer module row.
- Per Yngve Berg
- Joomla! Master
- Posts: 31507
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Display Menu Module Title when menu module is in footer position
The Style can be overridden in the Module's Options. Bottom Option .
- Webdongle
- Joomla! Master
- Posts: 44831
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Display Menu Module Title when menu module is in footer position
No need to create a child template for that. If you want more than one position for a menu just copy the menu and edit each copy accordingly.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Guru
- Posts: 599
- Joined: Fri Dec 02, 2005 10:46 am
- Location: The Netherlands
Re: Display Menu Module Title when menu module is in footer position
As you figured the style="..." sets the... module style.
style="none" only displays the content of a module.
You can find the different styles under ~/layouts/chromes/
You can create overrides or create your own, just like everything else in Joomla.
Sure you can create a child template just to change a style.
Note: the footer position is loaded in index.php and error.php.
But you can also set a module style in the backend.
- Open or create a module
- Go to tab:Advanced
- At Module style select the style you like to use.
This will override the default style="...".
style="none" only displays the content of a module.
You can find the different styles under ~/layouts/chromes/
You can create overrides or create your own, just like everything else in Joomla.
Sure you can create a child template just to change a style.
Note: the footer position is loaded in index.php and error.php.
But you can also set a module style in the backend.
- Open or create a module
- Go to tab:Advanced
- At Module style select the style you like to use.
This will override the default style="...".
Advertisement