X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

More Information

FredMcD
  • Top 10 Contributor
4150 solutions 57941 answers

None of your pictures made it. Please try again.

How do I create a screenshot of my problem?

None of your pictures made it. Please try again. [[How do I create a screenshot of my problem?]]
Was this helpful to you?
Quote

Question owner

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

I was afraid something would go wrong. How about this one ?
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
473 solutions 4275 answers

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 .... )

''FredMcD [[#answer-1192400|said]]'' <blockquote> None of your pictures made it. Please try again.<BR> [[How do I create a screenshot of my problem?]] </blockquote> 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 .... )
Was this helpful to you?
Quote

Question owner

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 ?

''McCoy [[#answer-1192410|said]]'' <blockquote> ''FredMcD [[#answer-1192400|said]]'' <blockquote> None of your pictures made it. Please try again.<BR> [[How do I create a screenshot of my problem?]] </blockquote> 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 .... ) </blockquote> 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 ?
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
473 solutions 4275 answers

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 .....

''MainGoldDragon [[#answer-1192413|said]]'' <blockquote> Can you see this image https://prod-cdn.sumo.mozilla.net/uploads/images/2019-01-30-05-12-32-e53f2f.png ? </blockquote> 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 .....
Was this helpful to you?
Quote

Question owner

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.

''McCoy [[#answer-1192416|said]]'' <blockquote> 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 ..... </blockquote> I can see the images and I tried to delete all but one of them. Nothing happened though..... anyway, the lines.
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
473 solutions 4275 answers

Helpful Reply

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 .... )

''MainGoldDragon [[#answer-1192419|said]]'' <blockquote> ..... anyway, the lines. </blockquote> 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 .... )
Was this helpful to you? 1
Quote

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;
  }
''McCoy [[#answer-1192430|said]]'' <blockquote> 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 .... ) </blockquote> 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; }
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
473 solutions 4275 answers

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)

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

Was this helpful to you?
Quote

Question owner

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.

''McCoy [[#answer-1192447|said]]'' <blockquote> 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 ! </blockquote> Nevermind. I can. . . . Now I have a different problem. God damn it.

Modified by MainGoldDragon

Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
473 solutions 4275 answers

MainGoldDragon said

Now I have a different problem.

Bummer  !

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

''MainGoldDragon [[#answer-1192449|said]]'' <blockquote> Now I have a different problem. </blockquote> Bummer ! Maybe you'd like to start a new thread about this new problem ?
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
473 solutions 4275 answers

MainGoldDragon said

Now I have a different problem.

Bummer  !

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

''MainGoldDragon [[#answer-1192449|said]]'' <blockquote> Now I have a different problem. </blockquote> Bummer ! Maybe you'd like to start a new thread about this new problem ?
Was this helpful to you?
Quote

Question owner

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.

''McCoy [[#answer-1192462|said]]'' <blockquote> Bummer ! Maybe you'd like to start a new thread about this new problem ? </blockquote> 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.
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
473 solutions 4275 answers

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  ?

''MainGoldDragon [[#answer-1192466|said]]'' <blockquote> 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. </blockquote> 'Found this for you : https://support.mozilla.org/en-US/questions/1196861 Any good ?
Was this helpful to you?
Quote

Question owner

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.

''McCoy [[#answer-1192477|said]]'' <blockquote> 'Found this for you : https://support.mozilla.org/en-US/questions/1196861 Any good ? </blockquote> 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

Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
473 solutions 4275 answers

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 .....

''MainGoldDragon [[#answer-1192482|said]]'' <blockquote> I'm making a new thread. </blockquote> 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 .....
Was this helpful to you?
Quote

Question owner

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.

''McCoy [[#answer-1192488|said]]'' <blockquote> 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 ..... </blockquote> It's fine.

Modified by MainGoldDragon

Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.