Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   RSS, Feeds & Subscribing (http://forum.bytesforall.com/forumdisplay.php?f=18)
-   -   Problems with inserting RSS (http://forum.bytesforall.com/showthread.php?t=112)

glenroy Jan 18, 2009 09:56 PM

Problems with inserting RSS
 
Hi. Firstly let me say that I love this theme. Now here is my poblem. I have magpie installed on my server to generate rss feeds from other sites. It generates the javascript and I copy and paste it into a page. However, the page doesn't display the script properly. That is, it only displays the feed at around 200px instead of say 100% which I want. Any idea on how to fix this please?

Flynn Jan 19, 2009 02:38 AM

I would have to see the error in action, i.e. a URL

glenroy Jan 20, 2009 01:31 AM

Thanks Flynn. You can go to: http://www.cooyal.com/news-just-in to see what I mean. I want this to expand the width of the page. Is it anything to do with tables or stylesheet?

Flynn Jan 20, 2009 01:49 AM

The CSS selector div.rss-box is being used for both the RSS buttons on the top right in the header as intended by me, and it's also being used as container for all RSS items in the middle column. Did you use that manually or was it added automatically? You'd have to change one of the two "div.rss-box" to something different.

Currently div.rss-box is getting a width of 280px via Theme Options -> RSS Settings -> RSS Box width

Suggestion: Change the div.rss-box in the middle column to something else such as div.rss-middle.

That should be enough. To further style div.rss-middle add it as a new style via Theme Options -> HTML/CSS Inserts -> CSS Inserts, i.e.

div.rss-middle {
...put some styles here...
}

See the settings of div.rss-box in style.css.php (should be line 335) for a styling example.

glenroy Jan 20, 2009 02:02 AM

Thanks for the quick response. You say "Change the div.rss-box in the middle column to something else such as div.rss-middle" but where do I do this at?

Flynn Jan 20, 2009 06:31 AM

I just saw that those links are generated with javascript, probably with a widget, so it is indeed not easily possible to change the name of the div container.

I had not thought about this - Alternatively you can give the div.rss-box a second width if it is inside a post:

Paste the following into the textarea "CSS Inserts" at the menu tab "HTML/CSS Inserts"

HTML Code:

.post div.rss-box {
width: auto !important;
}

If that doesn't work try this instead

HTML Code:

.post div.rss-box {
width: 100% !important;
}


glenroy Jan 21, 2009 09:46 PM

Thanks Flynn. The first one did the job. Again, may I say congratulations on an excellent theme :)


All times are GMT -6. The time now is 02:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.