Avatar of Sideas
Sideas
 asked on

Aligning slideshow area

Hi,

Can anhyone thnk of a way to align the slideshow box to the right of a page, all I can do is get it centre like so http://jacksonglass.co.uk/wordpress/splashbacks-mirrors/splashbacks/

Can't see anyway to align it code wise that works within wordpress. The plusin i'm using doesn't seem to help that much. http://wordpress.org/extend/plugins/simple-slideshow/

The code of that little piece is.
--------
MISSING COPY – Need copy for splashbacks. MISSING COPY MISSING COPY MISSING COPY
[simple_slideshow show_counter="0" auto_advance="1" auto_advance_speed="3000"]

<hr />

<em>Looking for splashback or mirror fitters in High Wycombe, Gerrards Cross, Beaconsfield, Loudwater, Bourne End, Marlow, Hazlemere, Princes Risborough and surrounding areas. Jackson Glass your local splashback fitter. Call on 01494 812207 or 0777 575 3329 on <a href="http://jacksonglass.co.uk/wordpress/doors/contact-us/">contact us</a>.</em>
-------
CSSHTMLWordPress

Avatar of undefined
Last Comment
Sideas

8/22/2022 - Mon
CRAK

The centering is defined in simpleslider.css:
.simpleslider_show {
              margin: 10px auto;    
}
That's a definition for top/bottom vs. left/right ("auto" is to blame!)

Try following:
.simpleslider_show {
              margin: 10px 0px 10px 0px;
}
That's defining the elements margins for top, right, bottom and left resp.
ASKER CERTIFIED SOLUTION
Ovid Burke

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
user_n

.simpleslider_show {
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}


If you remove margin-left:auto the slide show will align to right
user_n

Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Sideas

ASKER
This works, the other 2 solutions work but leave slider controls in the middle still.

Thanks for the input all.