• Welcome to Tacoma3G.com, a free resource for 2016-2023 Toyota Tacoma owners!

    This website is the passion-project of a USMC veteran/mechanic, @Tyler. I created Tacoma3G.com to share my knowledge of this subject with others and to provide like-minded folks with a comfortable space to ask questions and create 'build threads' within our Tacoma Forums. Now, if the format of this website is confusing to navigate for you, or if you're interested in my full mission and T3G's history, check out the Help and About pages.

css bug, navigation menu, T3G down arrow

midnight20pro

6️⃣ Aficionado
Tacoma3G Supporter
Joined
Feb 22, 2020
Messages
504
Reaction score
538
2020 Pro
Midnight Black
Hey man, I'm not sure if it's only on my screen / browser (windows 10, firefox latest)

So the underline below the down arrow wasn't lining up with the one under the T3G and truck icon. I suspect something new maybe the truck icon, ended up pushing it all down by a pixel or 2.

The solution at least on my screen was to increase the font size from 15 to 17, or 18.
Before:


After:


.p-nav-list > li {
font-size: 18px;
}

It actually ends up making the nav menu more bold on my screen as well.

edit: this seems to break it on microsoft edge / chromium browsers so I'll keep digging
 
Dang, I already went through this headache. I'm not sure what I changed that broke it again.

Thanks for bringing it to my attention. I'm gonna look into it now because there is something more than just font size going on.
 
There are a lot of ways to go about fixing it. The problem is, I want it to be fixed in a way that it will always continue to work regardless of other global CSS changes being made (such as changes to the entire nav or text). Switching the font to 18px is just a quick fix. I'm trying to dial in on where two CSS rules are fighting each other, which is what is happening.

If anyone else is seeing this, please let me know what browser and operating system you're on.
 
Back
Top