Results 1 to 9 of 9

Hybrid View

  1. #1
    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

  2. #2
    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.

  3. #3
    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

  4. #4
    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?

  5. #5
    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

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

    Default Re: Additional Images style problem.

    Thanks Steve,

    in modules.assitional)images.php around line 103. 'style="width:' . $col_width . '%

    here is the problem incase anyone else gets stuck with this. // List Box array generation:
    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => "\n " . $link);
    $col ++;
    if ($col > (IMAGES_AUTO_ADDED -1)) {
    $col = 0;
    $row ++;
    }
    } // end for loop

    Cheers!

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

    Default Re: Additional Images style problem.

    Additional images style problem again!. I can't belive this but I'm having the same problem with another site and i cant work out how i fixed it before.

    The box around the aditional images is too small as it's coded to 50%.

    See here
    http://wishingstone.com.au/index.php...products_id=43

    anyone have any ideas?

 

 

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