Announcement

Collapse
No announcement yet.

Attribute Choice Text Changes

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

    Attribute Choice Text Changes

    Has anyone an idea on how to change the text size and colour of attribute choices? I have tried pasting HTML into the HTML field for the attribute choices and although the HTML is bieng recognised as far as description is concerned, the typeface, size and colour are not changing. I guess this is bieng overwritten by some css somewhere. Any ideas?
    I have enclosed a screenshot for reference.
    Many thanks
    Simon Bridges
    www.alexreade.net
    Attached Files
    Simon Bridges
    Alex Reade World of Motosport
    http://www.alexreade.net

    #2
    You have to use plain text for drop down choices. HTML isn't allowed. This isn't an Actinic limitation - it's part of the HTML specification.

    If you want to show the colour of an option by filling in the list in a rainbow-like way, then I've a (donationware) patch on www.drillpine.biz/actinicstuff that does just that.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman, helpful as ever. Thanks for the info re colours but what I wanted to change more than anything is the font size so it matches the smaller text on the rest of the site.
      cheers
      Simon Bridges
      http://www.alexreade.net
      Simon Bridges
      Alex Reade World of Motosport
      http://www.alexreade.net

      Comment


        #4
        The font size may be set in css - look for attributes assigned to the select tag.

        If none found, set your own.
        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
          If you want this set the same for all Choice drop-down lists then edit Act_VariantListHeader.html and add a class tag to the SELECT in there. Also add your custom class definition to actinic.css.

          Bill's suggestion will also work but will change all drop-down lists site wide, not just product based ones.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            [QUOTE=NormanRouxel]...........add a class tag to the SELECT in there. Also add your custom class definition to actinic.css.

            Erm, How? sorry (HTML I am getting to grips with but CSS seems like martian to me at the moment)

            I am looking to replace the attribute choice standard size text with Size 1 Verdana as per the rest of the site(I am happy for this to be a sitewide change affecting all drop down lists)
            Many thanks for your patience with dumb questions like this.
            Simon Bridges
            http://www.alexreade.net
            Simon Bridges
            Alex Reade World of Motosport
            http://www.alexreade.net

            Comment


              #7
              Not actually an answer to your question, but it might be useful to know that if you change to radio buttons rather than a drop down list, you can then change font size, colour etc, using html coding within the the 'HTML for name' area in the choice details screen.
              Susan.

              www.CardsAtYourFingertips.co.uk
              Innovative and Original greetings cards for all occasions

              Comment


                #8
                If you edit the file mentioned above by Norman you will see:

                Code:
                <SELECT NAME="NETQUOTEVAR:ATTRIBUTEREF">
                add in your class eg:

                Code:
                <SELECT class="myCLASS" NAME="NETQUOTEVAR:ATTRIBUTEREF">
                in the actinic.css add the following:

                .myCLASS {
                font-family: verdana, arial, helvetica, sans-serif;
                font-size: 100%;
                color: #999999;
                }

                you can set the font-size and color accordingly.

                **Not tested**


                Bikster
                SellerDeck Designs and Responsive Themes

                Comment


                  #9
                  Firstly thanks to Susan and to jont for your replies. I will have a go at the instructions you have provided jont, thanks a million.

                  As an aside I recently saw people complaining about this forum and wanted to say that I have never been let down, with any question that I have posted. This forum is an invaluable asset for all of us without advanced knowledge of HTML and CSS.
                  Once again many thanks to all.
                  Simon Bridges
                  http://www.alexreade.net
                  Simon Bridges
                  Alex Reade World of Motosport
                  http://www.alexreade.net

                  Comment


                    #10
                    Hi

                    Is there any way to add a class to the 'quantity' field as well?

                    Cheers
                    Richard
                    http://www.smarterproducts.co.uk

                    Comment


                      #11
                      Yes. Go to Design / Text / Goto / Phase -1, Id 2173 and add it to

                      %s<INPUT TYPE=text NAME="%s" SIZE="4" VALUE="%d">

                      e.g.

                      %s<INPUT class="myclass" TYPE=text NAME="%s" SIZE="4" VALUE="%d">
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment

                      Working...
                      X