|
| [WebDev 19] Equalize height submenus to main menu |
| Iniciado por guest, 19,mar. 2015 10:46 - 3 respuestas |
| |
| | | |
|
| |
| Publicado el 19,marzo 2015 - 10:46 |
Hi all,
I have a problem making a navigation menu on a website.
When creating a submenu the menu appears some pixels below the main menu item. I want this to be on the same height. Not some lower.
How can I make this work?
Jeroen |
| |
| |
| | | |
|
| | |
| |
| Publicado el 19,marzo 2015 - 13:55 |
Hi Jeroen,
Yeah, I remember having to fight with that but finally ditched it to make my own. But it was before it was possible to fine-tune the layout of it as in recent versions. Did you take a look at the CSS properties to eventually adjust the display height? You could certainly add some come to make it appear a little higher?
Best regards, Alexandre Leclerc |
| |
| |
| | | |
|
| | |
| |
| Publicado el 20,marzo 2015 - 14:38 |
Hi,
Can you help me finding the CSS properties? I cannot find it.
Jeroen |
| |
| |
| | | |
|
| | |
| |
| Publicado el 20,marzo 2015 - 14:59 |
Hi Jeroen,
Go in the "Style" tab of the description of your menu. You will have access to the CSS properties of the menu and sub menus. Do not forget that many of these CSS tags are not rendered by the IDE but only at run time. You can ply with margins and padding, etc.
You can also use Google Chrome developers toolbar (or Firefox, etc) to look at the tags and CSS properties of the menu and help you identify which aspect you can or want to adjust.
I do not know if you will be able to get what you are looking for (I'm not using these menus) but maybe you will.
Best regards, Alexandre Leclerc |
| |
| |
| | | |
|
| | | | |
| | |
|