[Resuelto] Cannot get 2 fields to appear next to each other using Fields and Views block
This support ticket is created hace 2 años, 10 meses. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
Sun
Mon
Tue
Wed
Thu
Fri
Sat
-
10:00 – 13:00
10:00 – 13:00
10:00 – 13:00
10:00 – 13:00
10:00 – 13:00
-
-
14:00 – 18:00
14:00 – 18:00
14:00 – 18:00
14:00 – 18:00
14:00 – 18:00
-
Supporter timezone: Asia/Kolkata (GMT+05:30)
Este tema contiene 3 respuestas, tiene 2 mensajes.
I'm trying to put 2 custom fields next to each other in the same sentence: a product name and then the product price. This is turning out to be very difficult. Toolset keeps wanting to put them on their own lines, no matter what I try to do.
I'm using the fields and views block. Toolset puts <p></p> around the first shortcode and then nothing around the other. Why the paragraph code? and if it's inserted it for the first code, why not the second?
I then go into the HTML view to remove the <p> and </p>, but on the frontend, the css class tb-fields-and-text doesn't take up the full width of the enclosing column, so the words get wrapped.
Is there some trick to the formatting with blocks? How do I get control over simple issues like this?
On further investigation, it seems this behaviour is not present when using the default Paragraph block an inserting custom fields in there. It's an issue with the Fields and Text block. What I noticed is that the second field is a Toolset WooCommerce field, and when inserted in the Field and Views block, it puts a span around it and treats it differently to other fields.
I think this is still worth investigating as a bug .
Hello. Thank you for contacting the Toolset support.
As I understand, you want to display the title and price on the same line - is that correct? If yes, can you please share problem URL and admin access details. Let me review your structure and see what we can do to fix it.
Please share details about what you want to display at what place. Maybe you can share screenshot about your expected result.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
As I mentioned in my previous reply, I was able to get around this bug by using the default paragraph block and inserting dynamic data. However, I strongly believe that this is a bug in the Fields and Text Block, and that you need to investigate it, as it does some strange things with the formatting.