Announcement

Collapse
No announcement yet.

Add colour to product description

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

    Add colour to product description

    I would like to add a spot of colour to my product descriptions i.e. was £1.99.

    Can anyone help by instructing me how to do this please, if this is possible!

    Joy

    #2
    If you only want to do it occasionally, add html to your description like so
    Code:
     !!< <font color="red">was £1.99</font> >!!
    (EDIT: The !!< needs to be at the very beginning of the description and the >!! at the very end of the description.)

    If you want to do it many times, AND you are using one of the css based actinic themes add this in your actinic.css file (after one of the curly } end brackets)
    Code:
     wastext {
    font-color : red;
    }
    and in your description
    Code:
     !!< <span class="wastext">was £1.99</span> >!!
    (EDIT: see note above about position of the !!< >!!!.)
    not much difference? But - if you decide this text should also be in bold italics, then using the css version you would just change the code once to
    Code:
     wastext {
    font-color : red;
    font-weight : bold;
    font-style : italic;
    }
    and in every place you had previously used wastext, the text would now show in bold italic.
    Last edited by wjcampbe; 06-Aug-2005, 11:51 AM. Reason: To correct errors
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      Thanks Bill,

      Have just copied and paste your first suggestion as I only want to use it 5 or 6 times have pasted to the full description on the general tab of the product upload?
      I am using smart theme
      Joy

      Comment


        #4
        No worries

        The code and the concept are there if anyone else ever needs it. (Or if you decide you want to go the other way in amonth or so).
        I have just changed my non-actinic site to css and it cetainly makes maintenance much easier.
        Bill
        www.egyptianwonders.co.uk
        Text directoryWorldwide Actinic(TM) shops
        BC Ness Solutions Support services, custom software
        Registered Microsoft™ Partner (ISV)
        VoIP UK: 0131 208 0605
        Located: Alexandria, EGYPT

        Comment


          #5
          Oops, sorry Bill but I forgot to add the important bid to the previous reply, the was £1.99 is still in black! The red text has not appeared. I have only tried this in preview screen (not uploaded) Sorry but its getting late!

          Joy

          Comment


            #6
            It should work in the preview screen.

            Strange this, but if you move the !!< to the beginning of your description, leave the <font ... /font> bit intact around your was £1.99 and move the >!! to the end of your description, it works OK then - must be a bug in Actinic descriptions.
            Bill
            www.egyptianwonders.co.uk
            Text directoryWorldwide Actinic(TM) shops
            BC Ness Solutions Support services, custom software
            Registered Microsoft™ Partner (ISV)
            VoIP UK: 0131 208 0605
            Located: Alexandria, EGYPT

            Comment


              #7
              Just browsing and noticed that in you example for css you left off the >!!

              !!< <span class="wastext">was £1.99</span>
              should be

              !!< <span class="wastext">was £1.99</span> >!!
              Niall
              www.highlandclans.co.uk

              Comment


                #8
                Thanks Niall,
                I have edited the code in the original post to correct that error and also added a note about position of the !!< >!!.
                Bill
                www.egyptianwonders.co.uk
                Text directoryWorldwide Actinic(TM) shops
                BC Ness Solutions Support services, custom software
                Registered Microsoft™ Partner (ISV)
                VoIP UK: 0131 208 0605
                Located: Alexandria, EGYPT

                Comment


                  #9
                  Just tried the basic code on a product with nothing in the description box and still no difference!

                  Joy

                  Comment


                    #10
                    I tested this and it worked OK for me - see attached.
                    Attached Files
                    Bill
                    www.egyptianwonders.co.uk
                    Text directoryWorldwide Actinic(TM) shops
                    BC Ness Solutions Support services, custom software
                    Registered Microsoft™ Partner (ISV)
                    VoIP UK: 0131 208 0605
                    Located: Alexandria, EGYPT

                    Comment


                      #11
                      Hi Joy,

                      the above code has a space after !!< and before >!!

                      it shoud read !!<<span .... /span>>!!


                      delete the spaces between the brackets and that should work


                      Bikster
                      SellerDeck Designs and Responsive Themes

                      Comment


                        #12
                        Bill - can you edit your code above to remove the spaces for others to use


                        Bikster
                        SellerDeck Designs and Responsive Themes

                        Comment


                          #13
                          Should there be a hypen between font and color (font-color)


                          Bikster
                          SellerDeck Designs and Responsive Themes

                          Comment


                            #14
                            This is the code I have edited

                            !!<<font-color="red">was £1.99</font>>!! copy & paste

                            Still no luck!

                            Joy

                            Comment


                              #15
                              remove the hyphen betwen font-color

                              !!<<font color="red">was £1.99</font>>!!


                              Bikster
                              SellerDeck Designs and Responsive Themes

                              Comment

                              Working...
                              X