Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Savantos
Topic Author
Posts: 10
Joined: 17 Jul 2008, 18:51

color of pic menu

20 Jul 2008, 12:00

hi,
where i can change the color of the font in the picmenu?
in the imagevue.css its not possible, a change of the body color do nothing.
this is my current testcss:
body {
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
<b>color: #9bb0db;</b> <- this change do nothing
}
a:link {
color: #fff; <-- this too
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}
a:hover {
text-decoration: underline;
color: #fff; <-- this too
}
.mm1{color: #fff;
}
.mm1_title{color: #fff;
}
.mm1_amount{color: #fff;
}
.mm1_description{color: #fff;
}
.mainmenu {
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #fff;
}
.mainmenu_menubutton {
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
font-size:9px;
color: #fff;
}
.mainmenu_node {
color: #cc0000;
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
font-size:15px;
}
.mainmenu_title {color: #fff;
}
.mainmenu_amount{
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
font-size:19px;
color: #fff;
}
.maincontrols {
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
font-size:19px;
color: #fff;
}
.text_1 {
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #fff;
}
.text_1_imageindex {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
font-size:8px;
color:#FFFFFF;

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

Re: color of pic menu

21 Jul 2008, 11:16

Savantos wrote:hi,
where i can change the color of the font in the picmenu?
I'm not quite sure what you mean by the "picmenu". Do you mean the image buttons with the help text that appear when you roll over the image? If so, you need to look for the following class:
Code
.imagebuttons_help { }
All text should be available to format from the CSS file. Just keep in mind attributes are inherited recursively. For example:
Code
body {
	color: #EEEEEE;
}
.mainmenu {
	color: #DDDDDD;
}
.mainmenu_title {
	color: #CCCCCC;
}
".body" sets global default colors for all text. ".mainmenu" sets colors for the text in the main menu, and will win over and default color set in ".body". ".mainmenu_title" sets color for the title/name of the menu item, and will win over ".mainmenu" if set.
 
spyker
Posts: 22
Joined: 01 Sep 2008, 16:27

02 Sep 2008, 07:54

Code
}
.mainmenu {
	color: #FF7F00;
	font-size: 15px;
}
I understand from previous posts that this is the css entry that needs to be changed to change the colour of the text on the main menu. I have opted for an orange text but when i try and edit the CSS file it doesnt seem to pick up the change.

Am i doing something wrong?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

03 Sep 2008, 11:36

.mainmenu is the main class for setting styles on the main menu items yes, but there are some "subclasses" that set specific items in the menu. For example:
Code
.mainmenu_title {}
.mainmenu_textPage {}
.mainmenu_link {}
.mainmenu_hasFiles{}
If any of those items have a color setting, they will override the color setting from your .mainmenu class.