osCmax v2.5 User Manual
Results 1 to 9 of 9

Centering Slideshow

This is a discussion on Centering Slideshow within the Store Administration forums, part of the osCmax V2.5 Forums category; Look in every .php, css and .tpl file I could find and still can't see where to edit the code ...

      
  1. #1
    Member
    Join Date
    Jul 2011
    Location
    Atlanta, GA USA
    Posts
    85
    Rep Power
    1


    Default Centering Slideshow

    Look in every .php, css and .tpl file I could find and still can't see where to edit the code so that I can center the Slideshow module on my page. It still aligns or floats to the left.

    Call K and W Flooring at (67 425-0591 for a Atlanta Flooring Company - Hardwood Flooring, Hardwood Refinishing, Recoating, Repairs, Ceramic Tile, Carpet, Laminate Flooring. - K & W Flooring

    As always, any help is greatly appreciated.

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


    Default Re: Centering Slideshow

    catalog/includes/javascript/slideshow_init.js.php

    Option parameters are here: jQuery.Showcase > Documentation

    And the containing div is called showcase ... so try adding align: centre; to #slideshow{ overflow:hidden; width:280px; } in stylesheet.css

    Nice looking store by the way!

    Regards.
    pgmarshall
    _______________________________

  3. #3
    Member
    Join Date
    Jul 2011
    Location
    Atlanta, GA USA
    Posts
    85
    Rep Power
    1


    Default Re: Centering Slideshow

    Thanks for the tip. Here is what I added to the stylesheet.css in my template dir:

    Code:
    /* BOF: Slideshow on product_info */
    #slideshow ul, #slideshow li { padding:0; margin:0; list-style:none; }
    .next, .prev{ cursor:pointer; }
    
    #screen2{ position:relative; width:280px; margin:0px; }
    
    #slideshow{ overflow:hidden; width:280px; align :center; }
      #slideshow ul{ width:3900px; padding-left:0px; }
    	#slideshow li{ float:left; margin:0 10px; cursor:pointer; }
    
    .clear{ clear:both; width:0; height:0; }
    /* EOF: Slideshow on product_info */
    The Slideshow still aligns left. Any thoughts?

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


    Default Re: Centering Slideshow

    Try changing: #slideshow li { float:right; margin:0 10px; cursorointer; }
    pgmarshall
    _______________________________

  5. #5
    Member
    Join Date
    Jul 2011
    Location
    Atlanta, GA USA
    Posts
    85
    Rep Power
    1


    Default Re: Centering Slideshow

    This is what worked. Not sure why, but it does.

    Code:
    #slideshow{ overflow:hidden; width:280px; float: left; position: relative;
    	left: 8%; }
    Thanks again for your help.

  6. #6
    Member
    Join Date
    May 2009
    Posts
    54
    Rep Power
    4


    Default Re: Centering Slideshow

    thanks, this worked for me with a bit of alteration on the left: 8% as my max width was set to 800px and 125px columns. the part im now trying to get is to add some style to the slideshow, is there anyway to add a border style? like using border: dashed 2px #000000; into the css?

  7. #7
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Thumbs up Re: Centering Slideshow

    Quote Originally Posted by ptrau View Post
    This is what worked...
    Sample

    To order a sample of this product just scroll down the page and click on the sample in the "We Also Recommend" box at the bottom for this page.
    Now that's clever! A little bit of lateral thinking goes a long way.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  8. #8
    Member
    Join Date
    Jul 2011
    Location
    Atlanta, GA USA
    Posts
    85
    Rep Power
    1


    Default Re: Centering Slideshow

    Thanks...gotta do what we gotta do.....

  9. #9
    osCMax Testing Team wkdwich's Avatar
    Join Date
    Jul 2007
    Posts
    307
    Rep Power
    11


    Default Re: Centering Slideshow

    Maybe I am being thick, but this is not working for me... I tried a bunch of different things.. the
    #slideshow{ overflow:hidden; width:280px; float: left; position: relative; left: 8%; }
    moved the 2nd and subsequent images but not the first one.. it stayed visable on the 8% to the left

    I'm working on a modifying fallback template on a brand new 2.5.0 install
    Debbie D
    NY & VA

Similar Threads

  1. slideshow
    By spuhg in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 09-29-2010, 12:59 PM
  2. Banner, centering
    By apexrg in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 03-17-2009, 03:20 AM
  3. Centering the "Catagory heading Title"
    By flutterby in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 03-06-2008, 06:29 PM
  4. mainpage content not centering between L&R columns in IE
    By cawheelz in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 07-27-2005, 12:17 AM
  5. Centering Site. I need some help
    By harborsales1 in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 05-13-2004, 09:07 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
  •