X
Nhấn vào đây để đến phiên bản di động của trang web.

Diễn đàn trợ giúp

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

Được đăng

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.

Giải pháp được chọn

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;
  }
Đọc câu trả lời này trong ngữ cảnh 0

Chi tiết hệ thống bổ sung

Phần bổ trợ đã cài đặt

  • Shockwave Flash 32.0 r0

Ứng dụng

  • Chuỗi đại diện người dùng: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

Thông tin chi tiết

FredMcD
  • Top 10 Contributor
4222 giải pháp 58926 câu trả lời
Được đăng

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?]]

Người tạo câu hỏi

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

I was afraid something would go wrong. How about this one ?
McCoy
  • Top 10 Contributor
520 giải pháp 4884 câu trả lời
Được đăng

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

Người tạo câu hỏi

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 ?
McCoy
  • Top 10 Contributor
520 giải pháp 4884 câu trả lời
Được đăng

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

Người tạo câu hỏi

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.
McCoy
  • Top 10 Contributor
520 giải pháp 4884 câu trả lời
Được đăng

Câu trả lời hữu ích

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

Giải pháp được chọn

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; }
McCoy
  • Top 10 Contributor
520 giải pháp 4884 câu trả lời
Được đăng

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)

Được chỉnh sửa bởi McCoy vào

Người tạo câu hỏi

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.

Được chỉnh sửa bởi MainGoldDragon vào

McCoy
  • Top 10 Contributor
520 giải pháp 4884 câu trả lời
Được đăng

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 ?
McCoy
  • Top 10 Contributor
520 giải pháp 4884 câu trả lời
Được đăng

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 ?

Người tạo câu hỏi

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.
McCoy
  • Top 10 Contributor
520 giải pháp 4884 câu trả lời
Được đăng

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 ?

Người tạo câu hỏi

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.

Được chỉnh sửa bởi MainGoldDragon vào

McCoy
  • Top 10 Contributor
520 giải pháp 4884 câu trả lời
Được đăng

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

Người tạo câu hỏi

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.

Được chỉnh sửa bởi MainGoldDragon vào