problem with article gallery borders

  • Author
    Posts
  • #120031

    fuenfinkunst
    Member

    Hi to all of you,

    love the Oxford theme so far. Perfect for my plans to set up a portfolio.
    I am not very experianced with CSS but so far it worked fine for me.

    Recently I needed to ad borders to the images in the article gallery because most of them are pages from books with lots of blankspace.

    A .gallery-item bordercommand worked well on all sides but the frame around my preview picture is a little to long at the bottom.

    can someone help me remove it ?

    I tried removing margin and padding from .gallery-item, img, dl,dt and dd.

    display: block;
    font-size: 0px;
    and line-height: 0px;

    had no effect eighter. Maybe this is connected to the “Preview Grid” Gallery type I am using.

    You can look at the issue and sourcecode at :
    https://fuenfinkunst.com/2017/10/18/typo-3-kompendium/

    I am thankfull for any clue. :)

    The blog I need help with is fuenfinkunst.com.

    #120234

    scottrrollo
    Theme Author

    Hey there, Florian 👋

    You’re very close! Try adding this snippet to remove that unwanted space below your gallery images:

    .gallery-item img {
        margin-bottom: 0 !important;
    }

    Let us know how that works!

    #120369

    fuenfinkunst
    Member

    Perfect, that solved it.

    Thanks a lot

    #120370

    scottrrollo
    Theme Author

    Great! Glad to help, Florian.

    Let us know if you have any more questions 😀

The topic ‘problem with article gallery borders’ is closed to new replies.