Centering your slideshow
-
Hi everyone. A few people have been asking me how to center align their slideshows, especially as the v2.0 update has re-aligned what was previously centered.
For center alignment, there is a simple fix. Simply use the shortcode below:
<div align="center">[easingsliderlite]</div>That should do the trick. In the future, we will be adding a shortcode attribute for this. Until then, use this!
Matthew.
-
Hi @timothyclo, the slideshow looks like it is contained within a HTML
<pre>element which is adding the white background/border. Try removing it from the post/page. Should be able to do this in the post/page editor when viewing the “Text” editor tab (opposed to “Visual” by default).Yes! That was it!! Mucho Gracias!!
No problem at all π
Hey Matthew,
I’m using the default twentytwelve theme as my base. When I place <div align=”center”>[easingsliderlite]</div> on my home page it’s like the div align isn’t recognized. I see the text <div align=”center”>, then my slide and then the text </div>.
I’d read that the theme is html5 compatable and doesn’t support <div align any longer.Placing the php in the header works fine, but how do I restrict to the home page only?
Any thoughts?Thanks,
DaveFixed it. I set it to front page template and used
<div align=”center”>
<?php if ((is_front_page()) && function_exists( ‘easingsliderlite’ ) ) { easingsliderlite(); } ?>
</div>
Now it shows on only the home page and is nicely centered.Dave
hi
what if i want to move my slider a bit higher… :/
http://www.etartstudio.comMatthew, my slides are cropped (shows only centre of the slide) and re-sizing keeps the original size. I’ve deleted from media library, re-sized and re-uploaded, but the original size returns. Do I need to refresh a permalink? My site: http://www.netdiva.ca (not a coder)
Thanks very muchI need help with the banner in http://www.gwd.ae
Please help correct the issue of left indent in the banner.
Thanking You
Jeshrun
The topic ‘Centering your slideshow’ is closed to new replies.