I've got my theme pretty much how I want it by modifying the bluemarine theme into something totally different. One problem. My sidebars are a lot darker than my main content and the links are the same color as the background. However those links have no class and neither do the the main content links so they're all the same color. I've searched everywhere. Where is the code that will let me add a class to the links that appear in the blocks in the sidebar, like the user menu, navigation, etc, without changing the regular links in the main sections?

Comments

nevets’s picture

A blocks have a class of 'block' so if you want to apply css to all blocks you can do something like

.block a {
   ...
}

I say something like because there may already be a rule that applies and is more specific so you may need something like .sidebar .block a for example.

xscape31’s picture

That worked, thanks.