• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Resources Style Bug

PASS

Active member
#1
After I made some color changes to the default XF style, I noticed the "Article" area doesn't have any padding.

Untitled-1.png

Adding the CSS in red, fixes the left, right, and bottom padding but the default css for the top padding is being overridden by some other css.

.resourceUpdate
{
border-bottom: none;
border-top: 1px solid rgb(178, 178, 178);
padding: 40px 6px 6px 6px;
overflow: hidden; zoom: 1;
}

Untitled-2.png

Any idea how to fix?
 

Chris D

XenForo developer
Staff member
#4
You could just edit .resourceUpdate:first-child to have the value you want. Or add your own CSS to EXTRA.css, e.g.

Code:
.resourceUpdate:first-child
{
    padding-top: 6px!important;
}