We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

CSS Overrides Beginner Question [Answered] | Forum

Topic location: Forum home » Support » General Questions
Rob R
Rob R Sep 9 '14
Potentially very newbie question here but just wanted to confirm, when overriding CSS in the Themes / Appearance tab in Admin, do I need to identify the entire class or just the part of the class I want to change?

For example I want to change this original class so that the padding is less:

--------------------------------

.ow_box_empty .ow_newsfeed_btns {    background: none repeat scroll 0 0 #fff1db;    border: 1px solid #dadada;    margin-left: -6px;    margin-right: -6px;    padding: 10px;}

--------------------------------

Can I simply enter this or do I need to paste the entire class with only changes to the padding attribute?

.ow_box_empty .ow_newsfeed_btns {
    padding: 5px;}


Thanks,
The Forum post is edited by ross Sep 10 '14
ross Team
ross Sep 9 '14
just padding attribute, the rest will stay put
Rob R
Rob R Sep 9 '14
Thanks!