1. ullidalli
  2. Commercial Templates
  3. Tuesday, 30 September 2014
  4.  Subscribe via email
Just a minor thing. I have created an html-module and positioned it in the "footer 2" position. It shows up fine and simply contains address information - no problem there. My question is whether it is possible to adjust the height (NOT width) of the module as I would like it to be closer to the "Footermenu" - there is such a big gap between them.

If you´d like to take a look http://www.dan-expo-oversaettelse.dk/
Using Joomla 3.3.4

On a different note, thank you for the excellent documentation/tutorials! And great looking templates :) .
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Thank you for your kind words :)

You can add the following to the Custom CSS field of your templates parameters to edit the top and bottom padding for this module...


#footer-2 .module_surround {
padding-bottom: 0px;
padding-top: 0px;
}


You can edit this to your own taste if removing all the padding is reducing the spacing to much!

If you wish to remove even more spacing just get back to me and we will find an alternative solution.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks - this has worked, but yes, I would like to reduce it even more,

I deduced that this might the way to reduce the padding on the modules and very cleverly :S wanted to try it on "footermenu" - the one below footer2 - but with no effect. Custom css looks like this now:

#footer-2 .module_surround {
padding-bottom: 0px;
padding-top: 0px;
}
#footermenu .module_surround {
padding-bottom: 0px;
padding-top: 0px;
}

So: Is there a general way of reducing the "padding" - the top1a module with logo and picture was also causing me some stomach ache but I solved that one by setting the module style to mod_spanhead which made it look ok... But perhaps not the perfect solution.

Thanks in advance for your advice.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

To reduce the gap above these items further you can also add the following (default: 42px)...


.container_spacer4 {
height: 22px;
}


For the space below you can add the following (default: 0)..


#footer-2 {
margin-bottom: -20px;
}



Sorry to say there is no set pattern in removing padding as the padding caries depending on the position of the module. A handy feature you could try is the 'Remove Padding' option in the 'Module Widths' tab of your templates parameters.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok