Announcement

Collapse
No announcement yet.

Price formatting ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    In your HTML, wrap your price in span tags with an appropriate class on them

    Code:
    <span class="myprice">your price goes here</span>
    Right at the bottom of your CSS, add the styling:

    Code:
    span.myprice {
    color: red;
    font-weight: bold;
    }
    And I would very much recommend the CSS tutorial posted earlier. W3schools taught me all I know

    Comment


      #17
      Try this (may or may not work depending on your settings).

      Go to the design tab in Actinic, click on a price.
      In the Layout Code view you should see something like this

      blockpriceformat("SecondCurrencyFormat","TaxExclusivePrice","TaxExclusivePriceAlt")/block

      replace that with this.

      Code:
      <span style="font-weight:bold;color:red"><actinic:block PHP='true'>priceformat("<actinic:variable name="SecondCurrencyFormat" />","<Actinic:Variable Name="TaxExclusivePrice"/>", "<actinic:variable name="TaxExclusivePriceAlt" />");</actinic:block></span>
      You should see what you will need to change to get the results you want now.
      "If my answers frighten you then you should cease asking scary questions"

      Comment


        #18
        You need to find the actinic layout that displays the product price.
        You will need to know the basics of how Actinic Layout work and interact.

        It will not be in the Actinic Stylesheet
        Darren Guppy
        Golf Tee Warehouse
        Golf Tees and Golf Accessories.

        Comment


          #19

          Comment


            #20
            Ah, thanks a lot! Now I can finaly do what I wanted to!

            And sorry for being an idiot in CSS, ive already started reading that W3schools tutorial : D

            Comment

            Working...
            X