Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
How do I change the buy button
I've just created a new image for the buy button within our webstore. I have noticed that the buy button uses the following code within the website theme:
.btn-BuyOff {FONT-SIZE: 9pt; COLOR: <%=getCurrentAttribute('colortheme','color7')%>; TEXT-DECORATION: none; FONT-WEIGHT: bold; CURSOR:hand; BACKGROUND-COLOR: <%=getCurrentAttribute('colortheme','color3')%>; PADDING: 1 5 1 5; BORDER-STYLE: none; BORDER-WIDTH: 0;}
.btn-BuyOn {FONT-SIZE: 9pt; COLOR: <%=getCurrentAttribute('colortheme','color8')%>; TEXT-DECORATION: none; FONT-WEIGHT: bold; CURSOR:hand; BACKGROUND-COLOR: <%=getCurrentAttribute('colortheme','color4')%>; PADDING: 1 5 1 5; BORDER-STYLE: none; BORDER-WIDTH: 0;}
Now i've tried changing the the style to include the new buy button as a background image, but the spacing stays the same no matter what i declare the width to be. Also I want the 'buy' text on the button, and not for netsuite to pull it in from the custom text area.