Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Help to remove some accordion padding from sidebar navigation menus

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I am wanting to remove some extra padding below the accordion menus on the pages at www.anchorpointfilms.com

I discovered that I could change the following with Google developer tools:

FROM:

.sidebar .moduletable {
padding-bottom: 40px;

TO:
.sidebar .moduletable {
padding-bottom: 4px;

To greatly reduce the padding.

Can you tell me what I might put into my custom.css file to just reduce that padding for the menus in the sidebar.

I think it may be div.moduletable.accordion that needs changing.

thank you so much!!!

Sean Carney
Attachments:
  • scarney's Avatar
  • scarney
  • LIfetime Developer - Big Bamboo
  • 896 posts
  • 11 Thanks
  • Karma: 1
Last Edit: 8 years 10 months ago by scarney.
The administrator has disabled public write access.
Hi Sean,

Try

.sidebar .moduletable.accordion { padding-bottom: 5px;}

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
That was a GREAT improvement. There is still one issue they want me to fix. It is a padding that is in the Menu module called "Shop Menu".

The module ID is 471

What I would like to remove is

something like:

.sidebar .moduletable {
padding-bottom: 0px;

But I believe I only need it for this one module number 471.

Can you send me another magic string?

:-)

Sean
  • scarney's Avatar
  • scarney
  • LIfetime Developer - Big Bamboo
  • 896 posts
  • 11 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hi Sean,

First step is to add its own individual class name or suffix in the module itself

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks. I added a Module Class Suffix of "apfshopmenu".

Will that work? I am not sure if I need to put a space before the Module Class Suffix.

Can I now add a line to the code we have to make it only apply to the Module Class Suffix of "apfshopmenu"?
  • scarney's Avatar
  • scarney
  • LIfetime Developer - Big Bamboo
  • 896 posts
  • 11 Thanks
  • Karma: 1
Last Edit: 8 years 10 months ago by scarney.
The administrator has disabled public write access.
.sidebar .moduletable.apfshopmenu {padding-bottom:0}

Try adding this

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: scarney
Thank you again. That was perfect! I created one class to use on the multiple modules and am very happy.

Sean
  • scarney's Avatar
  • scarney
  • LIfetime Developer - Big Bamboo
  • 896 posts
  • 11 Thanks
  • Karma: 1
The administrator has disabled public write access.
No problem

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers