Add To Cart and Variant Pills Mojave Theme

Topic summary

Main issue: Adjust Mojave theme product form layout—make the Add to Cart button full width and tidy/inline size variant pills (XS–XXXL).

Recent actions:

  • Store URL shared to allow targeted help. Screenshots attached for layout context (not essential to reproduce).
  • Solution applied: adding CSS in base.css to set .main-product__form-grid to a single-column layout (via grid-template-columns and gap) made the Add to Cart button full width.
  • Follow‑up fix: an additional CSS rule hid the SVG arrow icon inside the Add to Cart button.

Outstanding item:

  • Request to align size variant “pills” (option buttons) in a straight line remains unresolved. The user wants all size options on one row and previously mentioned removing the “Size” text/label for a cleaner single-row layout.

Status: Partially resolved. Full-width button and arrow removal are done; guidance for single-row alignment of variant pills is still needed (no CSS solution provided yet).

Summarized with AI on January 30. AI used: gpt-5.

Hi there,

I’m trying to make the add to cart button full width as i removed the quanity variant pill on my mojave theme and also remove the size text from the variant pills to make it all in one row as everything doesn’t look tidy at all, please let me know what I can do to fix this.

Much Appreciated

Hello @Proud-Dreamer

To provide you with the most precise solution in this case, could you please share your page URL ( with pass if your store password is enabled )?

Thank you and hope to hear from you.
Best regards,
GemPages Support Team

the page url is here, https://proudtobeadreamer.com/ and im pretty sure the passcode is unlocked but if not it should be stawng.

Thanks

Hi @Proud-Dreamer ,

You can do that by adding this CSS code at the bottom of base.css file in Online store > Themes > Edit codes > Assets

.main-product__form-grid {
grid-template-columns: max-content !important;
grid-gap: 1.6rem 0 !important;
}

i just put it in the code thank you so much it actually worked, now how can i remove the arrow that it shows in the add to cart button and also fix up the variant pills so it doesnt show up messy like how it was.

Hi, to remove arrow, please add this CSS code

.main-product__form-grid .button>svg { display: none !important; }

I’m not sure about your request to fix up the variant

okay it worked to removed the arrow im just trying to figure out how the layout of the size buttons shown here like the xs - xxxl i want them to all be in a straight line. How can i do that?