• hello,

    when i insert a single image as a thumbnail into a wordpress page it is applying a certain styling.

    when i insert a gallery though, the thumbnails of the images within the gallery are styled differently.

    how can i apply the same styling to the gallery thumbnails that is being applied to the single image thumbnail?

    thanks!

    here is an image what i am trying to achieve:

    https://img291.imageshack.us/img291/8987/stylinggallery.png

Viewing 1 replies (of 1 total)
  • Thread Starter rw1

    (@rw1)

    looking at the code in the page, the gallery code is:

    [gallery link="file" columns="4" orderby="ID"]

    whilst the single image thumbnail is:

    [caption id="attachment_525" align="alignnone" width="150" caption="Caption Here"]<a href="https://www.path_to_image.com/2.jpg"><img src="https://www.path_to_image.com/2-150x150.jpg" alt="" title="Title" width="150" height="150" class="size-thumbnail wp-image-525" /></a>[/caption]

    so it seems there is a style controlled by .wp-caption in my style sheet that is being applied to single image thumbnails, but not gallery thumbnails.

    does anyone know how i could apply that style to gallery thumbnails?

    thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘how to apply single image thumbnail styling to gallery thumbnail styling?’ is closed to new replies.