3

Images added to the feed are getting a height set inline which resizes the images. Any ideas where I might go in JomSocial configuration to turn this off?

Images in feed are getting height set incorrectly.

4
  • I just noticed that it only does this if there is more than one photo uploaded to a single post. Commented Dec 10, 2016 at 16:09
  • 1
    You can always override any inline set attributes by using !important declaration in your custom.css. Like img {height: auto !important;}
    – Mikan
    Commented Dec 10, 2016 at 16:43
  • My thought exactly. I've added this to the custom.css for the default theme but I don't see it on the site. Do I need to reset something in Joomla for the change to take effect? Commented Dec 10, 2016 at 17:09
  • Nevermind. It was the cache! I just cleared it and it's working now. Commented Dec 10, 2016 at 17:10

1 Answer 1

0

OK, I know it's short answer, but OP in comment accepted it... So...

You can always override any inline set attributes by using !important declaration in your custom.css. Like img {height: auto !important;}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.