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

XF 1.5 How to reduce item padding in global newsfeed?

Alfa1

Well-known member
#1
I want to reduce padding from 10px to 5px for .event .primaryContent .newsFeedItem

I have tried adding this to extra.css:

.news_feed_page_global .event .primaryContent .newsFeedItem {
padding: 5px;
}

But this was unsuccessful, so I tried many variations but somehow I am missing something.
 

EQnoble

Well-known member
#2
Is that for a custom addon? Is it part of XF (I believe not)?

It would be easier if you posted a link to the site on a page showing the problem at hand.
 

Steve F

Well-known member
#3
I want to reduce padding from 10px to 5px for .event .primaryContent .newsFeedItem

I have tried adding this to extra.css:

.news_feed_page_global .event .primaryContent .newsFeedItem {
padding: 5px;
}

But this was unsuccessful, so I tried many variations but somehow I am missing something.
Code:
.news_feed_page_global .NewsFeedItem {
    padding: 5px;
}
I guess that is the page you are looking at, https://xenforo.com/community/recent-activity/ ?