NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

How to change navbar in the custom.css
Started by train21

train21

train21

Member
Joined
01 Feb 2017
Last Seen
24 Feb 2021
Topics
17
Posts
26
Can't find which line to change the color of the nav bar.
train21 · over 6 years ago
Tsuki

Tsuki

Member
Joined
25 Mar 2017
Last Seen
17 Jan 2022
Topics
5
Posts
27
The Navbar isnt inside the custom.css part. You can change the default navbar in the bootstrap.min.css or add a class in your custom.css and add that class to your navbar in your navbar.tpl.

Both ways work I would recommend creating a new class.

~Tsuki
Tsuki · over 6 years ago · Last edited: over 6 years ago
train21

train21

Member
Joined
01 Feb 2017
Last Seen
24 Feb 2021
Topics
17
Posts
26
Okay would this be good. How would I put this in custom.css and add the class to navbar.tpl

https://pastebin.com/xg2HayMm
train21 · over 6 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
19 Apr 2024
Topics
41
Posts
1047
You can paste that into styles/themes/theme/css/custom.css. However, to view the changes, you may need to force a cache refresh by pressing Ctrl+F5 in your browser whilst viewing your site.
Samerton · over 6 years ago
train21

train21

Member
Joined
01 Feb 2017
Last Seen
24 Feb 2021
Topics
17
Posts
26
Thanks
 
train21 · over 6 years ago