How move product description nearer to product title on product page

Topic summary

A user needed to reduce excessive white space between the product title and description on their Shopify product page, which appeared after hiding the price and “tax included” text.

Solutions provided:

  • Quick fix: Add CSS code to the Theme Customizer’s Custom CSS settings to hide the status role element causing the gap
  • Alternative approach: Edit the theme’s CSS file (base.css, style.css, or theme.css) directly by adding display:none !important to the price class

Both solutions target hiding the price container rather than just the price text itself, which was creating the unwanted spacing.

Outcome: The issue was successfully resolved using the provided CSS code.

Summarized with AI on November 13. AI used: claude-sonnet-4-5-20250929.

Hi, please can someone help by moving the product description closer to the product title, as there is a large white space between them where I have hidden the price and “tax included” text. Please help

thanks
https://512f21.myshopify.com/products/arch-top-double-gate
psswd: Chameleon

1 Like

Hey @CraigReep ,

Please paste this into your Custom CSS settings in the Theme Customizer.

.no-js-hidden[role="status"] {
    display: none;
}

Hi @CraigReep

You hide the price but the container of it.

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

.price {
    display: none !important;
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Works great, Much appreciated mate!