Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2244

Templates for Joomla! 4.x • Re: Creating a New Module Position

$
0
0
Cassiopeia.....as I already mentioned. And the aforementioned information (link) on creating a basic template should give you the knowledge to adjust the template you're using.

Otherwise I would ask the people who created that template how to add module positions.
Thank you. I'm starting to figure this out using the Cassiopeia template.

As you can see, from the attached image, I created the new module position "after-content" and
I added the "footernav" position with 4 modules in that position - but as you can see the "footernav" modules are stacked on top of each other and not full width?

How do I fix this?
footernav-position.png
Here's the "footernav" position as I entered it in index.php file:

<?php if ($this->countModules('footernav', true)) : ?>
<footernav class="container-footernav footernav full-width">
<div class="grid-child">
<jdoc:include type="modules" name="footernav-1" style="none" />
<jdoc:include type="modules" name="footernav-2" style="none" />
<jdoc:include type="modules" name="footernav-3" style="none" />
<jdoc:include type="modules" name="footernav-4" style="none" />
</div>
</footernav>
<?php endif; ?>

Here's the "footernav" position as I entered it in templateDetails.xml file:

<position>footernav</position>
<position>footernav-1</position>
<position>footernav-2</position>
<position>footernav-3</position>
<position>footernav-4</position>

As always, the help is much appreciated.

Statistics: Posted by katz123 — Sat Dec 21, 2024 3:24 pm



Viewing all articles
Browse latest Browse all 2244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>