How to add a module above banner_left and banner_right position?
How to add a module above banner_left and banner_right position?
loonmei
Hi
You can use module position : highlights its already in the template.
Here you can see complete module positions : https://demo.gavick.com/joomla25/news2/index.php/template/template-features/module-positions
Regards
loonmei
Hi
its little hard to understand the issue without having a look on the URL, because the position was already present.
you can add a new position above the heighlight position via layout file
Open template folder /layouts/default.php
Add this code after line 133
<div id="gkToolbar">
<?php if($this->API->modules('highlights1')) : ?>
<div id="gkHighlights">
<jdoc:include type="modules" name="highlights1" style="<?php echo $this->module_styles['highlights']; ?>" />
</div>
<?php endif; ?>
</div>
Here : http://prntscr.com/n7tmk9
Now open /templateDetails.xml" to define the new module position
<position>highlights1</position>
Here : http://prntscr.com/n7tnqe
If still there is any problem, i need your site credentials to see why module is not showing on this position, You can submit the details via Edit fields option in first post : http://prntscr.com/n7todo
Regards
I had post the details via Edit fields.
Evrything looks like perfect, can adjust the top margin?
After scrool down the windows and scroll up again, the menu location was change. How to fix?
How do I enable this module only display in pc but not in mobile? Thanks
loonmei
Hi
About the margin, its coming from the P tag you added in custom html module for the banner.
kindly remove the P tag around the image and it will be removed.
For the menu issue, kindly take backup of site and update the template to latest version https://www.joomlart.com/member/downloads/gavick/joomla-templates/news2
Take a backup of site default.php file as update will override the custom changes.
Regards