Results 1 to 8 of 8

how to center dynamic mopics in product info page

This is a discussion on how to center dynamic mopics in product info page within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; which files are needed to edit in order for me to make the dynamic mopics' images centered, also i tried ...

      
  1. #1
    osCMax Testing Team
    Join Date
    Jun 2004
    Posts
    244
    Rep Power
    0


    Default how to center dynamic mopics in product info page

    which files are needed to edit in order for me to make the dynamic mopics' images centered, also i tried adding spaces but nothing changed and the images are still kind of too close to each other

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,428
    Rep Power
    48


    Smile Re: how to center dynamic mopics in product info page

    Code:
    		//// BEGIN:  Added for Dynamic MoPics v3.000
    ?>
          <tr>
          	<td>
    				<div class="screenshotsHeader">
    					<div class="screenshotsHeaderText"><?php echo TEXT_OTHER_PRODUCT_IMAGES; ?></div>
    				</div>
    				<div class="screenshotsBlock">
    					<?php include(DIR_WS_MODULES . 'dynamic_mopics.php'); ?>
       			        </div>
    	</td>
          </tr>
    <?php
    		//// END:  Added for Dynamic MoPics v3.000
    Is the bit you need to edit - try putting a <td align="center"> in.

    If you want to change the layout of the contents of the mopics then you will need to open catalog/includes/modules/dynamic_mopics.php
    pgmarshall
    _______________________________

  3. #3
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    2,944
    Rep Power
    34


    Lightbulb Re: how to center dynamic mopics in product info page

    Also utilised in the 'Enhanced' mod - see the CSS file
    Hosting plans with installation, configuration, contributions, support and maintenance.

  4. #4
    osCMax Testing Team
    Join Date
    Jun 2004
    Posts
    244
    Rep Power
    0


    Default Re: how to center dynamic mopics in product info page

    cool thanks again for your assistance i will try this and let you know if i succeed, your continuous efforts with my cry for help never ceases to amaze me

    update: well it seems to move it around, but it doesnt quite center it, im guessing maybe i do have to edit the css around a bit to make it centered
    Last edited by MrE03; 11-04-2009 at 05:10 PM.

  5. #5
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    2,944
    Rep Power
    34


    Default Re: how to center dynamic mopics in product info page

    "The Boss" helped with cross-browser compatibility, if I recall correctly.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  6. #6
    osCMax Testing Team
    Join Date
    Jun 2004
    Posts
    244
    Rep Power
    0


    Default Re: how to center dynamic mopics in product info page

    you might have missed my update on the thread edit, but i didnt manage to get it centered exactly :\

  7. #7
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    2,944
    Rep Power
    34


    Default Re: how to center dynamic mopics in product info page

    Sorry, missed the update. Did you have a look at the Enh. Mopics Code?

    http://dev.ejsolutions.co.uk/oscmax/...&products_id=2
    Last edited by ridexbuilder; 11-11-2009 at 02:42 PM.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  8. #8
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    2,944
    Rep Power
    34


    Default Re: how to center dynamic mopics in product info page

    This might help - sorry quick 'n' dirty 'cos busy on other 'stuff'.

    Code:
    <div class="screenshotsBlock"><div align="center">
    <div class="screenshots">
    </div>
    
    <div class="screenshots">
    <script language="javascript">
    </script>
    
    <a title="Sweatshirt" rel="lightbox[group]" target="_blank" href="http://dev.ejsolutions.co.uk/oscmax/catalog/images/images_big/sweat_2.png">
    <img width="100" height="97" border="0" title=" Sweatshirt " alt="Sweatshirt" src="images/thumbs/sweat_2.png"/>
    
    <br/>
    
    <span class="smallText">Click to enlarge</span>
    
    
    </a>
    
    <noscript> <a href="http://dev.ejsolutions.co.uk/oscmax/catalog/images/images_big/sweat_2.png" target="_blank"><img src="images/thumbs/sweat_2.png" border="0" alt="Sweatshirt" title=" Sweatshirt " width="100" height="97"><br /><span class="smallText">Click to enlarge</span></a> </noscript>
    
    
    </div>
    
    <div class="screenshots">
    </div>
    
    <div class="clearScreenshots">
    </div>
    
    
    </div>

    Code:
    .screenshotsBlock {
    text-align:center;
    
    
    }
    .screenshots {
    display:inline-block;
    margin-left:auto;
    margin-right:auto;
    padding:5px 0;
    text-align:center;
    vertical-align:top;
    
    
    }
    Hosting plans with installation, configuration, contributions, support and maintenance.

Similar Threads

  1. Dynamic Mopics additional images to product pages
    By pakrat in forum osCMax v2 Features Discussion
    Replies: 20
    Last Post: 08-15-2009, 06:13 PM
  2. Cannot center images gallery for Mopics
    By ptt81 in forum osCmax v2 Customization/Mods
    Replies: 29
    Last Post: 05-10-2009, 07:26 AM
  3. Product Quantity Dropdown on Product Info Page
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 07-11-2007, 04:31 PM
  4. Product Quantity Dropdown on Product Info Page
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-27-2007, 02:17 AM
  5. Product Quantity Dropdown on Product Info Page
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-12-2007, 02:14 PM

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
  •