Edit margin/padding of a menu item / module
9 years 8 months ago #29204
by sounds
Edit margin/padding of a menu item / module was created 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.
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.
9 years 8 months ago #29209
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Edit margin/padding of a menu item / module
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
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.
9 years 7 months ago #29217
by sounds
Replied by sounds on topic Edit margin/padding of a menu item / module
Is there anywhere I can see a list of these css rules,
I often wonder how to use that feature in joomla.
I often wonder how to use that feature in joomla.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #29220
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Edit margin/padding of a menu item / module
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
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