Announcement

Collapse
No announcement yet.

change color for 'add to cart' where am i going wrong

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

    change color for 'add to cart' where am i going wrong

    You know when you try do something you know should be simple for so long you get tied in knots!

    I'm trying to change the colour of the 'add to cart' button. I've tried changing the colour on the applet text in design|colours| and I've tried changing the font tags around the NETQUOTEVAR:ADDTOCARTBUTTON in the product line template.

    Obviously both these things are wrong beacuse they haven't worked, but what is right?

    Thank you
    www.compendia.co.uk
    Compendia Traditional Games and Puzzles
    www.toogoods-games.co.uk
    Wooden carrom board handmade in the UK

    #2
    the images get created when you choose your theme. Therefore if you want to change one of these images you will have to do it in a graphics program.

    Comment


      #3
      but what is right?
      You can use either an image or a form button as the Add to Cart. You choose that in Design / Options / Shop Defaults / Shopping Mode.

      If you're using an image then you need a graphics program as Jo mentioned.

      If it's a form button the you have to use CSS (styles) to modify it. E.g.

      change

      <INPUT TYPE=SUBMIT VALUE="NETQUOTEVAR:BUTTONLABEL" NAME="NETQUOTEVAR:BUTTONNAME">

      to

      <INPUT class="cbutton" TYPE=SUBMIT VALUE="NETQUOTEVAR:BUTTONLABEL" NAME="NETQUOTEVAR:BUTTONNAME">

      and add cubutton definitions to actinic.css

      Or you could use inline style for quick and dirty testing

      <INPUT style="background-color:green; border-colorrange; color:yellow" TYPE=SUBMIT VALUE="NETQUOTEVAR:BUTTONLABEL" NAME="NETQUOTEVAR:BUTTONNAME">

      and get some lurid buttons. But once you've got them right it would be much better to move that style to actinic.css and use my class= example.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thank you!
        www.compendia.co.uk
        Compendia Traditional Games and Puzzles
        www.toogoods-games.co.uk
        Wooden carrom board handmade in the UK

        Comment

        Working...
        X