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
Description

Tha navigation block has its content indented a lot relative to other blocks. Probably some bad interaction with the menu divs.

#1

sangamreddi - May 13, 2006 - 08:13
Assigned to:Anonymous» sangamreddi

Could you explain a bit or more or an example is better. Anyway thanks for the info. i'll be looking into it.

#2

sangamreddi - June 18, 2006 - 04:13

Will fix it in the cvs version soon.

#3

sangamreddi - June 18, 2006 - 05:28
Status:active» fixed

fixed in CVS version. Thanks

#4

ricmadeira - June 18, 2006 - 22:43
Status:fixed» needs work

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

sangamreddi - June 18, 2006 - 22:47

Thanks for the info. I havent tested it, i thought it has been fixed. I'll go through this weekend on this issue.

#6

TSE - August 14, 2006 - 10:43

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

TSE - August 24, 2006 - 09:48
Status:needs work» won't fix

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

TSE - August 24, 2006 - 09:51

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

venkat-rk - August 24, 2006 - 10:09

Tracking this as I have long liked the theme but never used it because of this exact problem.

#10

TSE - August 24, 2006 - 10:40
Status:won't fix» active

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

TSE - August 24, 2006 - 12:25

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

TSE - August 24, 2006 - 12:47
Status:active» needs review

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

TSE - August 24, 2006 - 14:20
Status:needs review» fixed

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

sangamreddi - August 25, 2006 - 10:40

Thanks comitted. Sorry for not responding to any issues, busy on big local project for couple of months. Will be back shortly.

#15

Anonymous - September 8, 2006 - 10:45
Status:fixed» closed

#16

rentex - June 15, 2008 - 13:05

Thanks for this!

The indentation was way too high.

 
 

Drupal is a registered trademark of Dries Buytaert.