Problem coloring menu/toolbar bar via userChrome Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
ron_1
Moon Magic practitioner
Moon Magic practitioner
Posts: 2856
Joined: 2012-06-28, 01:20

Problem coloring menu/toolbar bar via userChrome

Unread post by ron_1 » 2017-10-12, 12:31

I found this online to color the menu/toolbar via the userChrome file:

Code: Select all

menubar, toolbar, nav-bar, #TabsToolbar > *{
  background-color: rgb(102,66,60) !important;
}
However, it doesn't fully color the menu bar, it stops right after "Help." Any ideas how to get the whole thing colored?
Untitled.jpg

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1569
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Problem coloring menu/toolbar bar via userChrome

Unread post by Lootyhoof » 2017-10-12, 13:37

You could use the following, as of Fox 2 The Moon v4.0.0:

Code: Select all

:root {
  --toolbar-custom-color: rgb(102,66,60) !important;
}
I still need to make changes to allow a different text colour though...

User avatar
ron_1
Moon Magic practitioner
Moon Magic practitioner
Posts: 2856
Joined: 2012-06-28, 01:20

Re: Problem coloring menu/toolbar bar via userChrome

Unread post by ron_1 » 2017-10-12, 14:49

That doesn't color any part of the menu bar at all (which is better than a partially colored menu bar). But is there a way to color the whole menu bar?

User avatar
ron_1
Moon Magic practitioner
Moon Magic practitioner
Posts: 2856
Joined: 2012-06-28, 01:20

Re: Problem coloring menu/toolbar bar via userChrome

Unread post by ron_1 » 2017-10-15, 01:29

Should I interpret the silence as a "no"? :)

User avatar
jars_
Lunatic
Lunatic
Posts: 398
Joined: 2016-12-27, 00:12

Re: Problem coloring menu/toolbar bar via userChrome

Unread post by jars_ » 2017-10-15, 01:40

Code: Select all

#main-menubar {
	-moz-appearance:none !important;
	background: #464646 !important;
	border: 1px solid #424242 !important;
	}

User avatar
ron_1
Moon Magic practitioner
Moon Magic practitioner
Posts: 2856
Joined: 2012-06-28, 01:20

Re: Problem coloring menu/toolbar bar via userChrome

Unread post by ron_1 » 2017-10-15, 02:48

That also stops right after "Help." Do you think my being on Linux Mint has anything to do with this problem?
Untitled.jpg

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 581
Joined: 2017-01-14, 02:40
Location: Philippines
Contact:

Re: Problem coloring menu/toolbar bar via userChrome

Unread post by FranklinDM » 2017-10-15, 03:42

Can you try adding #browser-panel > *:

Code: Select all

menubar, toolbar, nav-bar, #TabsToolbar > *, #browser-panel > * {
  background-color: rgb(102,66,60) !important;
}

User avatar
jars_
Lunatic
Lunatic
Posts: 398
Joined: 2016-12-27, 00:12

Re: Problem coloring menu/toolbar bar via userChrome

Unread post by jars_ » 2017-10-15, 10:42

helloimustbegoing why guess ? Install this button and see for yourself Attributes Inspector (for developers) | Custom Buttons

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1569
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Problem coloring menu/toolbar bar via userChrome

Unread post by Lootyhoof » 2017-10-15, 11:21

Try this:

Code: Select all

#toolbar-menubar {
  -moz-appearance: none !important;
}

User avatar
ron_1
Moon Magic practitioner
Moon Magic practitioner
Posts: 2856
Joined: 2012-06-28, 01:20

Re: Problem coloring menu/toolbar bar via userChrome

Unread post by ron_1 » 2017-10-15, 14:14

That did it Lootyhoof. Thanks!

Locked