Field Padding

By: Kevin Harwood | Asked: 01/11/2023
ForumsCategory: Code HelpField Padding
Kevin Harwood asked 2 years ago

Hi there, I'm needing to set the padding between fields in a repeater, basically I need as little as possible and need to to not scale with the size of the page. Essentially trying to mimic an excel sheet type of look within a repeater. Anyone ever tried that?

2 Answers
Walter JonesWalter Jones answered 2 years ago
No but you can play around with the style through css and see how it works for you. 
Victor Font answered 2 years ago

Repeaters are CSS grids. To increase/decrease space between fields, you may have to adjust the column and row gaps.

Kevin Harwood replied 2 years ago

Any tips on how to do that? (python programmer not so proficient in css!)

Victor Font replied 2 years ago

Use your browser's inspection tool and locate the div with the frm_section id for your repeater field. Adjust the gap value to your liking and copy the CSS class and new gap setting to the Custom CSS page in the Styles area.

Kevin Harwood replied 2 years ago

AHHh right! thanks!!! will give that a go

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right