I'm using a View to display content from a repeatable field, which involves displaying 'Fields and Text' of variable height. Even if I set the margins/padding of the 'Fields and Text' content, the container it's in, and the View Loop, I still can't get the content to display properly. Is there a setting in Toolset or CSS I may be missing to respect the height of the content? This is only an issue for Views content.
I usually set the Container to a min-height to accommodate view output for content with predictable height (image + title + excerpt), but since this content is of variable length, that workaround isn't a solution.
Could you clarify what it is your are aiming to achieve, I'm not sure I understand the problem.
The View is iterating over groups of fields, and you are outputting those fields. What kinds of fields are they? You are outputting them using the Fields and Text block, and that is the most appropriate block to use? (Ordinarily you would use that block when you want to output a field value inline between some other content.)
And the problem, specifically, with the output is...?
Sorry fort not being clearer about the issue... Here's the setup:
Everything is stored in a Container (screenshot) with margin and padding all set at 0px
Within the Container is a View, using Repeatable Field Groups from the current CPT
Loop style is Unformatted, as I need to display content in a single column. Style settings for the View Loop is margin 25px (top/bottom) and padding 0px (top and bottom)
Within the View Loop are 2 containers:
The 1st one displays a Title and a Heading. Under Inner Content, I've specified 500px for Min-Height and that seems to be recognized. Since the Title uses a shortcode to include an anchor, I've put the shortcode in its own container with the settings 0px for margin/padding (exception of padding-bottom:30px)
The 2nd container contains the Fields and Text content and I've specified 0px for margin/padding. Even though I've specified Min-Height of 1000px or whatever, it gets ignored. The result on the front end is a mess (screenshot) and this has been my experience with all Views referencing RFGs. This seems like a pretty basic issue to me and makes me think that it's something I'm doing wrong or simply something else is interfering here.
The only workaround I've found to work is specifying a really large margin (1700px) to cover all lengths of content, which obviously isn't ideal for content that may significantly vary.
I wonder if your website is online and if we can get access to it to check this further? If yes, your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **
I also wonder, if you were able to check this with a default theme(2021), this could help us isolate the issue and quickly fix it.