Archived

This topic is now archived and is closed to further replies.

  • 0

How can I add a class or id to images that are being used in banners?


Question

Posted · Report post

I'm using banners on a page with text and images side by side. I would like to add a class to the images so I can style them. Is there a way to do this? I don't have much experience with hooks but think that might be the way.

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

Hi there, if you're using the banner section you can add html directly into the banner media area instead of using the upload image field. http://screencast.com/t/mJMD5nIUtPz

 

You can place your image html in a div into this area, that will allow you to add a class and use it to amend/edit the css.

Share this post


Link to post
Share on other sites

Posted · Report post

thanks, that didn't even occur to me! so easy

Share this post


Link to post
Share on other sites

Posted · Report post

You're welcome :-)

Share this post


Link to post
Share on other sites