InPost Gallery
[resolved] Bottom Margin not working (5 posts)

  1. justone2004
    Posted 2 years ago #

    Hey guys,

    I am having some trouble with the Thumb Margin Bottom option. It does not respond to my changes, the Thumb Margin Left works perfectly though!

    The problem is most obvious on this post on my site. As you can see the bottom spacing is not the same as the left spacing.

    Tried to modify the plugin, but my limited knowledge of .js is preventing me from doing so.

    Any help is greatly appreciated!!

    Best regards, Justin


  2. RealMag777
    Plugin Author

    Posted 2 years ago #

    Hi. Write in your current wp theme main css file this instruction:
    div.yoxview a img{margin-bottom:20px;}
    where: 20px is bottom indent...

  3. justone2004
    Posted 2 years ago #

    Problem solved! Thanks!

    Hope you had a great Christmas and have a happy new year!

  4. RealMag777
    Plugin Author

    Posted 2 years ago #

    Thanks, You are welcome ....

  5. WayneM1
    Posted 2 years ago #

    I just ran into the same issue. Tried the fix above and it did not work.

    However... adding an "!important" to the code did fix it. The code the plugin generates contains element level CSS with the "!important" rule declaration, so it needs to be included with any custom CSS overrides.

    So, for the above example the correct code is:

    div.yoxview a img {margin-bottom:20px !important;}

    Hope that helps others with the same issue.

    Thanks for the great plugin :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • InPost Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.