Streaming live at 10am (PST)

White lightbox and next button to tabs


#1

Hallo,

For my second website I would like a lightbox with white background. Also I want a button to next tab (I want it in my first site to). I read on this forum it isn't possible yet, but can it be done with custom code and will anyone help me with that, I'am not a webdesigner.

Public link https://webflow.com/design/divalizia?preview=d202ee3229c5fb24a053b3b5d3490502

Thanks,
With kind regards,
Corine


#2

Where's the lightbox? Can't get to launch it. Need it to help you I guess.

Very nice pics as usual Corine.


#3

@vincent Thanks for compliments, the Costume Art is my job :-). I put a lightbox into it this evening (night in Europe), I wasn't ready with all the portfolio pictures yet. Many many thanks for willing to help me!!


#4

Looking at the lightbox with the link from the other thread now... we got threads mixed up didn't we?


#5

Oeps, you're right, sorry for that


#6

Check this: http://sab.webflow.com/widgets/styling-the-lightbox

I didn't want to add more than these two at the moment, I'm sure Webflow team will update the widget, giving users more grip on styles. But you see how it works. If you need to alter something else, just ask.


#7

Hi @vincent, thanks but I don't know where to put the code. I copied your code and paste it first in the head and later in the body, but it didn't work out. What did I do wrong?


#8

Oh, probably not putting the style brackets.

The code goes to the head section, definitely.
You have to put it inside <style></style> brackets.

So like this:

<style>
.w-lightbox-backdrop {background: rgba(256,256,256,.9);}
</style>

If later you add another CSS property, paste it in between the brackets too.
You can also add commentaries, to remember chat each of your properties do.

<style>
/* turning the lightbox background to white  */
.w-lightbox-backdrop {background: rgba(256,256,256,.9);}
</style>

Commentaries goes in between /* and */


#9

Yes!! It's working! Many, many thanks @vincent. Again thank you very much! Greetings from Curaçao, Corine


#10