• Resolved estudi33

    (@estudi33)


    Hi,

    In the tab with the product information, the attributes appear all in a row and we would like one to appear on each line. With css we have managed to separate and edit the size and color of the title, but we do not know how to separate the attributes in different lines (in this case color and size).

    In this screenshot we have marked the part to which we refer:

    View post on imgur.com

    How can we fix this?

    Thanks for your help!

    Regards;
    Vanessa

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Alberto Ruggiero

    (@witcher83)

    hello @estudi33

    I tried to check the page but i can’t see it, it is hidden somewhere?

    Thread Starter estudi33

    (@estudi33)

    Hi Alberto,

    As we are testing, we have not yet added the catalog to the menu.

    This is the link to the textile category of the catalogue, which is where the products include color and size attributes: https://www.xn--elgranengao-beb.com/product-category/textil/

    Plugin Support Alberto Ruggiero

    (@witcher83)

    Hello @estudi33

    thanks for sharing the URL. You should do the following:

    1. copy the file request-quote-view.php
      from wp-content/plugins/yith-woocommerce-request-a-quote/templates/
      to wp-content/theme/YOUR-CHILD-THEME/woocommerce/
    2. Then, search for this part of code (it should be line 127):
      echo esc_html( $data['key'] ) . ': ' . wp_kses_post( $data['value'] ) . "\n";
    3. Change it into this:
      echo esc_html( $data['key'] ) . ': ' . wp_kses_post( $data['value'] ) . "<br />";
    Thread Starter estudi33

    (@estudi33)

    Hi Alberto,

    Done. Thank you very much for your help!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display of attributes in the product file’ is closed to new replies.