× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

hide article at home menu

More
6 years 1 month ago - 6 years 1 month ago #4524 by ryanmonoarfa
ryanmonoarfa created the topic: hide article at home menu
hi

1. how to hide article/main content at home menu or frontpage so i can only show modules?
so it would be like picture i attached?

2. and then
how to make content-bottom1 position module to have 3 rows?

3. third
how to insert picture above the header like picture i attached?

Attachments:
Last Edit: 6 years 1 month ago by ryanmonoarfa.

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #4532 by marcin
marcin replied the topic: hide article at home menu
Hello,

1) Add the code as follows:

In the jm_setup.php file (templates/jm-news-portal/lib/php)


In the index.php file of your template:


In the layout.css file add this styles:
.home #jm-maincontent {display: none;}

The above style will hide the component area on your homepage.

2) This module can have as many rows as you wish (3 modules per row).

3) Add the code as follows (index.php file):


Don't forget to add the position to the templateDetails.xml file.

Regards,
Marcin
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.373 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.