Page 1 of 1

bmenu - how to make background image the hit area, not just the text

Posted: Thu May 20, 2010 1:41 am
by ascr689
I'm working on the site  I've styled the menu using the bmenu module.  I've added a background image to the menu links, and I can't figure out how to make the background image the hit area, not just the text itself.

If you don't click right on the text the link doesn't work.   I'm worried that, for example, if they click on the button space next to About Us, instead of right on the text "About Us" they won't be directed to the new page.  Any help would be appreciated!

Re: bmenu - how to make background image the hit area, not just the text

Posted: Thu May 20, 2010 7:56 am
by xnau
Hi-- it's pretty simple, the "a" tag needs to be padded out to make the hit area larger. This will probably mess up your layout, so you'll have to change the styling on your li tags too.

Re: bmenu - how to make background image the hit area, not just the text

Posted: Tue May 25, 2010 1:27 am
by ascr689
Is there a way to change "the "a" tag needs to be padded out to make the hit area larger. " using cmsms menu system and bmenu module, if so where do I go to change it?

Re: bmenu - how to make background image the hit area, not just the text

Posted: Tue May 25, 2010 7:09 am
by Dr.CSS
In a style sheet...