• 0

image class > featured image > rapid tabs


Question

Posted · Report post

Hey there,

 

Does anyone know if it's possible to add an image class (.pl-imageframe for example) to the featured image. I know I can insert an image into the body of the post and give it that class, but the problem is, this image won't show in the rabid tabs in the footer?

 

Thanks in advance.

 

Chris

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Posted · Report post

Hi,

 

This isn't possible as far as I know, but you could just use the pl.imageframe styling to your featured image.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Danny,

 

Bit confused. Are you saying that it isn't possible to add an image class to the featured image or is possible?

 

Thanks,

 

Chris

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

OK, use the following:

 

https://gist.github.com/Dannyholt/8fa1726c8a9c93c05ac4

 

This will add the pl-imageframe to the Featured Image.

Not sure what you mean with the Rapid Tabs and footer, are you saying you don't want the image to display there or you do ?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Awesome. Thanks so much Danny. In regards to Rapid Tabs, it won't display an image inserted into body of post. It only displays the featured image. Now I've got the best of both worlds, image class assigned to featured image and image displays in rapid tabs. thanks again.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Ah OK, yeah the Rapid Tabs section will only display the Feature Image, this is the norm for such widgets such as Recent Posts etc.. meaning they will only use the Feature Image.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now