Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28794

    This is hopefully the last question. :)

    When I add a gallery using the standard WP Gallery-function, the images are aligned in a very weird way. In most themes they are centered and had some padding between the images. Have a look: http://theamyrarecords.creativechili.com/gallery/

    Any way I can fix that so it looks more like this:

    http://creative-souls.com/gallery/

    Cheers!

    #138660

    Hi,

    Add this code to your CSS:

    #top .gallery .gallery-icon.landscape {

    padding: 4px;

    border: 1px solid #D9D9D9;

    margin: 10px;

    }

    #top .gallery .gallery-item{

    width: 33%;

    height: auto;

    }

    #top .gallery .gallery-item img{

    width: 100%;

    }

    Try to use same sized images.

    Regards,

    Josue

    #138661

    Worked like a charm, many thanks!

    #138662

    Hey,

    Glad Josue fixed it. :)

    Cheers,

    Ismael

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

The topic ‘Layout of gallery’ is closed to new replies.