Support » Plugin: NewsPage » Center the RSS feed

  • How would I go about centering the RSS feed on my page? I have tried editing the CSS file to the line below with no luck.

    div.feed { width: 450px;float: center;padding: 0 20px 20px 0;margin: 0;}

    It still shows on the page with it set to left and not center and making the page I am using it on not look right at all. Any help would be great.

Viewing 2 replies - 1 through 2 (of 2 total)
  • To center a div you need to remove the margin:0 and float command and add margin-left:auto; margin-right:auto;
    and if you want it truly center then you need to remove change the padding to padding: 0 0 20px 0;

    Thanks. Worked perfect.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Center the RSS feed’ is closed to new replies.