Developing a Joomla 4 Template
Please Log in or Create an account to join the conversation.
4 months 1 week ago #93
by [email protected]
Replied by [email protected] on topic Developing a Joomla 4 Template
Thank you for this guide, Kevin! It was a fantastic step-by-step guide, and I've never seen explained this well. Thanks again.
Please Log in or Create an account to join the conversation.
4 months 1 week ago #94
by Kevin
Replied by Kevin on topic Developing a Joomla 4 Template
Thank you for the feedback and the tip, much appreciated. Glad you found it useful!
Please Log in or Create an account to join the conversation.
3 months 2 weeks ago #98
by helaman.hintze
Replied by helaman.hintze on topic Developing a Joomla 4 Template
I have notice that the starter templates don't pick up the user.css like cassopeia does. There must be some line of code in the default template that tells Joomla to look for the user.css file. I am trying to find an answer. maybe you an give me a hint. I know its not a big problem, I just created a link in the head section of the starter template.
Please Log in or Create an account to join the conversation.
3 months 2 weeks ago #99
by Kevin
Replied by Kevin on topic Developing a Joomla 4 Template
Hello!
Here's what I found. If you look at cassiopeia's index.php file, on line 69 it uses the web asset manager style "template.user"
The template.user style is defined in joomla.asset.json lines 42-52
Hope that helps.
Here's what I found. If you look at cassiopeia's index.php file, on line 69 it uses the web asset manager style "template.user"
Code:
->useStyle('template.user')
Code:
{
"name": "template.user",
"description": "A file where a user can add their own css.",
"type": "style",
"uri": "user.css",
"weight": 500,
"dependencies": [
"template.active",
"template.active.language"
]
},
Please Log in or Create an account to join the conversation.
3 months 1 week ago #100
by hamnawa
Replied by hamnawa on topic Developing a Joomla 4 Template
Thank you Kevin the guide was very helpful for me who is a beginner in Joomla.
I noted that the menu disappears in small screens.
How can we make it collapsible in mobile devices.
I see the menu is included inside <div class="collapse navbar-collapse"> but it does not work.
I am looking for a collapsible menu with three dots/lines which I click to display menu on mobile devices.
I noted that the menu disappears in small screens.
How can we make it collapsible in mobile devices.
I see the menu is included inside <div class="collapse navbar-collapse"> but it does not work.
I am looking for a collapsible menu with three dots/lines which I click to display menu on mobile devices.
Please Log in or Create an account to join the conversation.
Kevin's Guides
Support This Site
Like the content? I enjoy making it! Consider tipping so I can continue working on it.
Income
Deficit
Made possible with the support of generous sponsors.
Website © 2023 Kevin Olson. Content is licensed under Creative Commons BY-NC 4. Use of this website constitutes agreement to the Terms of Service.
If things look strange see the Troubleshooting Guide for help.
Credits Contact Terms of Service Privacy About
Basic Settings