Search…

X3 Photo Gallery Support Forums

Search…
 
Jesse
Experienced
Topic Author
Posts: 52
Joined: 14 Dec 2008, 20:25

Mainmenu node display (subfolder indicator)

15 Jul 2009, 00:24

I am trying to get rid of the little '+" sigh that indicates subfolders.

I have turned off the display in the stylesheet, but the parent folder name is still indented, and does not line up with the menu items below it.

I have searched the forums without success. Anybody else have this problem? I have a screenshot but do not know how to post it here.

thanks,

J.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

17 Jul 2009, 06:50

So, your saying you did get rid of the + character, using "display: none" in the CSS, but that there is still some space there? That might be because it tries to create a space between the character and the text, but I gotta see a link or a screenshot to see what you mean ...

A screeshot would have to be posted on an image posting site, and then you would have to link the image in here using the [img] tag I believe ...
 
Jesse
Experienced
Topic Author
Posts: 52
Joined: 14 Dec 2008, 20:25

17 Jul 2009, 11:29

here it is:

Image


This is of course the drop-down menu. The indent is less than it would be with the "+" sign. Strange.

I have decided to live with the "+" sign, but would like to know how to change it if possible. I just like to understand stuff.

J.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

18 Jul 2009, 04:23

Unfortunately, your options are limited within this area. We didn ´t make the option to "translate" the node character, and we didnt take into consideration that someone would try to remove it with the node. The reason why it is indented slightly, is because there is an empty space " " before the title, which is suposed to separate the node icon with the title.

The only current workaround would be to indent the other text items with one of the following CSS styles:
Code
margin-left - Only the numeric part of the value is used. Units (px, pt) are not parsed; pixels and points are equivalent.
text-indent - Only the numeric part of the value is used. Units (px, pt) are not parsed; pixels and points are equivalent. 
You could try yo set a negative value for the .mainmenu_hasFolders class, but I am not sure it supports negative values. If not, you would have to set a slight positive value to the other items instead.