As we know at the Content block of Magento 2.4, and Magento 2.3 backend when we add a product. One is the short description, which is displayed around the price, and SKU area; the other is a normal description, which is displayed just under the Product description area, which usually includes: Description, More Information, and Reviews.
There is a big distance between the product title and the short description. How to let the short description be displayed just under the product title?
Edit catalog_product_view.xml, which is under
app/design/frontend/Prescriptionglasses/safetyglasses/Magento_Catalog/templates/product/view/
add the following contents:
<page layout=”1column” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”>
<body>
<move element=”product.info.overview” destination=”page.main.title” after=”-“/>
</body>
</page>
reference page:
vendor/magento/theme-frontend-luma/Magento_Catalog/layout/
catalog_product_view.xml