Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I remove the lines above and below the navigation bar ?

  • 17 پاسخ
  • 1 has this problem
  • 230 views
  • آخرین پاسخ توسّط MainGoldDragon

more options

The attached image should make it clear as to which lines I'm referring to.

I know about the .css file and I have some code in it. I think in particular to make bookmarks transparent, remove the line above a tab and move the tabs to the bottom.

I am using a theme but that doesn't seem to be the problem since when I switch to Light theme, the lines persist albeit in different color. I tried the Default theme, but it's the Dark one and everything is black.

So what code should I add to remove those lines ? Tell me if you want to see my entire css file. Not that it should matter though.

The attached image should make it clear as to which lines I'm referring to. I know about the .css file and I have some code in it. I think in particular to make bookmarks transparent, remove the line above a tab and move the tabs to the bottom. I am using a theme but that doesn't seem to be the problem since when I switch to Light theme, the lines persist albeit in different color. I tried the Default theme, but it's the Dark one and everything is black. So what code should I add to remove those lines ? Tell me if you want to see my entire css file. Not that it should matter though.

Chosen solution

McCoy said

Right, back to what you came here for. I had another look at those lines, and when I said before that they were always there (afaik) : 'not so sure anymore .... So I went to look around a bit and I found this : https://www.reddit.com/r/FirefoxCSS/comments/8w79g3/trying_to_remove_a_1px_line_under_my_navigation/ That's just about the line under the navigation bar, though. I think you'll be better off waiting for someone who really knows about coding (which I don't), and who'll come up with the perfect solution for you (sorry I can't be anymore helpful .... )

That... actually worked very easily with a very simple command (? don't know what to call it). I tried to modify the code to do the same with the menu bar but no luck. Then did some more research myself and found the solution ! I guess I just needed a little push. For reference, this is what I added:

  #navigator-toolbox::after {
      border-bottom: 0px !important;
  }
  #nav-bar {
    box-shadow: none !important;
    border-top: none !important;
  }
Read this answer in context 👍 0

All Replies (17)

more options

None of your pictures made it. Please try again.

How do I create a screenshot of my problem?

more options

I was afraid something would go wrong. How about this one ?

more options

FredMcD said

None of your pictures made it. Please try again.
How do I create a screenshot of my problem?

How come I see five of them  ? I was just thinking : "That's a bit over the top .... "

(and with the latest uploaded screenshot I now see six of them .... )

more options

McCoy said

FredMcD said
None of your pictures made it. Please try again.
How do I create a screenshot of my problem?

How come I see five of them  ? I was just thinking : "That's a bit over the top .... "

(and with the latest uploaded screenshot I now see six of them .... )

I don't know what is going and if you can see the screenshots or not. The submission form bugged out. Can you see this image https://prod-cdn.sumo.mozilla.net/uploads/images/2019-01-30-05-12-32-e53f2f.png ?

more options

MainGoldDragon said

Can you see this image https://prod-cdn.sumo.mozilla.net/uploads/images/2019-01-30-05-12-32-e53f2f.png ?

Yes, I sure can see the image, that shows those thin lines that were (as far as I know) always there .....

So, neither you nor FredMcD see those uploaded screenshots, while I see all six of them  ? Spooky .....

more options

McCoy said

Yes, I sure can see the image, that shows those thin lines that were (as far as I know) always there ..... So, neither you nor FredMcD see those uploaded screenshots, while I see all six of them  ? Spooky .....

I can see the images and I tried to delete all but one of them. Nothing happened though..... anyway, the lines.

more options

MainGoldDragon said

..... anyway, the lines.

Right, back to what you came here for.

I had another look at those lines, and when I said before that they were always there (afaik) : 'not so sure anymore ....

So I went to look around a bit and I found this :

https://www.reddit.com/r/FirefoxCSS/comments/8w79g3/trying_to_remove_a_1px_line_under_my_navigation/

That's just about the line under the navigation bar, though.

I think you'll be better off waiting for someone who really knows about coding (which I don't), and who'll come up with the perfect solution for you (sorry I can't be anymore helpful .... )

more options

Chosen Solution

McCoy said

Right, back to what you came here for. I had another look at those lines, and when I said before that they were always there (afaik) : 'not so sure anymore .... So I went to look around a bit and I found this : https://www.reddit.com/r/FirefoxCSS/comments/8w79g3/trying_to_remove_a_1px_line_under_my_navigation/ That's just about the line under the navigation bar, though. I think you'll be better off waiting for someone who really knows about coding (which I don't), and who'll come up with the perfect solution for you (sorry I can't be anymore helpful .... )

That... actually worked very easily with a very simple command (? don't know what to call it). I tried to modify the code to do the same with the menu bar but no luck. Then did some more research myself and found the solution ! I guess I just needed a little push. For reference, this is what I added:

  #navigator-toolbox::after {
      border-bottom: 0px !important;
  }
  #nav-bar {
    box-shadow: none !important;
    border-top: none !important;
  }
more options

Wow  ! You did a great job - absolutely fantastic  !

Would you please mark your last post as Chosen Solution  ? ('Solved the problem' button to the right of your post) That way others, with the same problem, will know.

Again : great job - hat's off  !

Edit : I just noticed that you marked my post as Chosen Solution, but I don't deserve the credits, when you did all the work .....

(you can rectify it by clicking on the 'Undo' button to the right)

Modified by McCoy

more options

McCoy said

Wow  ! You did a great job - absolutely fantastic  ! Would you please mark your last post as Chosen Solution  ? ('Solved the problem' button to the right of your post) That way others, with the same problem, will know. Again : great job - hat's off  !

Nevermind. I can. . . . Now I have a different problem. God damn it.

Modified by MainGoldDragon

more options

MainGoldDragon said

Now I have a different problem.

Bummer  !

Maybe you'd like to start a new thread about this new problem  ?

more options

MainGoldDragon said

Now I have a different problem.

Bummer  !

Maybe you'd like to start a new thread about this new problem  ?

more options

McCoy said

Bummer  ! Maybe you'd like to start a new thread about this new problem  ?

I'll see if I can fix myself first by using the force from the push you gave me ! Basically the code that moved the tabs to bottom broke Private Browsing.

more options

MainGoldDragon said

I'll see if I can fix myself first by using the force from the push you gave me ! Basically the code that moved the tabs to bottom broke Private Browsing.

'Found this for you :

https://support.mozilla.org/en-US/questions/1196861

Any good  ?

more options

McCoy said

'Found this for you : https://support.mozilla.org/en-US/questions/1196861 Any good  ?

Wow ! Thanks again ! Almost exactly what I was looking for... almost. I try to edit that code because if left like that, the Private Browsing icon overlaps with the "Open a new tab" plus sign if there are too many tabs open.

Edit: Oh no.... I'm starting to find more changed things..... how did FF65 manage to break so many things !

I'm making a new thread.

Modified by MainGoldDragon

more options

MainGoldDragon said

I'm making a new thread.

Wise decision  ! Maybe you could refer to this thread, so those who want to look into this will know what you've done so far .....

more options

McCoy said

Wise decision  ! Maybe you could refer to this thread, so those who want to look into this will know what you've done so far .....

It's fine.

Modified by MainGoldDragon