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.

  • I just noticed that it only does this if there is more than one photo uploaded to a single post. – dawoodman71 Dec 10 '16 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 Dec 10 '16 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? – dawoodman71 Dec 10 '16 at 17:09
  • Nevermind. It was the cache! I just cleared it and it's working now. – dawoodman71 Dec 10 '16 at 17:10
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, privacy policy and cookie policy

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