I'm trying to slap a theme on the list I've gotten out of a view. The class is "item-list". So I made a few changes for .item-list in my css file. Border worked, background-color worked, but margin and padding did not work. So I have these bordered, colored blocks all mashed up with each other. Any ideas?

Comments

stevew’s picture

Problem solved. For the record: the CSS file for the view is not the last CSS file to be read. Border was not set later by the theme, so that worked, but margin and padding were. By nesting the classes properly, I was able to get it to work.

Steve
--
http://etmeli.us/ - photos, commentary, occasional sarcasm