Member Avatar for sonicx2218

Friend wanted help with website on Wix. I got a lightbox on it, but there's a problem. Wix only allows you to post html contained in an iframe. So the app, which normally opens a lightbox in the center of your window when you click a link doesn't work, it just opens in the center of the box regardless of position of link clicked. Is position detection not possible in an iframe?

have you tried inline styles on the html elements?

ex:
<div style="height:100px; width:100px; box-shadow:2px 2px 5px #000000;">A div</div>

The other option is to try and pu the stylesheet directly on the html in style tags like a script tag... not sure how Wix works, but whatever you control you can affect change on. If you know CSS very well, you may want to take a look to see if they have a tighter constraint on your classes than you do.

Without seeing the site, it's hard to give any other ideas...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.