Styling individual li id

I have been trying to style the the link 'Devoted' in my nav menu, but am having no luck. Even going so far to try !important.

I'd simply like to change the text color.

{color: #DA9B4F}

This is the li id for the item.

<li id='nav-menu-item-219' class="menu-item menu-item-type-custom menu-item-object-custom narrow">

The site in question is currently 242community.anchoragehosting.com.

Answers


If you open the page in Google Chrome, you can right click the 'Devoted' menu and click Inspect Element. You will then see that the li contains an a which contains a span. To change the text color, simply style the span element, like so:

#nav-menu-item-219 a span {
    color: #DA9B4F;
}

Try something like that:

ul {
    list-style: none;
    padding:0;
    margin:0;
}

li#nav-menu-item-219 { 
    color: #DA9B4F;
}

li:before {
    content: "• ";
    color: red;
}
<ul>
    <li>Foo</li>
    <li id="nav-menu-item-219">Bar</li>
    <li>Foo2</li>
</ul>

Need Your Help

false sharing in boost::detail::spinlock_pool?

c++ boost c++11 shared-ptr boost-thread

I came across this SO question and reading it over eventually led me to look at boost::detail::spinlock_pool.

What is the exact difference and advantages/disadvantages of initializeUnorderedBulkOperation and initializeOrderedBulkOperation?

java mongodb bulkinsert

I am working on a functionality in java where I have to do a BulkWriteOperation using mongoDb. Here I came across the two types of BulkWriteOperation: