• Resolved thibaultk

    (@thibaultk)


    Hi,

    Most of my portfolio entries have 1 image only. I would like to have the image centered inside the figure, but can’t find a way to do it with CSS. Looks like if I change the CSS of figure.PP_Gallery__item.PP_Gallery__item--image.image-portrait.PP_Masonry__item.masonry-brick and use:

    
    margin-left: auto;
    margin-right: auto;
    

    it centers the image. Is that the proper way of doing this? What do I put in the CSS editor to center my image?

    Thanks!

    • This topic was modified 7 years, 1 month ago by thibaultk.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Center images in portfolio’ is closed to new replies.