Category image to ignore the container-fluid max width

  • Andrea
  • Andrea's Avatar Topic Author
  • Offline
  • Junior Member
5 months 1 day ago #174757 by Andrea
Hi, i'm trying to figure out in which template file i can edit the category display and assign to one of the container-fluids (the one that contains the category main image) another class that forces it to ignore its preset max-width.
Please see here the page:

What i'm trying to achieve is in the attached screenshot.
Hope you can help, best regards,


Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
5 months 11 hours ago - 5 months 11 hours ago #174775 by Fotis
Just locate the category image output in category.php (the K2 override) and either delete the hardcoded width value entirely and control its width via CSS, or just set it to "width:100%;height:auto;".

The result will look like this: (notice the additional CSS change for the padding of the image container)

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory:

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member
Last edit: 5 months 11 hours ago by Fotis.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum