I'm having a nested view in a taxonomy view here.
hidden link
You'll notice a different way between the first and the following taxonomy terms in <p> and <br>.
I've looked around and can't find the workaround.
Main loop
<ul class="wpv-loop js-wpv-loop">
<wpv-loop>
[wpv-post-body view_template="loop-item-in-etablissements-types"]
</wpv-loop>
content
[wpv-conditional if="( '[wpv-taxonomy-post-count]' gt '1' )"][types termmeta='pluriel'][/types] ([wpv-taxonomy-post-count]) [wpv-view name="etablissements-par-types"][/wpv-conditional]
[wpv-conditional if="( '[wpv-taxonomy-post-count]' eq '1' )"][wpv-taxonomy-title] ([wpv-taxonomy-post-count]) [wpv-view name="etablissements-par-types"][/wpv-conditional]
Internal loop name="etablissements-par-types"
<ul class="wpv-loop js-wpv-loop">
<wpv-loop>
[wpv-post-body view_template="loop-item-in-etablissements-par-types"]
</wpv-loop>
content
[wpv-post-link]
Hope you could help.
Tx
Hi,
Thank you for contacting us and I'd be happy to assist.
Looks like a paragraph tag is being added around all the results from the parent views output, except for the first one.
To avoid any extra formatting and content filtering, you can include the suppress_filters="true" attribute in both the 'wpv-post-body' shortcodes:
( ref: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-body )
For example:
[wpv-post-body view_template="template-name" suppress_filters="true"]
In case the extra spacing is still there, you can include the following custom CSS code in any one of the views:
ul.wpv-loop.js-wpv-loop > li > p:first-of-type {
margin-bottom: 0;
}
regards,
Waqar
Thanks, it solves my issue.