Posted by zeta1600 on November 30, 2011 at 4:14pm
Hello... I am using Omega. I have a views slideshow on the home page. For some reason, I can't figure out how to wrap the text within the views-content when the browser size is reduced. Can anyone help here?
Comments
Doesn't the views slideshow
Doesn't the views slideshow set it's own size on page load? It adds inline styles via JS.
Scale down the page, reload & the slideshow should have been made to fit to the available width. The text should rewrap when the slideshow is restricted to the outer container.
Comment 11 & 12 at http://drupal.org/node/1146566#comment-4788748 helped me understand what was going on.
You may also want to add css for
width:100%;on containers that have text to make them expand to fit the outer container.Drew... thanks for the quick
Drew... thanks for the quick reply. It was the "reload" that I didn't know about. Two of three sliders do work when it's reloaded. But, for some reason, the third one only works when I'm logged in (as admin) Any ideas? They seem to all have the same "views" configuration. Thanks for your answer in advance.
Also, is it possible to auto
Also, is it possible to auto resize without hitting "reload?"
I don't know how to attach
I don't know how to attach the resize option to the window resize event. It isn't clear what code is doing it (views slideshow or the original library).
A feature request may help either in viewslideshow or on the jquerycycle repository.
As for the admin/ anon issue…
Check your caches are cleared (disable if in development).
Does that slideshow use any advanced options? Is the autofit to biggest slide option on?
Compare the js & css files loaded for logged in & non logged in users.
Is admin menu or any other admin feature changing the js in some way, eg allow anon users to access the admin menu & see if it stats working.
Inspect the containing div with Firebug to look for rules that may be stopping it collapsing.
Good grief... I figured out
Good grief... I figured out what was making it not change width. There are a couple of long urls. And, it's set to adjust to the widest slide... ay ay... I would still like to know how to adjust the width automatically without reloading on the slideshows. Any clues?