Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default Additional Images style problem.

    Hi I have a problem with the additional images style. The background is not as wide as the image. I've played around with it but i can'twork it out. Any css gurus out there who can help?

    http://victorialeebags.com.au/index....products_id=19



    Here's the css.
    #productAdditionalImages .additionalImages {
    background-color: #f0f0f0;
    border:1px solid #CCCCCC;
    margin-top: 1pt;
    margin-right: 1em;
    margin-bottom: 1em;
    margin-left: 1em;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    float: left;
    }

    Thanks.

  2. #2
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Re: Additional Images style problem.

    The width of the background there seems to be hard coded into your php.

    In the file: includes/templates/your_template/templates/product_info_display:

    <div id="productAdditionalImages">
    <div class="content">

    <div class="additionalImages centeredContent back" style="width:50%;">


    Removing this should allow you to control the width in the stylesheet - although I should think it will be as you wish leaving the stylesheet as is.
    Steve
    Site Under Construction: adatglobal.com

  3. #3
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default Re: Additional Images style problem.

    Hey thanks Steve but Ive searched throught the template and module files, can't find any width:50% at all. Heres the additional images code in my includes/templates/your_template/templates/tpl_product_info_display.php

    <!--bof Additional Product Images -->
    <?php
    /**
    * display the products additional images
    */
    require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
    <!--eof Additional Product Images -->




    Weird, i can see that style="width:50%;" too but i can't find it.

  4. #4
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Re: Additional Images style problem.

    Have you searched for it in the web developers toolkit in the admin?

    I hate it when you can see it in firebug/generated source and then can't find it!
    Steve
    Site Under Construction: adatglobal.com

  5. #5
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default Re: Additional Images style problem.

    yeh this is becoming a real pain. Ive deleted the unused templates, changed
    #mediaManager {

    width: 50%; to 100% in case that was somehow effecting it.
    Searched all php & css files in cataglog with developers toolkit and it still shows

    <div class="additionalImages centeredContent back" style="width:50%;">
    in the code.

    Any ideas?

  6. #6
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Re: Additional Images style problem.

    It certainly looks hard coded into the php via a table. Have you looked in:

    tpl_modules_additional_images.php?


    That is the file that is being loaded as shown in your previous post - maybe it is in there - although I think you may have looked in there?

    Also it may be tedious - but maybe try searching for just additionalImages in the web developers toolkit
    Last edited by stiggy100; 1 Nov 2010 at 09:38 AM.
    Steve
    Site Under Construction: adatglobal.com

 

 

Similar Threads

  1. Additional images layout problem
    By Rizla in forum General Questions
    Replies: 3
    Last Post: 16 May 2011, 08:40 PM
  2. Problem installing additional images
    By stuffdone in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 27 Nov 2010, 07:04 PM
  3. Problem with additional images
    By Craftystash in forum Customization from the Admin
    Replies: 3
    Last Post: 14 Jul 2009, 10:51 AM
  4. Additional images in descriptions problem
    By Beth-katherine in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Mar 2009, 08:18 PM
  5. Additional images problem
    By tommy9177 in forum General Questions
    Replies: 1
    Last Post: 2 Jul 2008, 11:21 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