Jump to content


Photo
- - - - -

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

banner css image

Best Answer James B , 08 May 2013 - 11:55 PM

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.

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 awkale

awkale

    Newbie

  • Members

  • 9 posts
  • LocationBrooklyn, NY
  • Country: Country Flag

Posted 08 May 2013 - 11:06 PM

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.



#2 James B

James B

    Advocate

  • Moderators
  • 4985 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 08 May 2013 - 11:55 PM   Best Answer

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.

Please Login or Register to see this Hidden Content

 

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.



#3 awkale

awkale

    Newbie

  • Members

  • 9 posts
  • LocationBrooklyn, NY
  • Country: Country Flag

Posted 08 May 2013 - 11:58 PM

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



#4 James B

James B

    Advocate

  • Moderators
  • 4985 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 09 May 2013 - 12:05 AM

You're welcome :-)







Also tagged with one or more of these keywords: banner, css, image