tenants
Well-known member
Is there a simple way to use the OverlayTrigger to generate an overlay with 100% width?
	
	
	
		
If I use a template with a root div width of over 650 px, the overlay starts to be off centre, as does the close button.
Ideally I would like to use a width of 800px, or even better would be 100% of the root dom
Are there any params I can add to this that will allow me to extend the width of the overlay?
For instance, I would like to change the style for paricaular overlays to the following:
	
	
	
		
I thought this might be possible with overlay options, but I haven't had any success
				
			
		HTML:
	
	<a
data-overlayoptions="{"fixed":false}"
class="OverlayTrigger"
href = "url">
Click Me
</a>
	If I use a template with a root div width of over 650 px, the overlay starts to be off centre, as does the close button.
Ideally I would like to use a width of 800px, or even better would be 100% of the root dom
Are there any params I can add to this that will allow me to extend the width of the overlay?
For instance, I would like to change the style for paricaular overlays to the following:
		Code:
	
	element.style {
    display: block;
    left: 0;
    position: fixed;
    top: 36.9px;
    width: 100%;
    z-index: 10000;
}
	I thought this might be possible with overlay options, but I haven't had any success