Navigation block indented too much
moshe weitzman - May 11, 2006 - 20:50
| Project: | Fancy |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | sangamreddi |
| Status: | closed |
Jump to:
Description
Tha navigation block has its content indented a lot relative to other blocks. Probably some bad interaction with the menu divs.

#1
Could you explain a bit or more or an example is better. Anyway thanks for the info. i'll be looking into it.
#2
Will fix it in the cvs version soon.
#3
fixed in CVS version. Thanks
#4
Hmm... I installed the CVS version on my Drupal 4.7 and the size of all the blocks on both columns shortened quite a bit. The navigation block has much less padding on its right side now, which is cool, but the padding on the left site remains the same (was that the intention?).
My one big complain is that blocks can now have different lenghts. For example, when I go to my /admin page, the navigation block streches quite a bite in length... however, the other blocks remain the same. Plus, I have a block that displays a shoutbox that has fixed length, so I end up with blocks with three diferent lengths (the navigation block length, the shoutbox length, and all the other blocks length) in the same column. It doesn't look pretty.
Do you think you can find a better solution for this?
#5
Thanks for the info. I havent tested it, i thought it has been fixed. I'll go through this weekend on this issue.
#6
i also would like the navigation block to have less padding to the left. if you have some submenus the block will take too much space.
would be great if fixed .....
#7
to make the point more clear....
when i have a menu with 3 submenus opened it will take far too much of the screen.
example:
menu
submenu
submenu1
submenu2
submenu3
and this would be much nicer :
menu
submenu
submenu1
submneu2
submenu3
i ve tried changing everything but with no sucess. so please fix this, then its the best theme i know ;)
#8
sorry for the above post which i cant edit, drupal forums arent the best :((((
just repeating the example
example how it is currently :
____menu
_________submenu
________________submenu1
________________________submenu2
________________________________submenu3
and this would be much nicer :
menu
_submenu
___submenu1
____submneu2
_____submenu3
#9
Tracking this as I have long liked the theme but never used it because of this exact problem.
#10
and i have no idea where to change it in the theme, but i have a workaround.
In the original misc/drupal.css
add padding-left: 8pt to menu styles
Original drupal.css:
** Menu styles
*/
ul.menu {
list-style: none;
border: none;
text-align:left;
}
patched drupal.css :
** Menu styles
*/
ul.menu {
list-style: none;
border: none;
text-align:left;
padding-left: 8pt;
}
everything fine but surely not the best way.......
#11
puhhh sorry folks the above workaround only works with firefox ! Internet Explorer still sows too much space.
the reason is that "padding-left: 8pt;" dont work with IE
anyone got an idea how to solve ?
#12
so i hope this is it... tested with Firefox & IE 6
ATTENTION : files changed are drupal files not any of this theme
In the original misc/drupal.css at line 50 add:
padding-left: 10px
margin-left: 0px
Original drupal.css Line 44-50:
** Menu styles
*/
ul.menu {
list-style: none;
border: none;
text-align:left;
}
patched drupal.css Line 44-52:
** Menu styles
*/
ul.menu {
list-style: none;
border: none;
text-align:left;
padding-left: 10px;
margin-left: 0px
}
by the way this one doesnt affect ohter themes as far i tested it, but i dont know what im playing with ;)
Sorry for the bunch of posts, hope it helps someone
CU TSE
#13
here i am again....
it still works, but there is a way to change it in the fancy syles.css
just add
ul.menu {
padding-left: 10px;
margin-left: 0px
}
thats it, would call it fixed now
#14
Thanks comitted. Sorry for not responding to any issues, busy on big local project for couple of months. Will be back shortly.
#15
#16
Thanks for this!
The indentation was way too high.