Edit margin/padding of a menu item / module

More
9 years 8 months ago #29204 by sounds
Hi,

I added a login box to the menu using the [modid=xxx] code
The login box displays ok but it has the same margin/padding as all the other buttons.
Can I edit the margin/padding around that button only?

I tried to edit it in the module's settings.

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

More
9 years 8 months ago #29209 by ced1870
Hi
yes you can do that using some custom css rules (I assume that you don't have the maximenu params as you are using the code [modid XX])
Each menu item has a unique CSS class that you can point with CSS
CEd

Joomlack Webmaster and Developer

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

More
9 years 7 months ago #29217 by sounds
Is there anywhere I can see a list of these css rules,
I often wonder how to use that feature in joomla.

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

More
9 years 7 months ago #29220 by ced1870
you must use the Firebug tool (or any other developer tool in your browser)
it will allow you to see all the classes, test your code, and many more

the CSS are not specific to joomla, if you give me your url I can help you

Joomlack Webmaster and Developer

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

Time to create page: 0.202 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 632 guests and no members online