what is with the nav bar items moving

Discussion Of All Legal Topics Is Fine Anything Goes. Be Respectful of Others. No Personal Information or Attacks.
All Traffic, Link, Banner, Push Notification and Advertising, Offers & Requests Here,.
Domains & Websites For Sale and Requests Here.
Keep One thread per person & No More Than 1 Weekly Bump.
Post Reply
3ric
Verified Member
Verified Member
Posts: 964
Joined: February 20th, 2022, 8:57 pm

what is with the nav bar items moving

#1

Post by 3ric » September 15th, 2023, 5:30 pm

It is real annoying how the nav bar items move when I log in here and switch from page to page.Who fucked that up,let me take a guess the name starts with. D... Fix it will you. The login used to be on the right what happened there.

llf4532




User avatar
TheButcher
Administrator
Administrator
Posts: 17530
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#2

Post by TheButcher » September 15th, 2023, 5:37 pm

No clue who you are referring to :evil: but if I knew how to remedy those two things i would have. It works just ignore the little dance,I am sure it has to do with the Bootstrap code we added for the upper navbar and being responsive, just a wild uneducated guess.

User avatar
BrasSmonkey
Verified Member
Verified Member
Posts: 7893
Joined: February 28th, 2018, 6:31 pm
Title: Smell My Sack
Referrals: 1
Contact:

#3

Post by BrasSmonkey » September 15th, 2023, 6:20 pm

3ric wrote: ↑
September 15th, 2023, 5:30 pm
It is real annoying how the nav bar items move when I log in here and switch from page to page.Who fucked that up,let me take a guess the name starts with. D... Fix it will you. The login used to be on the right what happened there.

llf4532
called a topbar
THE LAKEN RILEY ACT IS NOW LAW!!! TRUMP 2025!!!
DACA HAS ENDED!!! email: brassballz-@-techie.com

Zug
Banned
Banned
Posts: 418
Joined: February 11th, 2023, 9:19 am
Referrals: 4

#4

Post by Zug » September 15th, 2023, 8:08 pm

BrasSmonkey wrote: ↑
September 15th, 2023, 6:20 pm
called a topbar
No, It's called a Navbar .. read here: https://getbootstrap.com/docs/5.0/components/navbar/
Maybe wp calls it a topbar but this is not wp.




User avatar
BrasSmonkey
Verified Member
Verified Member
Posts: 7893
Joined: February 28th, 2018, 6:31 pm
Title: Smell My Sack
Referrals: 1
Contact:

#5

Post by BrasSmonkey » September 15th, 2023, 11:51 pm

Zug wrote: ↑
September 15th, 2023, 8:08 pm
BrasSmonkey wrote: ↑
September 15th, 2023, 6:20 pm
called a topbar
No, It's called a Navbar .. read here: https://getbootstrap.com/docs/5.0/components/navbar/
Maybe wp calls it a topbar but this is not wp.
fuck you and that wp bashing shit t5x38g read: https://m2.material.io/develop/web/supporting/tab-bar knuckle draggin mutherfucker tptr454 tab bar
THE LAKEN RILEY ACT IS NOW LAW!!! TRUMP 2025!!!
DACA HAS ENDED!!! email: brassballz-@-techie.com

GlennfromLA
Verified Member
Verified Member
Posts: 1218
Joined: September 4th, 2019, 11:01 pm

#6

Post by GlennfromLA » September 16th, 2023, 12:43 am

It is called a navbar no reason to get all worked up brassman




Zug
Banned
Banned
Posts: 418
Joined: February 11th, 2023, 9:19 am
Referrals: 4

#7

Post by Zug » September 16th, 2023, 1:35 pm

BrasSmonkey wrote: ↑
September 15th, 2023, 11:51 pm
Zug wrote: ↑
September 15th, 2023, 8:08 pm
BrasSmonkey wrote: ↑
September 15th, 2023, 6:20 pm
called a topbar
No, It's called a Navbar .. read here: https://getbootstrap.com/docs/5.0/components/navbar/
Maybe wp calls it a topbar but this is not wp.
fuck you and that wp bashing shit t5x38g read: https://m2.material.io/develop/web/supporting/tab-bar knuckle draggin mutherfucker tptr454 tab bar
GlennfromLA wrote: ↑
September 16th, 2023, 12:43 am
It is called a navbar no reason to get all worked up brassman
Calm down monkey business, in bootstrap it is called a navbar and that is what this site is using.




User avatar
BrasSmonkey
Verified Member
Verified Member
Posts: 7893
Joined: February 28th, 2018, 6:31 pm
Title: Smell My Sack
Referrals: 1
Contact:

#8

Post by BrasSmonkey » September 16th, 2023, 2:48 pm

Zug wrote: ↑
September 16th, 2023, 1:35 pm
BrasSmonkey wrote: ↑
September 15th, 2023, 11:51 pm
Zug wrote: ↑
September 15th, 2023, 8:08 pm

No, It's called a Navbar .. read here: https://getbootstrap.com/docs/5.0/components/navbar/
Maybe wp calls it a topbar but this is not wp.
fuck you and that wp bashing shit t5x38g read: https://m2.material.io/develop/web/supporting/tab-bar knuckle draggin mutherfucker tptr454 tab bar
GlennfromLA wrote: ↑
September 16th, 2023, 12:43 am
It is called a navbar no reason to get all worked up brassman
Calm down monkey business, in bootstrap it is called a navbar and that is what this site is using.
tptr454 tptr454 tptr454
THE LAKEN RILEY ACT IS NOW LAW!!! TRUMP 2025!!!
DACA HAS ENDED!!! email: brassballz-@-techie.com

User avatar
HeidiHoe
Verified Member
Verified Member
Posts: 1653
Joined: February 3rd, 2018, 12:20 pm
Title: Resident Genius

#9

Post by HeidiHoe » September 16th, 2023, 5:45 pm

I don't give a shit what you call it. What I do know is that you need to fix the break points. If you look at the menu on mobile in landscape or on a tablet it looks like shit. Adjust your break points in the css, maybe add some, or shorten the text on the links. Whatever.

Also, why are there 2 down arrows next to the mchat and user menu instead of one? Fix that shit. It looks bad.
The Fourth Turning Is Here

Zug
Banned
Banned
Posts: 418
Joined: February 11th, 2023, 9:19 am
Referrals: 4

#10

Post by Zug » September 16th, 2023, 5:49 pm

HeidiHoe wrote: ↑
September 16th, 2023, 5:45 pm
I don't give a shit what you call it. What I do know is that you need to fix the break points. If you look at the menu on mobile in landscape or on a tablet it looks like shit. Adjust your break points in the css, maybe add some, or shorten the text on the links. Whatever.

Also, why are there 2 down arrows next to the mchat and user menu instead of one? Fix that shit. It looks bad.
Yeah, I tried to tell him he needs a custom.css file to define some of the navbar stuff. While this is phpbb, I am not sure how or what he would need to do to adjust that.

DARKMODE:

Code: Select all

<link rel="stylesheet" href="/assets/bs/502/css/bootstrap.min.css">
<link defer href="./assets/css/font-awesome.min.css?assets_version=2560" rel="stylesheet">
<link defer href="./styles/sponsorchat-black/theme/stylesheet.css?assets_version=2560" rel="stylesheet">
<link defer href="./styles/sponsorchat-black/theme/en/stylesheet.css?assets_version=2560" rel="stylesheet">


	<link defer href="./assets/cookieconsent/cookieconsent.min.css?assets_version=2560" rel="stylesheet">

<!--[if lte IE 9]>
	<link defer href="./styles/sponsorchat-black/theme/tweaks.css?assets_version=2560" rel="stylesheet">
<![endif]-->

	
<link href="./ext/dmzx/mchat/styles/prosilver/theme/mchat.css?assets_version=2560" rel="stylesheet" media="screen" />
<link href="./ext/dmzx/referral/styles/all/theme/referral.css?assets_version=2560" rel="stylesheet" media="screen" />
<link href="./ext/senky/massnotification/styles/all/theme/massnotification.css?assets_version=2560" rel="stylesheet" media="screen" />
<link href="./ext/tatiana5/popuppm/styles/all/theme/popuppm.css?assets_version=2560" rel="stylesheet" media="screen" />
<link href="./ext/vse/abbc3/styles/all/theme/abbc3_common.min.css?assets_version=2560" rel="stylesheet" media="screen" />
<link href="./ext/vse/scrolltotop/styles/all/theme/scrolltotop.css?assets_version=2560" rel="stylesheet" media="screen" />
Maybe try moving this line to the bottom to start figuring it out? Since each line of css that is called runs in order from top to bottom. If there is something that conflicts with other css then it will break something. Core Bootstrap CSS =

Code: Select all

<link rel="stylesheet" href="/assets/bs/502/css/bootstrap.min.css">
Also the width of the navbar should be adjust to match the width of the board. The length of each text item sorta matters. You don't center a navbar.




Zug
Banned
Banned
Posts: 418
Joined: February 11th, 2023, 9:19 am
Referrals: 4

#11

Post by Zug » September 16th, 2023, 6:04 pm

This is how I do it. But phpbb has so many css files.

Code: Select all

<head>
<link rel="stylesheet" href="<?php echo $BOOTSTRAP_CORE_CSS;?>"> // path to bootstrap core file
<link rel="stylesheet" href="<?php echo $CUSTOM_CSS;?>"> // path to custom css

<body>
<?php include "/path/to/navbar/code/NAVBAR-DARKMODE.htm";?>
<?php include "/path/to/navbar/code/NAVBAR-DEFAULT.htm";?>
Navbar code:

Code: Select all

<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<div class="container-lg">
<h2 class="navbar-brand float-md-start mb-3 text-center"><a href="https://www.sponsorchat.com/index.php" class="blink text-white fst-italic fw-bold fs-5">SponsorChat.com</a></h2>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse float-md-end fs-6" id="navbarCollapse">
<ul class="navbar-nav me-auto mb-2 mb-md-0">
<li class="nav-item"><a class="nav-link" href="viewforum.php?f=202">Premier Listings</a></li>
<li class="nav-item"><a class="nav-link" href="viewforum.php?f=74">Main Chat</a></li>
<li class="nav-item"><a class="nav-link" href="directory/">Business Directory</a></li>
<li class="nav-item"><a class="nav-link" href="viewforum.php?f=233">Announcements</a></li>
<li class="nav-item"><a class="nav-link" href="viewforum.php?f=208">Websites & Domains</a></li>
<li class="nav-item"><a class="nav-link" href="viewforum.php?f=167">Traffic Sponsors & Offers</a></li>
<li class="nav-item"><a class="nav-link" href="viewforum.php?f=225">Employment</a></li>
</ul>
</div>
</div>
</nav>
Bootstrap Navbar Docs: https://getbootstrap.com/docs/5.0/components/navbar/




User avatar
HeidiHoe
Verified Member
Verified Member
Posts: 1653
Joined: February 3rd, 2018, 12:20 pm
Title: Resident Genius

#12

Post by HeidiHoe » September 16th, 2023, 6:08 pm

Zug wrote: ↑
September 16th, 2023, 5:49 pm
HeidiHoe wrote: ↑
September 16th, 2023, 5:45 pm
I don't give a shit what you call it. What I do know is that you need to fix the break points. If you look at the menu on mobile in landscape or on a tablet it looks like shit. Adjust your break points in the css, maybe add some, or shorten the text on the links. Whatever.

Also, why are there 2 down arrows next to the mchat and user menu instead of one? Fix that shit. It looks bad.
Yeah, I tried to tell him he needs a custom.css file to define some of the navbar stuff. While this is phpbb, I am not sure how or what he would need to do to adjust that.

DARKMODE:

Code: Select all

<link rel="stylesheet" href="/assets/bs/502/css/bootstrap.min.css">
<link defer href="./assets/css/font-awesome.min.css?assets_version=2560" rel="stylesheet">
<link defer href="./styles/sponsorchat-black/theme/stylesheet.css?assets_version=2560" rel="stylesheet">
<link defer href="./styles/sponsorchat-black/theme/en/stylesheet.css?assets_version=2560" rel="stylesheet">


	<link defer href="./assets/cookieconsent/cookieconsent.min.css?assets_version=2560" rel="stylesheet">

<!--[if lte IE 9]>
	<link defer href="./styles/sponsorchat-black/theme/tweaks.css?assets_version=2560" rel="stylesheet">
<![endif]-->

	
<link href="./ext/dmzx/mchat/styles/prosilver/theme/mchat.css?assets_version=2560" rel="stylesheet" media="screen" />
<link href="./ext/dmzx/referral/styles/all/theme/referral.css?assets_version=2560" rel="stylesheet" media="screen" />
<link href="./ext/senky/massnotification/styles/all/theme/massnotification.css?assets_version=2560" rel="stylesheet" media="screen" />
<link href="./ext/tatiana5/popuppm/styles/all/theme/popuppm.css?assets_version=2560" rel="stylesheet" media="screen" />
<link href="./ext/vse/abbc3/styles/all/theme/abbc3_common.min.css?assets_version=2560" rel="stylesheet" media="screen" />
<link href="./ext/vse/scrolltotop/styles/all/theme/scrolltotop.css?assets_version=2560" rel="stylesheet" media="screen" />
Maybe try moving this line to the bottom to start figuring it out? Since each line of css that is called runs in order from top to bottom. If there is something that conflicts with other css then it will break something. Core Bootstrap CSS =

Code: Select all

<link rel="stylesheet" href="/assets/bs/502/css/bootstrap.min.css">
Also the width of the navbar should be adjust to match the width of the board. The length of each text item sorta matters. You don't center a navbar.
Hell, I have no intention to dig into all the Bootstrap crap. Is the navbar the only reason that you added Bootstrap? To do a top navbar only takes a view lines of code and css. It's not really that complicated. Perhaps adding a bunch of code that isn't used just slows things down for no reason. Use @media in the css to establish the break points. You can use as many as you need to make it look right across devices and screen sizes.
The Fourth Turning Is Here

User avatar
TheButcher
Administrator
Administrator
Posts: 17530
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#13

Post by TheButcher » September 16th, 2023, 6:15 pm

HeidiHoe wrote: ↑
September 16th, 2023, 5:45 pm
I don't give a shit what you call it. What I do know is that you need to fix the break points. If you look at the menu on mobile in landscape or on a tablet it looks like shit. Adjust your break points in the css, maybe add some, or shorten the text on the links. Whatever.

Also, why are there 2 down arrows next to the mchat and user menu instead of one? Fix that shit. It looks bad.
When it comes to code I am totally useless. The arrows are because of the permission levels of users compared to admins.

I see the admin login panel there. let me post the screen shot what I see.


Image

Zug
Banned
Banned
Posts: 418
Joined: February 11th, 2023, 9:19 am
Referrals: 4

#14

Post by Zug » September 16th, 2023, 6:20 pm

HeidiHoe wrote: ↑
September 16th, 2023, 6:08 pm
Hell, I have no intention to dig into all the Bootstrap crap. Is the navbar the only reason that you added Bootstrap? To do a top navbar only takes a view lines of code and css. It's not really that complicated. Perhaps adding a bunch of code that isn't used just slows things down for no reason. Use @media in the css to establish the break points. You can use as many as you need to make it look right across devices and screen sizes.
Bootstrap has all that in there by default. He is using the bootstrap core css file. One purpose of using a custom.css file is to over-ride its defaults among other things to style it to match your site.

Obviously there is a conflict somewhere with css definitions between phpbb css and bootstrp core css.




User avatar
HeidiHoe
Verified Member
Verified Member
Posts: 1653
Joined: February 3rd, 2018, 12:20 pm
Title: Resident Genius

#15

Post by HeidiHoe » September 16th, 2023, 6:22 pm

TheButcher wrote: ↑
September 16th, 2023, 6:15 pm
HeidiHoe wrote: ↑
September 16th, 2023, 5:45 pm
I don't give a shit what you call it. What I do know is that you need to fix the break points. If you look at the menu on mobile in landscape or on a tablet it looks like shit. Adjust your break points in the css, maybe add some, or shorten the text on the links. Whatever.

Also, why are there 2 down arrows next to the mchat and user menu instead of one? Fix that shit. It looks bad.
When it comes to code I am totally useless. The arrows are because of the permission levels of users compared to admins.

I see the admin login panel there. let me post the screen shot what I see.


Image
Yep, 2 arrows. I'm not familiar with this platform but I'm guessing you're not supposed to have 2 showing. Did you do mods in that area what might have caused that?
The Fourth Turning Is Here

what is with the nav bar items moving

Post Reply