Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    help question Edting color of Attribute TEXT not option

    I've done multiple searches and can't seem to find this question already answered. I have a attribute that needs to be filled in on every item page. I would like to make the text RED or GREEN ?? It says "I choose to give 20% of this purchase price to :" and a drop menu shows the teams/groups who have registered with me to be on the site for fundraising. The names on the list do not need to be in color, just the words seen on the product page where they are to click and choose. Help!

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Edting color of Attribute TEXT not option

    Try adding to your stylesheet:

    .attribsSelect {
    color: #FF0000;
    }

  3. #3
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    Default Re: Edting color of Attribute TEXT not option

    Quote Originally Posted by stevesh View Post
    Try adding to your stylesheet:

    .attribsSelect {
    color: #FF0000;
    }
    Thanks Steve, but I must not be adding it correctly or in the correct file because nothing happens. Also, I was thinking about it.... I have multiple Attributes because this is what I used to allow for customization, so if it DID work, would it change to color of all of them? If so, then I guess it wouldn't do much good because I need for this ONE to stand out.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Edting color of Attribute TEXT not option

    If you want to address text for a specific attribute, you can install Flexible Attributes from Plugins. It gives an id to every attribute wrapper (like #wAttrib25) so any element in it can be singled out.
    The actual select, input, etc. already has an id, but frequently there is no way for CSS to work back from that to address its label. If a radiobutton input is followed by its label, you can use something like
    Code:
    #attrib-1-29 + label {what: ever;}

  5. #5
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    Default Re: Edting color of Attribute TEXT not option

    Quote Originally Posted by gjh42 View Post
    If you want to address text for a specific attribute, you can install Flexible Attributes from Plugins. It gives an id to every attribute wrapper (like #wAttrib25) so any element in it can be singled out.
    The actual select, input, etc. already has an id, but frequently there is no way for CSS to work back from that to address its label. If a radiobutton input is followed by its label, you can use something like
    Code:
    #attrib-1-29 + label {what: ever;}
    Ok I downloaded and installed it but I have what is probably a stupid question....where do I find the ID's so I know which to edit? I'm reading over it but mind can't grasp it just yet.

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Edting color of Attribute TEXT not option

    You can look at view source of the page where the attribute displays; this will show the actual id that applies to each attribute.

  7. #7
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    Default Re: Edting color of Attribute TEXT not option

    Quote Originally Posted by gjh42 View Post
    You can look at view source of the page where the attribute displays; this will show the actual id that applies to each attribute.
    I found the # .... its 51 .... but I can't seem to get the code correct for it to change anything. The page is http://www.spiritjewelry.org/index.p...roducts_id=180 its one of the top drop menus ..... I choose to give 20% of this purchase price to : ..... oh this forum... I can't turn off bold or italics OR enter to go to next line .... but anyways I would like for that sentence to be in RED.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Edting color of Attribute TEXT not option

    Something appears to be wrong with the code - you are getting the id="" added to the .wrapperAttribsOptions div, but the actual id is not being inserted. Can you try re-uploading the files? Maybe something got corrupted in your first attempt.

  9. #9
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    Default Re: Edting color of Attribute TEXT not option

    Can you please check it again? I reloaded but I am still not seeing the number ...could be me though

  10. #10
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Edting color of Attribute TEXT not option

    Still no attribute wrapper ids being applied. I can't tell why from here, but it would be better to move to the Flexible Attributes support thread for further discussion. I'll try to gather more information there.

 

 

Similar Threads

  1. Attribute was not added/Attribute Option and Option Value do not match
    By charliepingpong in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 3 Apr 2012, 12:22 AM
  2. How to change text color Attribute - Option Name Comment
    By twofair in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 23 Jun 2010, 10:45 AM
  3. Attribute Option and Option Value Do NOT Match - Attribute was not added -
    By Rabbcon in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 29 Jan 2010, 07:32 PM
  4. Attribute Option and Option Value Do NOT Match - Attribute was not added - : TEXT
    By jamesdavid in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 13 May 2008, 02:36 PM
  5. Text box option/attribute not wrapping
    By sonicparke in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 13 Aug 2006, 02:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR