Closed (fixed)
Project:
Views Slideshow
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2007 at 15:24 UTC
Updated:
8 Sep 2009 at 16:10 UTC
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
Comment #1
manerhabe commentedTo 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.
Comment #2
jimmb commentedThanks 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
Comment #3
naught101 commentedjimmb: look in views_slideshow.theme.inc
Comment #4
redndahead commentedI 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;
}