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

How to remove ,,jm-content-top,, from home pages?

More
6 years 7 months ago #3232 by Gr3go5
Gr3go5 created the topic: How to remove ,,jm-content-top,, from home pages?
Hi I would like to remove jm-content-top from home pages and only from pages. If I remove it in layout.css there ar gone on hole site.
Please take a look on www.just2fly.dk
It that possible to do something?
Thank you

Attachments:

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

More
6 years 7 months ago - 6 years 7 months ago #3304 by marcin
marcin replied the topic: Re: How to remove ,,jm-content-top,, from home pages?
Hello,

Yes, it is possible.
Here you can find out on how to determine if user is viewing the front page:
docs.joomla.org/How_to_determine_if_the_...ewing_the_front_page

If you use that code and create a variable that will add a class, e.g., homepage or subpage to your template code, you will be able to hide/show some CSS styles for those pages only.

Regards,
Marcin
Last Edit: 6 years 7 months ago by marcin.

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

More
6 years 7 months ago #3316 by Gr3go5
Gr3go5 replied the topic: Re: How to remove ,,jm-content-top,, from home pages?
Hi,

Thank you for answer.
All this PHP code is like black magic. I'm new beginer. Don't you have another tutorial that is more for beginers?

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

More
6 years 7 months ago #3329 by marcin
marcin replied the topic: Re: How to remove ,,jm-content-top,, from home pages?
Hello,

I guess that one is for beginners as well :)
If you are not familiar with php, I can only offer you our customization service.
If you are interested, please contact us via ticketing:
www.joomla-monster.com/contact

Regards,
Marcin

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

Time to create page: 0.290 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.