Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context Menu CSS Help #276

Closed
Mike-Reddick opened this issue Jan 22, 2020 · 1 comment
Closed

Context Menu CSS Help #276

Mike-Reddick opened this issue Jan 22, 2020 · 1 comment

Comments

@Mike-Reddick
Copy link

How I can put extensions entries above the firefox native entries, on context menu, put extensions entries on top of context menu, someone can post the CSS please?

extension entry 1
extension entry 2
extension entry 3

native entry 1
native entry 2
native entry 3

@Aris-t2
Copy link
Owner

Aris-t2 commented Jan 22, 2020

The pseudo code for your example would look like this:

#id_of_extension_entry_1 {
  -moz-box-ordinal-group: 0 !important;
}

#id_of_extension_entry_2 {
  -moz-box-ordinal-group: 1 !important;
}

#id_of_extension_entry_3 {
  -moz-box-ordinal-group: 2 !important;
}

#id_of_native_entry_1 {
  -moz-box-ordinal-group: 3 !important;
}

#id_of_native_entry_2 {
  -moz-box-ordinal-group: 4 !important;
}

#id_of_native_entry_3 {
  -moz-box-ordinal-group: 5 !important;
}

Keep in mind changing context menuitems order might not always work even, if your code is correct.

Use the general support thread for questions next time.
[!] GENERAL discussion, feedback, questions belong here! (v10)

@Aris-t2 Aris-t2 closed this as completed Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants