News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Different layouts for main categories and subcategories?

Started by romagromov, 04.03.2015 14:08:33

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

romagromov

Hi!
Is it possible to create different layouts for main categories and subcategories?

For example, I need main categories (in main page) displays with width = 50%
But I need subcategories (inside main category) displays with full with.
Thanks.
Best free windows software for your PC at bestwinsoft.com
  •  

ColinM

Hi
I think that by making use of the jd_custom.css iit should be possible. Do you have an example main category and sub category to look at on your site
Colin
Colin M
  •  

romagromov

Quote from: ColinM on 05.03.2015 02:40:59
Hi
I think that by making use of the jd_custom.css iit should be possible. Do you have an example main category and sub category to look at on your site
Colin

I solved this problem by another way.
I created templates overrides and new layouts.

Main categories - http://bestwinsoft.com/
Subcategories - http://bestwinsoft.com/graphics

I only have 1 problem in subcategories. I need description text was inside the block.



But I can't find end of div to replace it.
Or may be jdownloads use strip_tags...
Best free windows software for your PC at bestwinsoft.com
  •  

ColinM

Hi
That was an innovative solution. ;)  Could you perhaps explain the steps in a little more detail so that others might benefit.

Colin
Colin M
  •