1. 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?

Discussion in 'Styling and Customization Questions' started by Alfa1, Oct 17, 2016.

  1. Alfa1

    Alfa1 Well-Known Member

    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.
  2. EQnoble

    EQnoble Well-Known Member

    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.
    SneakyDave likes this.
  3. Steve F

    Steve F Well-Known Member

    .news_feed_page_global .NewsFeedItem {
        padding: 5px;
    I guess that is the page you are looking at, https://xenforo.com/community/recent-activity/ ?
    EQnoble likes this.
  4. Alfa1

    Alfa1 Well-Known Member

    Thanks! That works like a charm.

Share This Page