Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2011
    Posts
    92
    Plugin Contributions
    0

    Default Centering Easy Slider

    I figured it was safe to post this question here as it doesn't really pertain to the easy slider, but rather to its position. I would like to center the easy slider and I cannot for the life of me figure out how.

    Any and all help appreciated.
    Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
    http://www.matchlockarms.com
    http://www.mandmtoys.com

  2. #2
    Join Date
    May 2011
    Location
    Sunny Rossendale (not)
    Posts
    556
    Plugin Contributions
    2

    Default Re: Centering Easy Slider

    Quote Originally Posted by matchlock View Post
    I figured it was safe to post this question here as it doesn't really pertain to the easy slider, but rather to its position. I would like to center the easy slider and I cannot for the life of me figure out how.

    Any and all help appreciated.
    Try this just add the quotes in red
    <center>
    <p style="text-align: left; ">
    <script type="text/javascript" src="fade.js"></script><script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)

    new fadeshow(fadeimages, 640, 240, 0, 4000, 0 )

    </script></p>
    <center>
    What ever your doing remember to KISS ( Keep It Simple Stupid )

  3. #3
    Join Date
    Jun 2011
    Posts
    92
    Plugin Contributions
    0

    Default Re: Centering Easy Slider

    Quote Originally Posted by discoverytdi View Post
    Try this just add the quotes in red
    <center>
    <p style="text-align: left; ">
    <script type="text/javascript" src="fade.js"></script><script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)

    new fadeshow(fadeimages, 640, 240, 0, 4000, 0 )

    </script></p>
    <center>

    Which file does this go in?
    Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
    http://www.matchlockarms.com
    http://www.mandmtoys.com

  4. #4
    Join Date
    May 2011
    Location
    Sunny Rossendale (not)
    Posts
    556
    Plugin Contributions
    2

    Default Re: Centering Easy Slider

    Quote Originally Posted by matchlock View Post
    Which file does this go in?
    Sorry posted the wrong code you could try puting <center> at the begining and end of the script you put in the define main page in admin
    What ever your doing remember to KISS ( Keep It Simple Stupid )

  5. #5
    Join Date
    Jun 2011
    Posts
    92
    Plugin Contributions
    0

    Default Re: Centering Easy Slider

    Quote Originally Posted by discoverytdi View Post
    Sorry posted the wrong code you could try puting <center> at the begining and end of the script you put in the define main page in admin
    when i do that it breaks the slider. take a look at the site. i'll leave it for the moment. Thanks!
    Last edited by matchlock; 7 Feb 2012 at 11:29 PM.
    Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
    http://www.matchlockarms.com
    http://www.mandmtoys.com

  6. #6
    Join Date
    Jun 2011
    Posts
    92
    Plugin Contributions
    0

    Default Re: Centering Easy Slider

    Quote Originally Posted by matchlock View Post
    when i do that it breaks the slider. take a look at the site. i'll leave it for the moment. Thanks!
    I believe I have it a little better aligned. In the stylesheet.css i added text-align: right;


    /* Easy Slider */

    #slider ul, #slider li,
    #slider2 ul, #slider2 li{
    margin:0;
    padding:0;
    list-style:none;
    text-align: right;
    }


    Hope this helps anyone else searching for this in the future.
    Owner - MatchLock Arms, LLC and M&M Toys (Yes I sell toys and guns, but not toy guns)
    http://www.matchlockarms.com
    http://www.mandmtoys.com

  7. #7
    Join Date
    Oct 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Centering Easy Slider

    I know this is an old thread, but if you edit line 209 of stylesheet.css you can center it. This is mine:

    #control_div{width:200px;height:18px;position:relative;left:210px;top:0px;margin-bottom:10px;}

    Edit the "left": ((Total page width) minus (left sidebar + right sidebar) minus #control_div{width})/2
    My scenario: (1000px - (190px+190px) - 200)/2 = 210

  8. #8
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Centering Easy Slider

    Methinks it better to use margin:0 auto; on an element of defined width within a div of defined width, where the widths can be expressed as % for greater flexibility.

 

 

Similar Threads

  1. v1.2.x easy slider 1.7 after adding line and borders messed up
    By drpradipingale in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Jul 2012, 07:26 AM
  2. v150 Installing jQuery Easy Slider 1.7 CSS problem
    By jono.low in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 May 2012, 07:22 AM
  3. Replies: 2
    Last Post: 26 Mar 2012, 04:13 PM
  4. JS Easy slider- not so easy!
    By burlington in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 15 Sep 2011, 04:24 PM
  5. easy slider problem need your help
    By sshh2 in forum Addon Templates
    Replies: 2
    Last Post: 30 Jun 2011, 03:42 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