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

Templates for Joomla! 5.x • Re: new position in the template

$
0
0
Hi. Create a child template, set it as default template and edit the code in its index.php

Duplicate bottom-b code and change to bottom-c
1.jpg
Also you will need to add CSS to user.css file

Code:

.container-bottom-c {    grid-area: bot-c;}.site-grid {    grid-template-areas:     ".banner banner banner banner."     ".top-a top-a top-a top-a."     ".top-b top-b top-b top-b."     ".side-l comp comp side-r."     ".bot-a bot-a bot-a bot-a."     ".bot-b bot-b bot-b bot-b."     ".bot-c bot-c bot-c bot-c.";}
And to add bottom-c position to templateDetails.xml
2.jpg

Statistics: Posted by Pavel-ww — Sun Dec 15, 2024 10:09 am



Viewing all articles
Browse latest Browse all 1889

Trending Articles



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