Tell us what you are trying to do?
1) using "fields_ and_text" to put the static text "ARTIST: " adead of the dynamic data "name_of_artist" -> [types field='name'] [/types] respectively [types field='name' item='$parent'][/types]
look at added picture "fields_ and_text"_versus_"single field" -> none of both functions
whilst the "single_field" works perfectly!
2) is there any posibility to put text in a box with predefined height. Preferably with automaticaly adapting the text height so that all the text fits or automaticaly a scroling arises? -> see added picture "textblock_with_defined_height" and look at the title of the shows.
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site?
hidden link
{removed}
Hi,
Thank you for contacting us and I'd be happy to assist.
1. To avoid any extra styles and formatting for the output, you can switch to the 'HTML' mode of the 'Fields and Text' block and add the text and the shortcode in that.
( screenshot: hidden link )
2. To make all the results boxes appear with the consistent/same height, you can include the following custom CSS code in the view's 'Custom CSS' section:
.js-wpv-loop-wrapper > .tb-grid > .tb-grid-column > .wpv-block-loop-item {
min-height: 100%;
}
Note: For privacy reasons, the access details should never be included in the message of the ticket and only be shared through the dedicated fields for the access details.
I hope this helps and please let me know if you need further assistance.
regards,
Waqar
hi
sounds simple but
ad 1) will try hereafter
ad2) where do I encounter the "the view's 'Custom CSS' section"
thanks
Ed.
hi again
ad1) I found the "edit view"
there are css editors under a )"Search and Pagination"
b )"Loop Editor"
where to put the above mentioned code?
thanks
ed.
hi
"1. To avoid any extra styles and formatting for the output, you can switch to the 'HTML' mode of the 'Fields and Text' block and add the text and the shortcode in that.
( screenshot: hidden link )"
I've gone to HTML mode and input:
<p><b>Artist:</b></p>
[types field='name' item='$parent'][/types]
puts me artist in bold but does not give the custom value!!!
thanks
Ed.
Thanks for writing back.
> where do I encounter the "the view's 'Custom CSS' section"
- You'll find it in the "View" block's settings, under the 'Custom JS and CSS' tab.
( screenshot: hidden link )
I've added my suggested CSS code in the field now.
> I've gone to HTML mode and input:
<p><b>Artist:</b></p>
[types field='name' item='$parent'][/types]
puts me artist in bold but does not give the custom value!!!
- I've changed the shortcode to the following, in the content template 'Template_for_expositions' and the artist value is also showing now:
[types field='name' item='@artist-exposition.parent'][/types]
Back-end screenshot: hidden link
Front-end screenshot: hidden link