/    Sign up×
Community /Pin to ProfileBookmark

Which .css actually controls my menu?

I have links to both bootstrap.css and styles.css in the header of my page. I’m using navbar for my menu and both css files have entries for it. Bootstrap.css is the first link followed by styles.css. What I’m trying to accomplish is having the black background always be present, not just after I scroll down a line. Which .css should I look in for the setting? An example of what I’m talking about at [My site](https://foxclone.com).

EDIT: I reversed the order of loading the css files, it made no difference.

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@ib_mintJun 04.2020 — Hi, @larry29936 ,

Try to remove background:0 0; from .navbar-custom {} rule-set:

[Style editor.png](https://i.postimg.cc/MZFNCj4W/screen.png)
Copy linkTweet thisAlerts:
@larry29936authorJun 04.2020 — @ib_mint#1619117

> @ib_mint#1619117 Try to remove background:0 0; from .navbar-custom {} rule-set:

That entry doesn't exist in either bootstrap.css or styles.css. All .navbar-custom entries are in styles.css, What else can I search for?
Copy linkTweet thisAlerts:
@larry29936authorJun 04.2020 — Fixed by adding bg-dark after navbar-dark in:

<nav class="navbar navbar-expand-md navbar-dark navbar-custom fixed-top">
Copy linkTweet thisAlerts:
@ib_mintJun 04.2020 — @larry29936#1619125

Go to the <style> element in your html file and search for:
``<i>
</i>.navbar-custom {
padding:2.125rem 1.5rem 2.125rem 2rem;
box-shadow:none;
background:0 0
}<i>
</i>
`</CODE>
Remove <C>
background: 0 0;</C> or change it to <C>background: #000;`.
Copy linkTweet thisAlerts:
@VITSUSAJun 05.2020 — Have you tried to remove Remove background: 0 0;?
×

Success!

Help @larry29936 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...