Hi there,
I’m not quite sure I understand, what next line are you referring to? If you’re looking to change the *order* in which attributes are shown on the front end – You can do that by dragging and dropping the attribute terms under Products > Attributes > YOUR ATTRIBUTE > Configure Terms. Here’s a screenshot to illustrate that better:

Link to image: https://d.pr/i/Q98TId
Thread Starter
hurab
(@hurab)
eerrmm noo.
As in the screenshot https://paste.pics/891B6 you will see that sizes from XS to 7XL are written two times.
I want that in one line it appears as XS-7XL and then xs-7xL in another line
xs, s, m, l, xl, 2xl…
xs, s, m, l, xl, 2xl…
but currently appearing like this xs, s, m, l, xl, 2xl, xs, …..
i want to add line break
Hi there,
I understand you are trying to make the two different sets of terms in the single attribute display on separate lines (as if if they were separate attributes). You mentioned trying to put a <br> in there, however entering a break like that as one of the terms is not going to work or make it render as HTML.
You will need to either write PHP to change how it outputs the list of terms (in the wc_display_product_attributes function of the /woocommerce/includes/wc-template-functions.php file), or write JavaScript to run and adjust that after the page is loaded. Alternatively, you could make those separate attributes instead of squeezing them into a single one.
If you need assistance with coding or custom development, we recommend reaching out to a developer from one of the services at https://woocommerce.com/customizations/.
I hope that helps!
Plugin Support
slash1andy
(@slash1andy)
Automattic Happiness Engineer
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.