Announcement

Collapse
No announcement yet.

Positioning the permutation drop down list

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

    Positioning the permutation drop down list

    Hi

    I am trying to convert our site to Smart Responsive in V 18.03 (better late then never). I am having a problem with the placement of my permutation drop down list on Single Product Pages. I am using the layout Image on left Text Wrapped Around.

    An example product is : http://www.tgurney.co.uk/acatalog/Le...ck_A302.2.html

    I am trying to get the Component list to appear before the quantity field. I have attached the code below and you can see the relevant code :

    HTML Code:
    <div id="idVars<actinic:variable name="ProductID" />">
            <actinic:variable name="AttributeList" />
            <actinic:variable name="ComponentList" />
            </div>

    Is placed before the quantity code. If you click on the permutation box in the Sellerdeck design tab design view it shows above the quantity box. If you click anywhere else this view or look at it on the web it appears out of order below the image. I was hoping someone might have come across this behaviour and could advise how to get the permutation to appear in the right place?

    Many thanks

    Tony

    HTML Code:
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFilteringEnabled%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22MatchLayouts%22%20%2f%3e%20%3d%3d%20True%20AND%0d%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22%29%20AND%0d%3cactinic%3avariable%20name%3d%22IsProductPageGenerated%22%20%2f%3e%20%3d%3d%20True" >
        <actinic:variable name="FilteredProductLayout" />
    </actinic:block>
    
    <actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsFilteringEnabled%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22MatchLayouts%22%20%2f%3e%20%3d%3d%20False%29%20OR%20%0d%3cactinic%3avariable%20name%3d%22IsFilteringEnabled%22%20%2f%3e%20%20%3d%3d%20False%20OR%0d%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22%29%20OR%0d%3cactinic%3avariable%20name%3d%22IsProductPageGenerated%22%20%2f%3e%20%3d%3d%20False" >
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e" >
            <form method="post" class="imageOnLeftTextWrappedAround" action="<actinic:variable name="OnlineScriptURL" value="Shopping Cart Script URL" />" novalidate > 
                <input type="hidden" name="SID" value="<actinic:variable name="SectionID" />" />
                <input type="hidden" name="PAGE" value="PRODUCT" />
                <actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22%29" >
                    <input type="hidden" name="PAGEFILENAME" value="<actinic:variable name="SectionPageName" />" />
                </actinic:block>
                <actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22%29" >
                    <input type="hidden" name="PAGEFILENAME" value="<actinic:variable name="ProductPageName" />" />
                </actinic:block>
                <Actinic:SECTION BLOB='<actinic:variable name="SectionCatFile" />'/>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e" >
                    <!-- Hidden field when in trial mode -->
                    <input type="hidden" name="SHOP" value="<actinic:variable name="HiddenFields" />" />
                </actinic:block>
            </actinic:block>
            <actinic:block if="%3cactinic%3avariable%20name%3d%22SocialMediaUsed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22ProductShareButtonsPosition%22%20%2f%3e%20%3d%3d%20%22Above%22%20AND%0d%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%22Product%20Page%22" >
                <actinic:variable name="SocialMediaShareButtons" />
            </actinic:block>
            <actinic:variable name="ProductVideo" />
            <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductImageFileName%22%20%2f%3e%20%21%3d%20%22%22%20OR%20%3cactinic%3avariable%20name%3d%22DefaultProductImage%22%20%2f%3e%20%21%3d%20%22%22" >
                <p class="product-image <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductColumnCount%22%20%2f%3e%20%20%20%3d%3d%20%20%201%20%20OR%20%0d%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22" >set-left</actinic:block>">
                    <actinic:variable name="ProductImageLayout" />
                </p>
            </actinic:block>
    
            <a name="<actinic:variable name="EncodedProductAnchor" />"></a>            
    
            <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22" >
                <actinic:block if="%28%3cactinic%3avariable%20name%3d%22ProductListNameLink%22%20%2f%3e%20%3d%3d%201%29" ><a href="<actinic:variable name="ProductPageName" />#SID=<actinic:variable name="SectionID" />">  
                </actinic:block>
                <actinic:block if="%28%3cactinic%3avariable%20name%3d%22ProductListNameLink%22%20%2f%3e%20%3d%3d%20%202%29" >
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22ExtendedInformationType%22%20%2f%3e%20%3d%3d%20%22Opens%20in%20a%20Pop%2dUp%20Window%22" >
                        <a href="<actinic:variable name="ExtendedInfoPageEncoded" />" target="ActPopup" onclick="return ShowPopUp('<actinic:variable name="ExtendedInfoPageEncoded" />',<actinic:variable name="ExtInfoWindowWidth" />,<actinic:variable name="ExtInfoWindowHeight" />);">
                    </actinic:block>
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22ExtendedInformationType%22%20%2f%3e%20%3d%3d%20%22Opens%20in%20the%20Same%20Window%22" >
                        <a href="<actinic:variable name="ExtendedInfoPageName" />">
                    </actinic:block>
                </actinic:block>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22UseDynamicPrices%22%20%2f%3e%20%3d%3d%20true%20AND%20%3cactinic%3avariable%20name%3d%22ProductComponentCount%22%20%2f%3e%20%3d%3d%200" >
                    <actinic:variable name="ProductJavascriptLayout" />
                </actinic:block>
                <actinic:variable formatting="h2" encoding="actinic" name="ProductName" />
                <actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22%29%20AND%0d%28%3cactinic%3avariable%20name%3d%22ProductListNameLink%22%20%2f%3e%20%3e%200%29" >
                    </a>
                </actinic:block>        
            </actinic:block>
    
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
                <p>Ref: <actinic:variable name="ProductReference" /></p>
            </actinic:block>
    
            <p class="product-text">
                <actinic:variable name="RealTimeStockDisplay" />
    
            </p>
    
            <actinic:variable name="CartError" />
    
            <div id="idVars<actinic:variable name="ProductID" />">
            <actinic:variable name="AttributeList" />
            <actinic:variable name="ComponentList" />
            </div> 
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCustomerMessageUsed%22%20%2f%3e" >
                <p class="product-price">
                    <Actinic:PRICE_EXPLANATION PROD_REF="<actinic:variable name="ProductID" />" COMPONENTID=-1><actinic:variable name="RetailCustomerMessage" /></Actinic:PRICE_EXPLANATION>
                </p>
            </actinic:block>
            <actinic:block if="%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e" >
                <p class="product-price">
                    <Actinic:PRICES PROD_REF="<actinic:variable name="ProductID" />" RETAIL_PRICE_PROMPT="<actinic:variable name="ProductPriceDescription" />">
                    <actinic:variable name="PriceListRetail" />
                    </Actinic:PRICES>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22UseDynamicPrices%22%20%2f%3e%20%3d%3d%20true%20AND%20%3cactinic%3avariable%20name%3d%22ProductComponentCount%22%20%2f%3e%20%3d%3d%200" >
                    <actinic:variable name="ProductJavascriptLayout" />
                </actinic:block>
                <actinic:variable name="DynamicPrice" />
                </p>
            </actinic:block>
            <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20False" >
                <p class="product-price">
                    <Actinic:NOTINB2B><actinic:variable name="ProductPriceNotEnabledMessage" /></Actinic:NOTINB2B>
                </p>
            </actinic:block>
    
    
    
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptShown%22%20%2f%3e%20AND%20%28%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e%20%3d%3d%20FALSE%29%20AND%20%28%3cactinic%3avariable%20name%3d%22IsCatalogSuspendedShown%22%20%2f%3e%20%3d%3d%20FALSE%29" >  
                <actinic:block if="%3cactinic%3avariable%20name%3d%22CartButtonVisibleToAllCustomers%22%20%2f%3e" >
                    <fieldset class="quantity-box">
                        <!-- This code is used when the quantity box is visible to all customers -->
                        <label><span class="actrequired"><actinic:variable name="QuantityPrompt" /></span></label>
                        <input type="number" name="Q_<actinic:variable name="ProductID" />" value="<actinic:variable name="DefaultQuantity" />" <actinic:block if="%3cactinic%3avariable%20name%3d%22UseDynamicPrices%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e%20%3d%3d%20FALSE%20AND%20%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e%20%3d%3d%20FALSE" >onpaste="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />)" onkeyup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />)" onmouseup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />)"</actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22UseDynamicPrices%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e%20%3d%3d%20FALSE" >onpaste="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />')" onkeyup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />')" onmouseup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />')"</actinic:block>/>
                    </fieldset>
                </actinic:block> 
                <actinic:block if="%3cactinic%3avariable%20name%3d%22EnabledForCustomerGroupID%22%20%2f%3e%20%21%3d%20%22%22" >
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e" >
                        <fieldset class="quantity-box">
                            <!-- This code is used when the quantity box is visible to retail customers, but not all other customer groups -->
                            <Actinic:ShowForPriceSchedule Schedules="<actinic:variable name="EnabledForCustomerGroupID" />">
                            <label><span class="actrequired"><actinic:variable name="QuantityPrompt" /></span></label>
                            <input type="number" name="Q_<actinic:variable name="ProductID" />" value="<actinic:variable name="DefaultQuantity" />" <actinic:block if="%3cactinic%3avariable%20name%3d%22UseDynamicPrices%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e%20%3d%3d%20FALSE%20AND%20%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e%20%3d%3d%20FALSE" >onpaste="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />)" onkeyup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />)" onmouseup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />)"</actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22UseDynamicPrices%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e%20%3d%3d%20FALSE" >onpaste="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />')" onkeyup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />')" onmouseup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />')"</actinic:block>/>
                            </Actinic:ShowForPriceSchedule>
                        </fieldset>
                    </actinic:block>
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20FALSE" >        
                        <fieldset class="quantity-box">
                            <!-- This code is used when the quantity box needs to hidden from retail customers -->                        
                            <actinic:block if="%3cactinic%3avariable%20name%3d%22UseDynamicPrices%22%20%2f%3e%20%3d%3d%20FALSE%20OR%20%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e%20%3d%3d%20TRUE" >
                            <Actinic:ShowForPriceSchedule Schedules="<actinic:variable name="EnabledForCustomerGroupID" />" HTML="<label><span class='actrequired'><actinic:variable name="QuantityPrompt" /></span></label><input type='number' name='Q_<actinic:variable name="ProductID" />' value='<actinic:variable name="DefaultQuantity" />' />"></Actinic:ShowForPriceSchedule>
                            </actinic:block>
                            <actinic:block if="%3cactinic%3avariable%20name%3d%22UseDynamicPrices%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e%20%3d%3d%20FALSE%20AND%20%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e%20%3d%3d%20FALSE" >
                            <Actinic:ShowForPriceSchedule Schedules="<actinic:variable name="EnabledForCustomerGroupID" />" HTML="<label><span class='actrequired'><actinic:variable name="QuantityPrompt" /></span></label><input type='number' name='Q_<actinic:variable name="ProductID" />' value='<actinic:variable name="DefaultQuantity" />' onpaste=QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />) onkeyup=QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />) onmouseup=QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />)/>"></Actinic:ShowForPriceSchedule>
                            </actinic:block>
                            <actinic:block if="%3cactinic%3avariable%20name%3d%22UseDynamicPrices%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e%20%3d%3d%20FALSE" >
                            <Actinic:ShowForPriceSchedule Schedules="<actinic:variable name="EnabledForCustomerGroupID" />" HTML="<label><span class='actrequired'><actinic:variable name="QuantityPrompt" /></span></label><input type='number' name='Q_<actinic:variable name="ProductID" />' value='<actinic:variable name="DefaultQuantity" />' onpaste=QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />') onkeyup=QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />') onmouseup=QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />')/>"></Actinic:ShowForPriceSchedule>
                            </actinic:block>
                        </fieldset>
                    </actinic:block>
                </actinic:block> 
            </actinic:block>
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptHidden%22%20%2f%3e" >
                <fieldset class="quantity-box">
                    <input type="hidden" name="Q_<actinic:variable name="ProductID" />"  value="<actinic:variable name="DefaultQuantity" />" />
                </fieldset>
            </actinic:block>
            <!-- End of code for quantity box -->
    
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsAddToCartButtonShown%22%20%2f%3e%20AND%20%0d%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%3d%3d%200%29" >
                <p class="cart-button-placement">
    
                    <actinic:variable name="AddToCartButton" />
                </p>
            </actinic:block>
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsWishListEnabled%22%20%2f%3e%20%3d%3d%20true" >
                <p class="cart-button-placement">
                    <actinic:variable name="AddToWishListBtn" />
                </p>
            </actinic:block>                
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e" >
                <p class="cart-button-placement">
                    <strong><span class="actrequired"><actinic:variable name="OutOfStock" /></span></strong>
                </p>
            </actinic:block>
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCatalogSuspendedShown%22%20%2f%3e" >
                <p class="cart-button-placement">
                    <strong><span class="actrequired"><actinic:variable name="CatalogSuspended" /></span></strong>
                </p>
            </actinic:block>
            <actinic:variable name="FeefoProductLogo" />
    
    
            <p class="product-text">
                <actinic:variable name="ProductLinks" />
            </p>
    
            <actinic:block if="%3cactinic%3avariable%20name%3d%22FileURLNotEmpty%22%20%2f%3e" >
                <p class="product-text"><a href="<actinic:variable name="ProductLinkInfo" />">
                    <actinic:variable encoding="actinic" name="ProductLinkText" /> 
                </a></p>
            </actinic:block>
    
            <actinic:block if="%3cactinic%3avariable%20name%3d%22DiscountDescriptionIsShownForProducts%22%20%2f%3e" >      
                <p class="product-text"><actinic:variable name="DiscountList" value="Standard Discount List" /></p>
            </actinic:block>
            <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductDescriptionLength%22%20%2f%3e%20%3e%200" ><div class="product-text"><actinic:variable name="ProductDescription" /></div></actinic:block>
    
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOtherInfoPromptShown%22%20%2f%3e" >
                <fieldset class="product-prompt">
                    <label><span class="actrequired"><actinic:variable encoding="actinic" name="OtherInfoPrompt" /></span></label>
                    <input class="input-border" type="text" name="O_<actinic:variable name="ProductID" />" maxlength="1000" value="" />
                </fieldset>
            </actinic:block>
    
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsDatePromptShown%22%20%2f%3e" >
                <fieldset class="product-prompt">
                    <label><span class="actrequired"><actinic:variable name="DatePrompt" /></span></label>
                    <actinic:variable name="DayList" /><actinic:variable name="MonthList" /><actinic:variable name="YearList" />
                </fieldset>
            </actinic:block>
    
            <actinic:block if="%3cactinic%3avariable%20name%3d%22SocialMediaUsed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22ProductShareButtonsPosition%22%20%2f%3e%20%3d%3d%20%22Below%22%20AND%0d%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22" >
                <actinic:variable name="SocialMediaShareButtons" />
            </actinic:block>
            <actinic:variable name="ProductAlsoBoughtList" />
            <actinic:variable name="ProductRelatedProductsList" />
    
            <!-- End of Product Text -->
    
        <div class="set-below-right">
            <actinic:variable name="FeefoProductFeedback" />
        </div>
    
        <!-- End of Product Details -->
    
        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e" >
            </form>
        </actinic:block>
        </actinic:block>
    Kimmeridge Bay Grey Green Rock A302.2 by Lewis & Irene
    Tony
    www.secretgardenquilting.co.uk

    #2
    Hi Tony.... for a start.... never rely on the SellerDeck design tab to see how a page is going to look! Always do a page preview.

    Having a quick look, there is a CSS class declaration for "div[id^="idVars"] .attribute-list" which has float:left and width:100%

    Changing that to float:none and width:16em does the trick for me.

    Several caveats....

    I'm doing this in Firefox browser so not tested elsewhere
    I'd probably add a specific class to make those changes
    Not tested in mobile

    Elysium:Online - Official Accredited SellerDeck Partner
    SellerDeck Design, Build, Hosting & Promotion
    Based in rural Northants

    Comment


      #3
      Hi,

      Thank you for taking as look. I really appreciate it. I have made the change and it is on that test product. It seems to work on Edge and Chrome (although I need to clear browsing cache to get it to update).

      The change gets me closer but has uncovered a second issue. It now starts off correctly on a PC. As you reduce the size of the window the attribute/component list quickly jumps below the image whilst the quantity and add to cart stay on the RHS. As you decrease the width the quantity and add to cart switch between RHS and underneath whilst the attribute/component list stays underneath. When the window is only the width of the image then everything lines up underneath.

      I guess i need to find a way to group the attribute/component list, quantity and add to cart together so they move with each other. If you have any thoughts on how I can do this they would be very gratefully received?

      Many thanks

      Tony
      Tony
      www.secretgardenquilting.co.uk

      Comment


        #4
        Originally posted by tonygg View Post
        Hi,

        Thank you for taking as look. I really appreciate it. I have made the change and it is on that test product. It seems to work on Edge and Chrome (although I need to clear browsing cache to get it to update).

        The change gets me closer but has uncovered a second issue. It now starts off correctly on a PC. As you reduce the size of the window the attribute/component list quickly jumps below the image whilst the quantity and add to cart stay on the RHS. As you decrease the width the quantity and add to cart switch between RHS and underneath whilst the attribute/component list stays underneath. When the window is only the width of the image then everything lines up underneath.

        I guess i need to find a way to group the attribute/component list, quantity and add to cart together so they move with each other. If you have any thoughts on how I can do this they would be very gratefully received?

        Many thanks

        Tony
        Hi Tony,

        You need to review the overall structure of the page. In order to keep the elements together you'll need to group in to HTML div's

        Consider how your overall page will appear across mobile, tablet and desktop applications. Desktop - I think you're almost there for your design. Consider grouping the left hand side of the page and the right hand side of the page, and then subdividing the right area. You'll want to keep the choices, quantity and add to cart together when the page is resized, and then have a seperate div for your description etc.

        Easy way to understand this is to simply draw the website on a piece of paper, or by using software. Imagine you are building in boxes, and where those boxes need to go when the document size changes.

        If you look at one of our product pages (https://www.castironradiators4u.co.u...-x-w215mm.html) you can see we've used this methodology. Images and choices are on the left part of product page, add to cart & controls on the right with description underneath. As you resize, these elements scale and then eventually stack.

        You should look at building with CSS Flexbox - https://css-tricks.com/snippets/css/a-guide-to-flexbox/ & CSS media queries - https://www.w3schools.com/css/css3_mediaqueries_ex.asp

        These go alongside basic HTML practices.
        Matt. M - SMR Enterprises Ltd.

        Comment


          #5
          Hi Matt.

          Thank you. I really like what you have done with the single product page. It is very professional and clear. It is just what we need. Not sure if I am going to be able to emulate but I will look at the links and see if I can work it out. Did you do the work yourself?

          I also really like the light box. Is that a commercial product?

          Many thanks

          Tony
          Tony
          www.secretgardenquilting.co.uk

          Comment


            #6
            Hi Matt,

            I think I have now got the single product page to move around ok. Thank you for your help.

            I have being trying to see how to make the permutation box wider and increase the font. so it matches (approx) to the width of the quantity line and it is easier to read on mobiles. I guess I am looking in the wrong places in the css as I cant seem to make it any wider. any pointers would be gratefully received?

            Many thanks

            Tony
            Tony
            www.secretgardenquilting.co.uk

            Comment


              #7
              Originally posted by tonygg View Post
              Hi Matt,

              I think I have now got the single product page to move around ok. Thank you for your help.

              I have being trying to see how to make the permutation box wider and increase the font. so it matches (approx) to the width of the quantity line and it is easier to read on mobiles. I guess I am looking in the wrong places in the css as I cant seem to make it any wider. any pointers would be gratefully received?

              Many thanks

              Tony
              Hi Tony,

              Code is not fully tested.

              Find following references in your CSS. Please note, there may be other classes related to these code changes.

              Width

              div[id$="_Table"]

              Change width from 300px to 217px

              div.attribute-list div label, div.attribute-list div select

              Change width from auto to 100%

              This will make the line width the same as quantity.

              Font size

              .form_input_general
              Change font size to 14px.

              All of these should exist in actinic.css - should be your primary stylesheet.
              Matt. M - SMR Enterprises Ltd.

              Comment


                #8
                Hi Matt,

                Thank you. That sorted the alignment out.

                I really hate to say it but ....

                I had some custom javascript written to help with checking stock quantity before ordering. I uses the radio button layout to know what permutation the customer is selecting rather than the drop down list. It is quite big and I am not sure I can adapt it to use the drop down list structure.

                I could stick with the radio buttons but they are not lining up well. For example :
                HTML Code:
                http://www.tgurney.co.uk/acatalog/Dashwood_Studio_Nesting_BIrds_Light_Grey_Flying_Birds_NEST1413.html
                The reason seems to be the row height for smart responsive is specified in the css for all tables : 1.7em. If I change it to line up the radio button rows it makes all my other tables (such as the section list in the left column) compress. I have tried inserting a <td height="15"> into the radio button permutation list but it does not alter the row height.

                Sorry to be asking again but do you possibly know how to force the row height for only this table?

                Many thanks

                Tony
                Tony
                www.secretgardenquilting.co.uk

                Comment


                  #9
                  I would probably rewrite that bit to not use tables.... but, in the mean time, there is some CSS somewhere which says :

                  .ajs-attr input[type="radio"]

                  with a declaration of :

                  margin: 5px 3em 0 0 !important;

                  Change the 5px to 19px and that will line it up

                  (Ususal caveats apply.... done on Firefox only; can't guarantee it won't affect anything else; test; test etc)
                  Elysium:Online - Official Accredited SellerDeck Partner
                  SellerDeck Design, Build, Hosting & Promotion
                  Based in rural Northants

                  Comment


                    #10
                    I'd handle it differently and tackle the line height issue,

                    .ajs-attr

                    Add declaration of line-height: 1.7em;

                    again, untested code.

                    As Goz has hinted at ... a rewrite is most definitely the cleanest way to handle this situation in the long run - there's only so many small patches you can apply!
                    Matt. M - SMR Enterprises Ltd.

                    Comment


                      #11
                      Hi Goz and Matt,

                      Thank you both. I am starting to feel really bad. I realise I was not clear about the problem. I am really sorry.

                      The good news I think adding declaration of line-height: 1.1em to .ajs-attr and reducing margin: 1px 3em 0 0 !important; on .ajs-attr input[type="radio"] seemed to do the trick.

                      My issue was that there is a lot of space between the rows in the table. Each row seems to be 1.7 em high and so the combined list of options take up a lot of space.

                      On my original site the list is compact and has no spacing between the rows in the table :
                      HTML Code:
                       https://www.secretgardenquilting.co.uk/acatalog/Dashwood_Studio_Nesting_BIrds_Light_Grey_Flying_Birds_NEST1413.html
                      Using Chrome inspector on the old site each row is set auto x auto

                      Using Chrome inspector on the new site each row was set 128.5 x 46.4 . By making the changes you suggested and changing the values a bit each row is now set to 12.8 height.

                      Thank you both for looking at the problem and giving me the changes.

                      Tony
                      Tony
                      www.secretgardenquilting.co.uk

                      Comment

                      Working...
                      X