Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change text color in a Semantic UI vertical menu?

I have an active red link item in a vertical menu and I only want the pointer to be red. What is the most effective way to change the text so it is black? I have attempted to wrap it in a paragraph element but that only makes it difficult to reposition.

enter image description here

like image 430
wsc Avatar asked Feb 12 '15 20:02

wsc


2 Answers

you can use this: class="ui red header"

http://semantic-ui.com/elements/header.html#colors

like image 184
Morteza QorbanAlizade Avatar answered Oct 13 '22 14:10

Morteza QorbanAlizade


The code for that would look something like this

<div class="ui vertical menu">
  <a class="home">
    HOME
  </a>
</div>

Your css would have to look something like this with your desired color

a.home {
    color: red;
    ...
}
like image 40
Taylor C Avatar answered Oct 13 '22 14:10

Taylor C