0
Welcome Guest! Login
0 items Join Now

Metropolis responsive/ K2 image width

    • Eykon's Avatar
    • Eykon
    • Newbie
    • Posts: 4
    • Thanks: 0

    Metropolis responsive/ K2 image width

    Posted 12 years 1 month ago
    • I'm have an issue with the image widths in a K2 item no matter the configuration of K2 in parameters or categories or item an image attached to the item balloons out to take up the entire available space in the item...seen here...
      http://www.milsimaustralia.com.au/index.php/helmets/item/2-mich2000-with-rail-tan

      The image is set to show as small px width 325...but no matter the config always comes out like this

      I found this information through a google search...is it a way to fix the issue? I can make the changes just need some advice..as in is this the issue and where can I find a similar line in the Metro template.
      Anyway I've found where this can be changed. Looks like it's all a K2 style which is designed that image should cover full width of a column. To remove this please edit /templates/gk_fashion/css/k2.css (line 74):
      Code: Select all
          .itemImageBlock img {
              -moz-transition: all 0.3s ease 0s;
              height: auto;
              max-width: 100%;
              width: 100% !important;
          }

      and remove this line:
      Code: Select all
          width: 100% !important;

      Any help greatly appreciated
    • Eykon's Avatar
    • Eykon
    • Newbie
    • Posts: 4
    • Thanks: 0

    Re: Metropolis responsive/ K2 image width

    Posted 12 years 1 month ago
    • I found in the folder css-compiled the file thridparty-k2.css

      should I remove all of the lines
      width: 100%  !important;
      save then overwrite?
    • Eykon's Avatar
    • Eykon
    • Newbie
    • Posts: 4
    • Thanks: 0

    Re: Metropolis responsive/ K2 image width

    Posted 12 years 1 month ago
    • Yep that did it. Thanks ha ha

      oh your good! :cheesy:
    • tblueweb's Avatar
    • tblueweb
    • Rocketeer
    • Posts: 95
    • Thanks: 0

    Re: Metropolis responsive/ K2 image width

    Posted 11 years 11 months ago
    • This worked for all of 2 minutes. Suspicion that the css was recompiled form the source somewhere.
    • ebajh69's Avatar
    • ebajh69
    • Jr. Rocketeer
    • Posts: 41
    • Thanks: 0

    Re: Metropolis responsive/ K2 image width

    Posted 11 years 9 months ago

Time to create page: 0.073 seconds