Add CSS to RSS feed
-
Having some troubles with adding a css file to feed-rss.php.
The reason I want to add this css is because I want to make the images in the rss feed smaller.Right now I used this code in the css:
IMG{ max-width: 320px; max-height: auto; }
and tried to link it to the rss feed by adding this code to feed-rss.php :
echo '<?xml-stylesheet type="text/css" href="http://www.mysite.com/wp-includes/image.css"'; ?>
I putted both files in wp-includes
But, it doesn’t work. Could anyone help me? What am I doing wrong?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add CSS to RSS feed’ is closed to new replies.