Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Change font size of inventory on product page

  1. #1
    knivestown is offline Junior Member
    Join Date
    Jun 2011
    Posts
    19

    Question Change font size of inventory on product page

    How do we change the font size and attirbutes for the verbage In stock or Out of stock on the product pages. The default is too small. Thank you!!

  2. #2
    GoVedia is offline Member
    Join Date
    Oct 2012
    Location
    Orange, CA
    Posts
    98

    Default Class Name for Stock Hint

    @knivestown,

    The font size of your Stock Hint can be modified through your CSS style sheet, by targeting the "StockHint" class. Bellow is an example of the default HTML that is rendered for the Stock Hint.

    Code:
    <div class="StockHint StockHint_InStock">
    In stock
    </div>
    To increase the font size, you would modify the following in your CSS file:
    Code:
    .StockHint {
        font-size: 11px;
    }
    You also have the flexibility of specifying your own class name, by passing in a fourth parameter when calling the "DisplayProductStockHint" method in the XML package. For example:

    Code:
    <xsl:value-of select="aspdnsf:DisplayProductStockHint(ProductID, VariantID, 'Product','ClassNameHere')" disable-output-escaping="yes" />
    Robert
    Robert Kanaan
    AspDotNetStorefront Development Partner
    robert@GoVedia.com
    408-758-8845

    GoVedia
    http://GoVedia.com
    Approved AspDotNetStorefront Development Partner
    AspDotNetStorefront Recommended Reseller