MozillaZine


Remove Blue From Megabar

User Help for Mozilla Firefox
tunescool
 
Posts: 71
Joined: May 11th, 2009, 6:22 am

Post Posted June 5th, 2021, 9:56 am

ok i had code to get rid of the megabar, still do, but while changing stuff this blue that outlines the address bar when you go in there is there again

can someone help me remove it

https://imgur.com/hY6SoTq

https://imgur.com/pjAG3Zg

morat
 
Posts: 4696
Joined: February 3rd, 2009, 6:29 pm

Post Posted June 5th, 2021, 10:15 am

Are you talking about the urlbar focus glow? barbaz was styling that in the following thread.

More info: viewtopic.php?f=38&t=3075360

tunescool
 
Posts: 71
Joined: May 11th, 2009, 6:22 am

Post Posted June 5th, 2021, 10:47 am

nothing there takes it away

morat
 
Posts: 4696
Joined: February 3rd, 2009, 6:29 pm

Post Posted June 5th, 2021, 11:03 am

Try this:

Code: Select all
#urlbar[focused="true"] > #urlbar-input-container {
  border: 2px solid white !important;
  border-color: white !important;
}

CSS border
http://developer.mozilla.org/docs/Web/CSS/border
Last edited by morat on June 5th, 2021, 11:38 am, edited 1 time in total.

tunescool
 
Posts: 71
Joined: May 11th, 2009, 6:22 am

Post Posted June 5th, 2021, 11:17 am

it just changes it to black, same thing

tunescool
 
Posts: 71
Joined: May 11th, 2009, 6:22 am

Post Posted June 6th, 2021, 2:40 am

still need help

morat
 
Posts: 4696
Joined: February 3rd, 2009, 6:29 pm

Post Posted June 6th, 2021, 5:43 am

Try these:

Code: Select all
#urlbar[focused="true"] > #urlbar-background {
  border-color: transparent !important;
}

Code: Select all
#urlbar[focused="true"]:not([suppress-focus-border]) > #urlbar-background {
  border: unset !important;
  border-color: transparent !important;
}

I don't know a solution if those entries don't work.

Reference
http://searchfox.org/mozilla-release/so ... ar.inc.css

tunescool
 
Posts: 71
Joined: May 11th, 2009, 6:22 am

Post Posted June 6th, 2021, 9:01 am

i used the second one and it worked, thanks

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 8 guests