• 0
Sign in to follow this  
Followers 0

Navbar text-color


Question

Posted · Report post

Happy new year guys!

 

I just wanted to change the text-color of my NavBar, but it wont work. i guess i use the wrong code. 

I have to change the color because it is white and i got a white background.

 

http://entwurf1.epic-webdesign-hannover.de/

 

 

 #site .navbar {
background-color: rgba(0, 0, 0, 0);
background-image: none;
border: 0 none;
box-shadow: none;
    text-color: black;
}
 
 
I hope you can help me. :)

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Posted · Report post

Try this instead:

 

#site .navline > li > a {
color: #F00;
}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi,

 

This is because the styling for the menu colors comes from this:

 

.navbar .navline > li > a

 

So if you try the following that should work.

 

#site .navbar .navline > li > a { Add your CSS here }

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks for help, but it dont work at all. I do not understand why, because i believe my custom css/less dont work.

 

I copy/paste the code from the DMS dokumentation for the branding area and it do not work too.

 

Im using the latest Flatten and DMS version.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

This code works. Thank you!

 

I just found out, that if some incorrect code is written in the custom css/less area, the whole custom-code wont work. Not only the one with bad-code but all.

 

Now are some things clear to me. :P

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Yeah, basically you need to make sure your code is valid and minus of mistakes, as it can prevent the compiler from working. Happy to hear the code worked.

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0