The Brand New Blog Post Editor Released!

Read more
Mon. - Fri. 9 am - 5 pm Support Policy
Remember me

Problem with gallery layout in items K2

2 weeks 2 days ago #1

  • Maxim's Avatar
  • Maxim
  • Posts: 9
Problem with layout in items K2 or joomla articles.
If I use [gallery ID=6] In custom html module everything is ok, but if want insert gallery inside article layout doesn't work correctly. Here a link bloodywave.ru/blog-o-tatuirovke/tatuirovki-v-yaponskom-stile
I need your help.
Attachments:
  • (1,691KB)

2 weeks 2 days ago #2

  • Artem's Avatar
  • Artem
  • Posts: 7413
Hey!

Do you already find a solution? On my side your gallery looks fine, here are screens:

Chrome



Safari



Regards,
Artem, Balbooa.com

2 weeks 2 days ago #3

  • Maxim's Avatar
  • Maxim
  • Posts: 9
if you clear the cache you will see a problem

2 weeks 1 day ago #4

  • Artem's Avatar
  • Artem
  • Posts: 7413
Here is a screen from the PC, Google Chrome, cache cleared (ctrl+shift+delete)



Regards,
Artem, Balbooa.com

2 weeks 16 hours ago #5

  • Maxim's Avatar
  • Maxim
  • Posts: 9
I don't know what to do. I also tried using safari and chrome the same problem, check here url bloodywave.ru/blog-o-tatuirovke/tatu-v-stile-realizm. The same problem on mobile.

2 weeks 16 hours ago #6

  • Maxim's Avatar
  • Maxim
  • Posts: 9
Here a scrinshot of safari
Attachments:

2 weeks 16 hours ago #7

  • Artem's Avatar
  • Artem
  • Posts: 7413
Hello,

What version of Chrome / Firefox?

Regards,
Artem, Balbooa.com

2 weeks 16 hours ago #8

  • Maxim's Avatar
  • Maxim
  • Posts: 9
Chrome Версия 70.0.3538.110 (Официальная сборка), (64 бит)

2 weeks 16 hours ago #9

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 4858
Стили вашей темы переопределяют стили галереи.
Вам нужно в файле
bloodywave.ru/templates/bloodywave/css/joomla.css
на строка 225.
.item-content img,
header img,
#k2Container img {
    height: auto!important;
    max-width: 100%!important;
}
Заменит на
.item-content img:not([data-height]),
header img,
#k2Container img:not([data-height]) {
    height: auto!important;
    max-width: 100%!important;
}

Regards,
Vyacheslav, Balbooa.com

2 weeks 11 hours ago #10

  • Maxim's Avatar
  • Maxim
  • Posts: 9
Спасибо! Заработало)
Powered by Kunena Forum