Title: Border
Last modified: February 26, 2024

---

# Border

 *  Resolved [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/border-35/)
 * I think I have a simple question, but still I could not find a solution. I need
   a horizontal line or a bottom-border of 1px after each 3 thumbnails (or after
   each row) in the gallery. Of course I tried searching in the CSS of Modula Grid,
   but nothing seems to have any effect. It would be very nice if this is possible,
   it would make the plugin just perfect for me 😉
 * Thank you in advance for your time.
 * Kind regards from The Netherlands!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fborder-35%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Razvan Aldea](https://wordpress.org/support/users/raldea89/)
 * (@raldea89)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/border-35/#post-17456342)
 * Hello Marion,
   Could you please give us a quick mock of how you want to look so
   we can better understand?Warmly,Razvan
 *  Thread Starter [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/border-35/#post-17456462)
 * Maybe I made myself not clear. My client wants the paintingsgallery seperated
   by 3 or 4 in a row. Ofcouse I can make multiple galleries and divide them with
   a horizontal line, but then a visitor of the site has to open a new gallery instead
   of being able to scroll through all items at once. On their old website (I am
   creating a new one for them) I used a plugin, but it is not a modern one and 
   not so easy to use. However, the page is: [Schilderijen – ariadne leefoge](https://ariadneleefoge.nl/schilderijen/).
   Maybe this makes it clearer on what I mean.
 * Thank you so much for your time and effort!
 * Regards,
 * Marion
 *  [Razvan Aldea](https://wordpress.org/support/users/raldea89/)
 * (@raldea89)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/border-35/#post-17456528)
 * Thank you for the info. It would be really hard to achieve what you want, maybe
   using CSS pseudo-elements like ::after and calculations for the width and placement.
   JavaScript is another option, but if it can be done with pseudo-elements it would
   be better.
   Example:
 *     ```wp-block-code
       .modula-item.effect-pufrobo.tg-loaded:nth-child(3):after {
           content: "";
           display: block;
           width: calc(300% + 60px);
           position: absolute;
           height: 1px;
           background: #000;
           bottom: -15px;
           left: calc(-200% - 60px);
       }
       ```
   
 * Warmly,
   Razvan
 *  Thread Starter [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/border-35/#post-17456555)
 * Yes, I tried already with :after, but no luck. Thank you anyway!
 * Regards,
 * Marion

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

The topic ‘Border’ is closed to new replies.

 * ![](https://ps.w.org/modula-best-grid-gallery/assets/icon-256x256.png?rev=3095828)
 * [Modula Image Gallery - Photo Grid & Video Gallery](https://wordpress.org/plugins/modula-best-grid-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/modula-best-grid-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/modula-best-grid-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/modula-best-grid-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/modula-best-grid-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/modula-best-grid-gallery/reviews/)

## Tags

 * [border](https://wordpress.org/support/topic-tag/border/)
 * [horizontal line](https://wordpress.org/support/topic-tag/horizontal-line/)

 * 4 replies
 * 2 participants
 * Last reply from: [MarionWante](https://wordpress.org/support/users/marionwante/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/border-35/#post-17456555)
 * Status: resolved