Footer Menu Help

Everything to do with Joomla! 2.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
mowen10
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 137
Joined: Thu Jan 19, 2012 12:01 pm

Footer Menu Help

Post by mowen10 » Tue Sep 23, 2014 8:01 am

Hi, i am looking for some help in regards to adding a few footer menus in my template. Unfortunately I am working on my localhost so dont have anything live to show you but hoping someone can help, as you always do :)

I have created a new menu and also added a new module to define the menu and its position. I have selected to show the title but the problem I am having is displaying this in the way i would like. (2 images attached, sample.jpg is how i would like the final outcome to look like, sample2.jpg is what I am getting)

As you will notice sample2.jpg has a big gap on top of the title (electronics menu) and when I have checked this with firebug, I can see a moduletable class. I have tried to switch the style tag to none but this then gets rid of the menu title. How can i get this fixed?

If somebody could please advise.

Thanks in advance.
You do not have the required permissions to view the files attached to this post.

iextensions
I've been banned!
Posts: 1498
Joined: Fri Jul 12, 2013 5:37 pm
Contact:

Re: Footer Menu Help

Post by iextensions » Tue Sep 23, 2014 8:09 am

you must check css and js, then apply on new module. That is coding.

mowen10
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 137
Joined: Thu Jan 19, 2012 12:01 pm

Re: Footer Menu Help

Post by mowen10 » Tue Sep 23, 2014 9:05 am

Hi, thanks for your reply. I have checked the css but there is no styling for moduletable within my css file.

sander_v_bergen
Joomla! Guru
Joomla! Guru
Posts: 529
Joined: Fri Oct 21, 2011 2:04 pm

Re: Footer Menu Help

Post by sander_v_bergen » Wed Sep 24, 2014 8:35 am

You can add a custom 'Module Class Suffix' to you module.
In your css you can add some styling to this class.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30923
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Footer Menu Help

Post by Per Yngve Berg » Wed Sep 24, 2014 8:55 am

Do you know how to use Firebug?

http://docs.joomla.org/Diagnostic_tools

mowen10
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 137
Joined: Thu Jan 19, 2012 12:01 pm

Re: Footer Menu Help

Post by mowen10 » Wed Sep 24, 2014 11:26 am

Thanks for your replies, i am aware I can add module class and also know how to use firebug. I have added module class called test and added a height of 10px to reduce the gap but this still leaves the gap at the top. The h3 tag for the module title doesn't have a height, but when I add one this brings everything onto 1 line with the menu links.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30923
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Footer Menu Help

Post by Per Yngve Berg » Wed Sep 24, 2014 11:31 am

Have you tried to set the line-height?

http://www.w3schools.com/cssref/pr_dim_line-height.asp

sander_v_bergen
Joomla! Guru
Joomla! Guru
Posts: 529
Joined: Fri Oct 21, 2011 2:04 pm

Re: Footer Menu Help

Post by sander_v_bergen » Wed Sep 24, 2014 12:27 pm

heading (h1,h2,..) tags have a default margin. Try to set the margin and see what is does.

mowen10
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 137
Joined: Thu Jan 19, 2012 12:01 pm

Re: Footer Menu Help

Post by mowen10 » Wed Sep 24, 2014 2:19 pm

Hi, thanks for your replies. I have added the line-height and margin and this makes a slight difference but still have a gap at the top. I have added some 2 images of my page with the stylesheet view from firebug. Apologies as site is on my localhost, but thot a visual might help.

Thanks once again.
You do not have the required permissions to view the files attached to this post.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30923
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Footer Menu Help

Post by Per Yngve Berg » Wed Sep 24, 2014 2:25 pm

There is still a 12px margin at top and bottom.

mowen10
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 137
Joined: Thu Jan 19, 2012 12:01 pm

Re: Footer Menu Help

Post by mowen10 » Wed Sep 24, 2014 2:54 pm

per yngve berg, i have added a margin:0 to the h3 tag and that gets rid of the12px margin, but the issue is within the grey box itself (sample1.jpg) where there is a gap above the design (title) and I would like there to be no gap at all.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30923
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Footer Menu Help

Post by Per Yngve Berg » Wed Sep 24, 2014 3:35 pm

Check padding on parent element.

mowen10
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 137
Joined: Thu Jan 19, 2012 12:01 pm

Re: Footer Menu Help

Post by mowen10 » Fri Sep 26, 2014 11:12 am

thanks per yngve berg, tried the padding but no resolve :(

Still going through firebug to try and fix it..


Locked

Return to “Templates for Joomla! 2.5”