Image with caption didn't resize (bug?)

appyet

Support Team Member
Staff member
it works good, check the code here: http://jsfiddle.net/5am30c5a/2/

I removed the links around the <img /> tags using jQuery and added default appyet CSS code, all images are resized correctly.
I see both Feed Url contain class: wp-caption. How about adding following styles in HTML Header? if it could fix the problem, we could implement it in code

.wp-caption{width: auto !important; height: auto !important; max-width: 100%; padding:0px !important; margin-left:0px !important; margin-right:0px !important; margin-top:0px !important; margin-bottom:0px !important }
 

Jesús Romero

New Member
I see both Feed Url contain class: wp-caption. How about adding following styles in HTML Header? if it could fix the problem, we could implement it in code

.wp-caption{width: auto !important; height: auto !important; max-width: 100%; padding:0px !important; margin-left:0px !important; margin-right:0px !important; margin-top:0px !important; margin-bottom:0px !important }

This code fixes the problem (at least in my Feed)
Now both the image and the caption look good.

Thank you very much
 

esafaree1

New Member
I see both Feed Url contain class: wp-caption. How about adding following styles in HTML Header? if it could fix the problem, we could implement it in code

.wp-caption{width: auto !important; height: auto !important; max-width: 100%; padding:0px !important; margin-left:0px !important; margin-right:0px !important; margin-top:0px !important; margin-bottom:0px !important }

Problem solved! Thank you @appyet and @joseph raphael for assisting me. Really appreciate what you guys did.
 

appyet

Support Team Member
Staff member
Jq
@appyet Can you also implement the jQuery fix that removes <a></a> tags from around images, this cause confusion with the photo viewer in AppYet.
Jquery can cause slow down in article load. Are there CSS solution? Can you describe the problem with screenshot?
 
Top