How to reduce space all around modules

More
2 years 10 months ago - 2 years 10 months ago #9579 by amsharma
amsharma created the topic: How to reduce space all around modules
Hi,

I would to reduce space all around the template. I checked the .less files and other configuration files. Most of the places the setting to be changed is margin-bottom. See line 29 in modules.less. Everywhere the setting is being set using a variable @JMbaseSpace
margin-bottom: @JMbaseSpace;

I found its default value in /templates/jm-services/templateDefaults.json as 30px. I changed it to 5px but it has had no effect. I can see this value being used in a lot of .less files. Kindly let me know how and where should I set @JMbaseSpace.

Thanks
Amal
Last Edit: 2 years 10 months ago by amsharma.

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

More
2 years 10 months ago - 2 years 10 months ago #9583 by artur
artur replied the topic: How to reduce space all around modules
Hello,
You can change value in template options. Please check settings in Layout Builder section (gutter size).

You can also change value directly in less (eg. add in less/template_variables.less) :
@JMbaseSpace: 5px;

Regards.
Last Edit: 2 years 10 months ago by artur.

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

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