styling news items with background image

Topics: General
Aug 19, 2011 at 6:52 PM

Hello

I would like to style the news. I can do some style changes on ~/Frontend/Composite/News/Styles.css

My question is how can I place a grey background image for each newsitem that produced by News archive function. 

Thnaks

Maydin

  

Aug 19, 2011 at 7:03 PM

This should be fairly straightforward. You just edit the Styles.css to include

 

#news li {background: #CCC url(path/to/image.jpg);}

Note, I'm not sure if it's styled as a list as default, but you can edit the XSLT for the News function anyway you wish. I can provide more detailed instructions later.

Aug 19, 2011 at 9:13 PM

Thanks alot @atomiton,

it worked