Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #28601

    http://agwp.agarkitekter.se/omagarkitekter/medarbetare/

    Username: test

    Password: test

    Click on the first image (BECKMAN, TOMAS) in the portfolio (Im using the ajax preview). The image size is 400×267, but in the “slideshow” (only one image though so it’s not really a slideshow) the image is much bigger, it seems to be scaled up quite a bit? The lightbox size is correct.

    #138075

    Hi,

    Try adding this code to the Quick CSS area in the Theme options page:

    .portfolio-preview-image {

    width: 16%;

    }

    Regards,

    Josue

    #138076

    Hi!

    That worked, but the problem is that I have 2 portfolios, and the other portfolio shouldn’t have small images (those images is 900×675).

    Regards,

    Tomas

    #138077

    Hey!

    Try using the page-id class to differentiate it:

    .page-id-26 .portfolio-preview-image { width 16%; }

    .page-id-165 .portfolio-preview-image { width: 70%; }

    Regards,

    Josue

    #138078

    That did it, thanks a lot!

    Regards,

    Tomas

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Ajax preview image scaled up?’ is closed to new replies.