I will tell you that I think your wowslider style code is full of nonsense. So much so, that I cannot even tell of its origins. Perhaps you have been adding to it in an attempt to fix your issue, or perhaps it is flawed from the start. I am not a wow slider user-- so I’m not sure what to expect-- but there is both inline style code and external style sheet code that is contradictory and unnecessary.
Fixing your problem, however, is not hard. There are two specific sources which create the space you are having trouble with.
First, there is a margin
style applied to the item #wowslider-container7
in the stylesheet style.css
…
margin:5px auto 12.5px;
This is shorthand for
margin-top: 5px;
margin-left: auto;
margin-right: auto;
margin-bottom: 12.5px
This should be replaced with
margin: 0;
However, there is still something within the #wowslider-container7
which is adding margin to the bottom: it is a paragraph tag wrapping your wow slider html code. The browser sees this as bad or malformed code and shifts the p
tag to the bottom of the container where, although empty, still has a margin.
Freeway has a nasty habit of wrapping inline Markup Items in either paragraph tags or span class style tags. Or both. I would like to publicly take this opportunity to encourage Softpress to rethink this strategy. Wrapping inserted code with more code is indefensible and in these cases counterproductive.
This is what I think happened in your case-- you inserted your wow slider code via an inline markup item and Freeway infected it with poorly advised p tags. Since Freeway is doing this “automagically”, how may we counter it?
Download Remove Paragraph Tags action by Tim Plumb
This action has been around since Freeway 3 or 3.5-- so, a decade?! Applied to a container, like #wowslider-container7
and all the Freeway generated paragraph tags are removed on output, thus solving your Freeway-generated problem.
As to the rest of the style problems, I don’t know what to say. If you’ve added all that position
and max-width
, max-height
nonsense, then I’d say go back to a vanilla installation of the slider. If wowslider is adding that, then maybe I’d reconsider its use.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options