• fatheaddesign

    (@fatheaddesign)


    Hey everyone – this is sort of newbish question. I’ve tried to do some searching on this but I’ve come up empty handed. Is there any way I can target any of these classes in the CSS? Also- I don’t want to apply all the same CSS to all of these classes. Some will be different.

    <div id="sidebar">
    	<h1>Sidebar</h1>
    	<ul>
    					<li>
    				<ul>
    				<li class="page_item page-item-79"><a href="http://bksfin.bendicart.com/our-services/" title="Our Services">Our Services</a></li>
    <li class="page_item page-item-13"><a href="http://bksfin.bendicart.com/medicare-and-medicaid-cost-reports/" title="Medicare and Medicaid Cost Reports">Medicare and Medicaid Cost Reports</a></li>
    <li class="page_item page-item-15"><a href="http://bksfin.bendicart.com/specialized-health-care-accounting/" title="Specialized Health Care Accounting">Specialized Health Care Accounting</a></li>
    
    <li class="page_item page-item-83"><a href="http://bksfin.bendicart.com/accounting-services/" title="Accounting Services">Accounting Services</a></li>
    <li class="page_item page-item-17"><a href="http://bksfin.bendicart.com/insurance-services/" title="Insurance Services">Insurance Services</a></li>
    <li class="page_item page-item-19"><a href="http://bksfin.bendicart.com/tax-services/" title="Tax Services">Tax Services</a></li>
    <li class="page_item page-item-23"><a href="http://bksfin.bendicart.com/corporateevaluations/" title="Corporate Evaluations">Corporate Evaluations</a></li>
    <li class="page_item page-item-25"><a href="http://bksfin.bendicart.com/financial-reporting/" title="Financial Reporting">Financial Reporting</a></li>
    <li class="page_item page-item-2"><a href="http://bksfin.bendicart.com/about/" title="About Brooks Financial">About Brooks Financial</a></li>
    <li class="page_item page-item-27"><a href="http://bksfin.bendicart.com/forms/" title="Downloadable Forms">Downloadable Forms</a></li>
    <li class="page_item page-item-29"><a href="http://bksfin.bendicart.com/contact-us/" title="Contact Us">Contact Us</a></li>
    				</ul>
    
    			</li>
    
    			</ul>
    </div>
        </div>

    So like this:

    .page_item page-item-79{color:#000}
     .page_item page-item-29{color:#EEE}

    Now that’s just an example (not what I need done).

    Any ideas? Thank you very much in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Targeting page item Classes’ is closed to new replies.