Make smaller categories in Home page

More
4 years 9 months ago #6010 by sukanta_rakshit
sukanta_rakshit created the topic: Make smaller categories in Home page
Hi again,
I need to create at least 25-30 categories in home page, so it needs to be smaller (also font sizes) and fit more than 4 columns in that position. How to edit this ?
Attachments:

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

More
4 years 9 months ago #6023 by artur
artur replied the topic: Make smaller categories in Home page
Hello,
Number of columns you can set in options.
Components -> DJ-Classifieds -> Options -> Views -> Subcategories columns.

To adjust font size and padding you need to add CSS in 'less/custom.less'. Example :
#dj-classifieds .dj-category .title h2 {
  font-size: 10px;
  padding: 5px;
}
#dj-classifieds .dj-category .cat_row {
    margin: 0 0 0 -10px;
}
#dj-classifieds .dj-category .cat_col .cat_col_in {
  padding: 0 0 10px 10px;
}

www.joomla-monster.com/blog/joomla-templ...-joomla-3-0-template

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

More
4 years 9 months ago #6030 by sukanta_rakshit
sukanta_rakshit replied the topic: Make smaller categories in Home page
Thanks artur , Its too easy :)

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

More
3 years 11 months ago #8372 by tianguis nogales
tianguis nogales replied the topic: Make smaller categories in Home page
The new update apology is not custom.less

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

More
3 years 11 months ago #8375 by artur
artur replied the topic: Make smaller categories in Home page
Hello,
In new version EF4 Framework we decided to remove custom file.
But you can just create file 'custom.less' in 'less' directory.
CSS will be automatically generated from this less file : custom.less -> custom.css

Regards.

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

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