Wrong color font for UID in navbar_header - how to change?

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
jtb33
Registered User
Posts: 29
Joined: Thu Dec 02, 2004 11:36 pm

Wrong color font for UID in navbar_header - how to change?

Post by jtb33 » Tue May 15, 2018 4:00 am

It appears that the default colors have an issue with the username being black on the navigation bar in the "SE_Gamer" style I'm using, which makes it impossible to see against the black/gray navbar background. How can I change the color of this item in ONLY this location to be white so that it can be seen? Yes, I posted in the support for this style, but I don't think I'm going to get a response there, and I hope that it's a ubiquitous enough issue that others may be able to help.

Running phpbb v3.2.2
Untitled.jpeg
Untitled.jpeg (18.85 KiB) Viewed 320 times
Last edited by Mick on Tue May 15, 2018 6:50 am, edited 1 time in total.
Reason: Moved from support.

User avatar
canonknipser
Registered User
Posts: 1516
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Wrong color font for UID in navbar_header - how to change?

Post by canonknipser » Tue May 15, 2018 5:51 am

The last version of the SE Gamer here in the Styles-DB https://www.phpbb.com/customise/db/style/se_gamer_dark/ seems to be only for 3.0. So, I would recommend to ask in the dedicated styles support area https://www.phpbb.com/customise/db/styl ... rk/support or the author directly on the website where you got the style.
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

jtb33
Registered User
Posts: 29
Joined: Thu Dec 02, 2004 11:36 pm

Re: Wrong color font for UID in navbar_header - how to change?

Post by jtb33 » Tue May 15, 2018 6:31 am

canonknipser wrote:
Tue May 15, 2018 5:51 am
The last version of the SE Gamer here in the Styles-DB https://www.phpbb.com/customise/db/style/se_gamer_dark/ seems to be only for 3.0. So, I would recommend to ask in the dedicated styles support area https://www.phpbb.com/customise/db/styl ... rk/support or the author directly on the website where you got the style.
It's actually SE_Gamer Light, here: https://www.phpbb.com/customise/db/style/se_gamer_light

Which has one for 3.2.2.

And I did post in that forum, but based on the age of the replies there, I'm not going to get much help. I figured it was probably something fairly easy that others may know as well - not something specific to that style (other than the color).

User avatar
Mannix_
Registered User
Posts: 276
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Wrong color font for UID in navbar_header - how to change?

Post by Mannix_ » Tue May 15, 2018 6:37 pm

try changing the colour of the registered users group in the ACP
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
My CDB contributions . Like my work? Want me to do make a style just for you? PM here or on twitter.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Need some graphics? PM here or on twitter.

jtb33
Registered User
Posts: 29
Joined: Thu Dec 02, 2004 11:36 pm

Re: Wrong color font for UID in navbar_header - how to change?

Post by jtb33 » Tue May 15, 2018 6:44 pm

Mannix_ wrote:
Tue May 15, 2018 6:37 pm
try changing the colour of the registered users group in the ACP
That will fix it, but then it causes problems for 90% of the rest of the site (white on white). I just need to change this one specific thing from a black color to white.

Dan Stylez
Registered User
Posts: 45
Joined: Tue Jan 16, 2018 6:17 am
Contact:

Re: Wrong color font for UID in navbar_header - how to change?

Post by Dan Stylez » Tue May 15, 2018 6:56 pm

You could try:

Code: Select all

.navbar .dropdown-trigger.dropdown-toggle .username-coloured {
color: red !important;
}
This will change just the username on the dropdown in the navbar, the usernames in the notifications box will stay the same colour.
Change red to the colour you want it to be.

User avatar
Mannix_
Registered User
Posts: 276
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Wrong color font for UID in navbar_header - how to change?

Post by Mannix_ » Tue May 15, 2018 7:00 pm

jtb33 wrote:
Tue May 15, 2018 6:44 pm
Mannix_ wrote:
Tue May 15, 2018 6:37 pm
try changing the colour of the registered users group in the ACP
That will fix it, but then it causes problems for 90% of the rest of the site (white on white). I just need to change this one specific thing from a black color to white.
try adding
.nav-black .header-profile a {
color: #ffffff;
} to the stylesheet.css file in the theme folder of the style.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
My CDB contributions . Like my work? Want me to do make a style just for you? PM here or on twitter.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Need some graphics? PM here or on twitter.

jtb33
Registered User
Posts: 29
Joined: Thu Dec 02, 2004 11:36 pm

Re: Wrong color font for UID in navbar_header - how to change?

Post by jtb33 » Tue May 15, 2018 10:12 pm

Thanks for the replies.

When I did this:

Code: Select all

.navbar .dropdown-trigger.dropdown-toggle .username-coloured {
color: red !important;
}
Nothing happened. No changes. Yes, I purged site cache.


When I did this:

Code: Select all

.nav-black .header-profile a {
color: #ffffff;
} 
It did change the username in the nav bar to white, but also changed the drop-down font text under that (Control Panel, Profile and Logout) to white, which is against a white background, rendering them invisible.

Dan Stylez
Registered User
Posts: 45
Joined: Tue Jan 16, 2018 6:17 am
Contact:

Re: Wrong color font for UID in navbar_header - how to change?

Post by Dan Stylez » Tue May 15, 2018 11:35 pm

I think i know what is happening, i'm assuming that in your ACP you haven't set a colour for groups?

The code i added earlier works for groups with colours, This one below works for groups with no colour set.

Code: Select all

.navbar .dropdown-trigger.dropdown-toggle .username {
color: red;
}

jtb33
Registered User
Posts: 29
Joined: Thu Dec 02, 2004 11:36 pm

Re: Wrong color font for UID in navbar_header - how to change?

Post by jtb33 » Wed May 16, 2018 12:05 am

Awesome! That worked - thank you so much!

Post Reply

Return to “[3.2.x] Styles Support & Discussion”

Who is online

Users browsing this forum: No registered users and 11 guests