Adding text to the product page
Adding text to the product page
I want to add some text on the Product Page below the Add to Cart button. Something like "Call us if you can't find what you need - we make custom parts". I think I need to modify the BuyProductDialog.ascx file but I'm not sure how to make sure the text wraps around to the next line and looks nicely formatted, bold, etc. Can anyone show the way to this ASP newbie?
Re: Adding text to the product page
Locate the following closing panel at the end of the BuyProductDialog.ascx file
and replace with
Now you can add any style of your choice (e.g. font-size, font-family etc.) inside inline style attribute. Also you can put the part of the text that you want to wrap inside p tag e.g. <p>Text to wrap to new line</p>. A simple <br /> will also work for line break.
Code: Select all
</asp:Panel>
Code: Select all
<div style="font-weight:bold; margin-top:10px;">Call us if you can't find what you need - we make custom parts.</div>
</asp:Panel>
Last edited by nadeem on Wed Apr 06, 2016 6:07 am, edited 1 time in total.
Re: Adding text to the product page
Thanks that's a good start!