1
olympeus
add css class to images in news
  • 2005/4/9 22:33

  • olympeus

  • Just popping in

  • Posts: 8

  • Since: 2004/4/22


Hi All,

Is it possible to add a class to all images in de news module? so for instance I can render a border around the images that are in my news items.

If someone could point me to the right file to edit?

-Olympeus.

2
exbanious
Re: add css class to images in news
  • 2005/4/9 22:49

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


put this in news_item.html

<style type="text/css">

3
olympeus
Re: add css class to images in news
  • 2005/4/10 0:14

  • olympeus

  • Just popping in

  • Posts: 8

  • Since: 2004/4/22


Hey, tnx for the help.
Problem is it doesn't help in the right way.
Now, all images on my site have borders, and I only want items in the news to have borders + I don't want the topic image to have any borders.

Although it's not a big problem if the topic image has a border, I would like it more if it haven't

4
jdseymour
Re: add css class to images in news

In the AMS template put
and close the < /div> after the image placeholder. Then define your_class_name in your style.css for your theme.

Of course you will need to clone your templates to edit them.

HTH.

Login

Who's Online

212 user(s) are online (121 user(s) are browsing Support Forums)


Members: 1


Guests: 211


Mamba,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits