Formatting is wrong when putting Most Viewed Article module in Leading-Sidebar position in home page. It shows up like below
But it is correct when put in article-sidebar as below
Hi Chi-K
I'm afraid that 'leading-sidebar' position doesn't support the same module style as 'article-sidebar' so the style will not be the same. This module is designed to show in article-sidebar only.
How do we do it like this in the home page then... which position is best. So it shows like this
Instead of this
Also how to have items in leading-sidebar show in mobile view. Seems it is hidden.
Chi-K You can consider to change the layout of template, the home page or category blog page don't use layout with sidebar. Just simply change the default layout 🙂
i mean that position itself is missing from mobile view. Is it not possible to have it shown
Alternatively how to remove that position entirely. Or have it not shown when there is no content. Right now nothing is published in there but its still showing a blank hole.
Chi-K
To remove it, you can edit this file:
/templates/ja_magz_ii/html/com_content/featured/default.php
and remove the code which renders the leading sidebar:
I need to ask all this will be overwritten when updating the template right?
Chi-K You can copy to the 'local' folder as I mentioned in another topic.
The main page no longer has that position, but the subpage still do... like how-to. May i know where to comment for that.
Chi-K Because the 'How-to' page has different menu item type: Category Blog.
I just edited the same for the file:
/templates/ja_magz_ii/html/com_content/category/blog.php
Kindly check.
thanks