Page 18 of 28 FirstFirst ... 81617181920 ... LastLast
Results 171 to 180 of 279
  1. #171
    Join Date
    Jun 2010
    Posts
    207
    Plugin Contributions
    1

    Default Re: Flexible Attributes addon support

    Hey gjh42 (or anyone else)...

    Can you think of an implementation of the Flexible Attributes system that would allow me to have clickable images instead of radio buttons?

    For instance, I would want the four smilies below to be clickable radio buttons to choose different product colors, and not have the actual radio button itself be displayed (unless entirely necessary).

    These would be my four selectable image radio buttons:



    Thanks!

  2. #172
    Join Date
    Jun 2010
    Posts
    207
    Plugin Contributions
    1

    Default Re: Flexible Attributes addon support

    Quote Originally Posted by hockey2112 View Post
    Hey gjh42 (or anyone else)...

    Can you think of an implementation of the Flexible Attributes system that would allow me to have clickable images instead of radio buttons?

    For instance, I would want the four smilies below to be clickable radio buttons to choose different product colors, and not have the actual radio button itself be displayed (unless entirely necessary).

    These would be my four selectable image radio buttons:



    Thanks!


    I've gotten it pretty close to where I want it, but I am stuck on one last thing... how can I eliminate the text of the label, while allowing the background of the label to remain? I tried "font-size: 0", but that didn't work on all browsers.

    http://tinyurl.com/87bxoxe

    Thanks!

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

    Default Re: Flexible Attributes addon support

    I like your solution of expanding the padding of the labels and giving them background images.

    Since you do want the label text, only differently arranged, try substituting these two rules for the versions you have now in stylesheet_flexible_attributes.css:
    Code:
    /*current*/#attrib-27-45 + label {
        background: url("/includes/templates/kickstart/images/createprogram-4-sm.gif") no-repeat scroll 0 0 transparent;
        bottom: 28px;
        left: 160px;
        padding: 70px 17px;
        position: relative;
    }
    #attrib-27-45 {
        left: 185px;
        position: relative;
        top: 28px;
        z-index: 1000000;
    }
    
    /*trial*/
    #attrib-27-45+label { 
        background: url("/includes/templates/kickstart/images/createprogram-4-sm.gif") no-repeat scroll 0 0 transparent;
        padding: 110px 43px 10px 27px;
        color: #0f8800;
        width: 80px;
        height: 30px;
        position: relative;
        top: -95px;
        left: 160px;
        display: inline-block;
    }
    
    #attrib-27-45 { 
        left: 185px;
        position: relative;
        top: -100px;
        z-index: 1000000;
    	}
    I think you will be able to get all of that set of attribute labels and inputs arranged as desired with the right style tweaking.

  4. #174
    Join Date
    Jun 2010
    Posts
    207
    Plugin Contributions
    1

    Default Re: Flexible Attributes addon support

    Quote Originally Posted by gjh42 View Post
    I like your solution of expanding the padding of the labels and giving them background images.

    Since you do want the label text, only differently arranged, try substituting these two rules for the versions you have now in stylesheet_flexible_attributes.css:
    Code:
    /*current*/#attrib-27-45 + label {
        background: url("/includes/templates/kickstart/images/createprogram-4-sm.gif") no-repeat scroll 0 0 transparent;
        bottom: 28px;
        left: 160px;
        padding: 70px 17px;
        position: relative;
    }
    #attrib-27-45 {
        left: 185px;
        position: relative;
        top: 28px;
        z-index: 1000000;
    }
    
    /*trial*/
    #attrib-27-45+label { 
        background: url("/includes/templates/kickstart/images/createprogram-4-sm.gif") no-repeat scroll 0 0 transparent;
        padding: 110px 43px 10px 27px;
        color: #0f8800;
        width: 80px;
        height: 30px;
        position: relative;
        top: -95px;
        left: 160px;
        display: inline-block;
    }
    
    #attrib-27-45 { 
        left: 185px;
        position: relative;
        top: -100px;
        z-index: 1000000;
    	}
    I think you will be able to get all of that set of attribute labels and inputs arranged as desired with the right style tweaking.


    Almost there! My one remaining issue is a ton of space just underneath the radio buttons, above the rest of the attributes. Any ideas on how I can fix that issue?

    Also, I was wondering if it might be possible to change the background image of the radio button to the darker version of the image when the button is selected, and have that image remain unless a different button is selected. Thoughts on that?

    Thanks again for your help!

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

    Default Re: Flexible Attributes addon support

    Try this:

    #wAttrib-27 .attribsOptions>.back {height: 70px;}


    Highlighting the label for a selected input may not be possible, but if it is, it will take some research. I'll see if I can dig up anything, as it is of interest to me to find out.
    Last edited by gjh42; 7 Dec 2011 at 06:43 PM.

  6. #176
    Join Date
    Jun 2010
    Posts
    207
    Plugin Contributions
    1

    Default Re: Flexible Attributes addon support

    Quote Originally Posted by gjh42 View Post
    Try this:

    #wAttrib-27 .attribsOptions>.back {height: 70px;}


    Highlighting the label for a selected input may not be possible, but if it is, it will take some research. I'll see if I can dig up anything, as it is of interest to me to find out.
    Looks like that did the trick!!

  7. #177
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    682
    Plugin Contributions
    0

    Default Re: Flexible Attributes addon support

    Black Belt,

    I have these css rules in my stylesheet:

    Code:
    /*My Entries*/
    #wAttrib-4 {clear: left;} /*Artwork Size Text Box. This starts on a new line*/
    #wAttrib-1 {clear: left; float: left;}/*Select Width Drop-down*/
    #wAttrib-2 {clear: left; float: left;}/*Select Height Drop-down*/
    #wAttrib-3 label, #wAttrib-5 label {display: none;} /*hide fraction text*/
    Which works but the two boxes are not exactly even. You can see what I am talking about here: http://www.framesforlife.com/copy-ex...example-1-p-11 For Some reason the fraction boxes are a little higher than the width and height boxes.

    This might be asking a lot but is it possible to have the inch symbol (") just barely to the right of both fraction boxes? This would show that these measurements are in inches. As of now I call theses Width Fractions and Height Fractions. I don't want to change what they are called overall, just what they are called on this page (so as not to confuse my visitors). Width fractions and height fractions are a little wordy.

    When I used your recommendation of:
    Code:
    #wAttrib-5 h4.optionName {float: right;} /*text to right of input*/
    it put the text all the way to the right instead of right next to the attribute box which is where I was hoping to place it. If I could get the text barely to the right of the box I could call these: " Wide and " High which would work for the fractions.

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

    Default Re: Flexible Attributes addon support

    For the alignment, find this

    stylesheet.css (line 277)
    .wrapperAttribsOptions {
    margin: 0.3em 0;
    }
    Change to
    margin: 0 0 0.6em;
    which puts all the margin at the bottom.


    These rules will keep the fraction text from moving too far to the right. Change the text from Width Fraction to " and adjust the measurements as required.

    #wAttrib-3 , #wAttrib-5 {width: 24em;} /*limit float-right distance*/
    #wAttrib-3 h4, #wAttrib-5 h4 {float: right;} /*move fraction text*/

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

    Default Re: Flexible Attributes addon support

    For the alignment, find this

    stylesheet.css (line 277)
    .wrapperAttribsOptions {
    margin: 0.3em 0;
    }
    Change to
    margin: 0 0 0.6em;
    which puts all the margin at the bottom.


    These rules will keep the fraction text from moving too far to the right. Change the text from Width Fraction to " Wide and adjust the measurements as required.

    #wAttrib-3 , #wAttrib-5 {width: 24em;} /*limit float-right distance*/
    #wAttrib-3 h4, #wAttrib-5 h4 {float: right;} /*move fraction text*/

  10. #180
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    682
    Plugin Contributions
    0

    Default Re: Flexible Attributes addon support

    Thank you black belt. I decided just to remove the text after much playing and now both are lined up properly.

    This is what I have for my product page:
    Code:
    #wAttrib-4 {clear: left;} /*Artwork Size Text Box. This starts on a new line*/
    #wAttrib-1 {clear: left; float: left;}/*Select Width Drop-down*/
    #wAttrib-2 {clear: left; float: left;}/*Select Height Drop-down*/
    #wAttrib-3 label, #wAttrib-5 label {float: left; display: none;} /*hide fraction text*/
    You can see it in action here: http://www.framesforlife.com/copy-ex...example-1-p-11

    Now, is it possible to apply this look to the shopping cart page and the orders area as well?

    The 3 attribute is called: Width Fraction and the 5 attribute is called: Height Fraction, that's why I wanted to hide these from the product page.

    As of now the cart page and order confirmation page looks like this:
    Code:
    Frame Example 3"
    
        Frame Width - 13
        Width Fraction - 5/16
        Frame Height - 18
        Height Fraction - 11/16
    I am assuming the order e-mail will do the same. (I don't care about the internal order area that we look at). Can I apply these attributes in my stylesheet_flexible_attributes.css across the whole system?

 

 
Page 18 of 28 FirstFirst ... 81617181920 ... LastLast

Similar Threads

  1. v154 Flexible Footer Menu Multilingual [Support Thread]
    By rbarbour in forum All Other Contributions/Addons
    Replies: 130
    Last Post: 1 Jun 2025, 02:18 PM
  2. v152 Flexible Language/Currency Header Options (Support Thread)
    By rbarbour in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 20 May 2021, 03:46 PM
  3. v151 Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 167
    Last Post: 11 Apr 2021, 08:56 PM
  4. Flexible Product Listing [support]
    By gjh42 in forum All Other Contributions/Addons
    Replies: 27
    Last Post: 27 Apr 2015, 11:16 AM
  5. help with flexible product listing addon
    By artifaxworthing in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Jun 2010, 11:25 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