Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2012
    Posts
    9
    Plugin Contributions
    0

    Default Aligning Read-Only Option Value

    This has been asked before on a generalization of Option Values but the answers in the threads I have found did not work for me. I also tried various CSS such as adjusting margin-top and vertical-align.

    I have a very basic knowledge of how CSS works but until now I've been able to manage. This is day 2 looking to fix this and I've run out of solutions found in the forums and searching Google.

    Mind you it only effects the Option Value display when the Option Name is configured for Read-Only. I'm trying to setup a quick way to reference which battery type certain products use.

    I would put a link to the site however it is of an adult nature and I do not wish to offend anyone.

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

    Default Re: Aligning Read-Only Option Value

    Go ahead and post a link - we're mostly adults ourselves here.

  3. #3
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Aligning Read-Only Option Value

    Not me, (according to my ex-wife).

  4. #4
    Join Date
    Jan 2012
    Posts
    9
    Plugin Contributions
    0

    Default Re: Aligning Read-Only Option Value

    Ok I will put a little warning again first this is an adult oriented site.

    http://eroticmotives.com/store/index...oducts_id=1633

    That is the product I currently have the Read-Only Attribute on.

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

    Default Re: Aligning Read-Only Option Value

    One way would be to change the 0px here:

    .optionName {color:#C2E0FF;margin-top:0px;}

    to -.5em (note the minus sign). Check to make sure that doesn't mess up the alignment of any other attribute names, though. If it does, post back.

  6. #6
    Join Date
    Jan 2012
    Posts
    9
    Plugin Contributions
    0

    Default Re: Aligning Read-Only Option Value

    Ok I tried the -5em and it moved the Battery Type up into the image.

    I also have .optionValue {color:#C2E0FF;margin-top:0px;} defined for the color of the Option Value. That is the one I'm trying to fix however if I put .optionValue {color:#C2E0FF;margin-top:5em;} it does nothing and if I put .optionValue {color:#C2E0FF;margin-top:20px;} it does nothing as well.

    Any ideas?

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

    Default Re: Aligning Read-Only Option Value

    It's point 5em, not 5em (one-half em). Try that and see if it messes up the other optionNames.

  8. #8
    Join Date
    Jan 2012
    Posts
    9
    Plugin Contributions
    0

    Default Re: Aligning Read-Only Option Value

    Thank you!

    I apologize I didn't see the decimal point before. It does move some of the option names up a bit but not so far that it looks out of place like the Battery Type did.

    I was hoping there was a way to only move the Read-Only Option Value but this works just as well for now.

    Thank you again.

 

 

Similar Threads

  1. separate non read-only attributes from read-only
    By solo_400 in forum General Questions
    Replies: 0
    Last Post: 19 Dec 2015, 10:52 AM
  2. Read Only Option Value and Downloads
    By RickP in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 20 Feb 2008, 02:30 AM
  3. Dynamic Read Only Value
    By dudemagma in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 23 Mar 2007, 08:13 PM
  4. read only attribute value size too small/ import html in read only attribute value
    By nazzaw in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 22 Jan 2007, 03:49 PM

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