Great module! We'd like to be able to wrap text around slideshows, e.g. align left or right, or center the slideshows on a line. Could this be added as an option? Thanks.

Comments

manerhabe’s picture

To get it centered, I just edited the /modules/views_slideshow/views_slideshow.module, adding a align='center' to the first div tag on line 245.

jimmb’s picture

Thanks for this suggestion. I have the current version of views_slideshow for Drupal 6 installed (and working), but I don't see anything like that in my views_slideshow.module file.

That file is now only 96 lines long, I don't see anything about a 1st div, and am not sure if your advice still applies.

So, I was wondering if you could show me the code around where you added align='center'. It would help a lot, as I could then search the file(s) and find it....

Thanks for any help!

Jim

naught101’s picture

jimmb: look in views_slideshow.theme.inc

redndahead’s picture

Version: 5.x-1.x-dev » 6.x-2.x-dev
Status: Active » Fixed

I think this could, and should, be accomplished in your stylesheet and not in the views slideshow module. Something like

.views-your_view {
text-align: center;
}

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.