WordPress.org

Ready to get started?Download WordPress

Forums

NewsPage
Center the RSS feed (3 posts)

  1. Hippie459MN
    Member
    Posted 1 year ago #

    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.

    http://wordpress.org/extend/plugins/newspage/

  2. mjefferson96
    Member
    Posted 1 year ago #

    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;

  3. Hippie459MN
    Member
    Posted 1 year ago #

    Thanks. Worked perfect.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.