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

Can I customize media rss feed?

Discussion in 'Media Gallery Support' started by rhodes, Dec 7, 2014.

  1. rhodes

    rhodes Active Member

    I use the Google feed api to fetch items from my media gallery rss feed at /community/media/index.rss.

    This works fine. However I'noticed that the iframes dimensions are always "<iframe width="500" height="300". (rss content field) So when you want to add the rendered feed to a sidebar (300px width) it breaks the layout.

    Is there any possibility to customize the media gallery rss feed?

    regards, rhodes
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    You would have to use CSS to specifically override that behaviour, something like (I haven't tested this, you may need to adjust the exact code for the markup and specifics of your style):

    Code:
    .sidebar iframe
    {
        width: 200px!important;
    }
    The actual iframe dimensions are defined in your BB Code Media Site embed HTML so not directly editable within the context of the Gallery anyway.
     

Share This Page