Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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.