Contents
Related Posts
Create a lower cookie consent bar.
You will learn to:
- Edit a predesigned popup template
- Close a popup window on button click
- Set multiple conditions to control where a popup is displayed
Design the pop-up window and its content
- Go Templates> Pop-ups> Add New and give your new popup a name. (An alternative method is to press CMD + E or CTRL + E open Discoverer, search for Popup, choose Add new popupand give it a name.)
- Elija una plantilla emergente prediseñada o cierre la superposición de la biblioteca y diseñe su ventana emergente desde cero. Para este ejemplo, elija una de las bars inferiores de Consentimiento de cookies.
Botón> Content
Text: Enter "Accept and close".
Link> Popup Window
- Not reappear: Yes
- Size: Means, medium
Button> Style
- Colour: Choose a color
- Filling: Remove all padding
Right click on the Button widget handleand select Double. Now design this button.
Button> Content
- Text: Enter «Reject»
- Link: Enter a link to a Terms of Use page that explains why cookies are needed.
- Size: Means, medium
Button> Style
- Background color: Sure
- Border type: Solid
- Border width: 1 only for the bottom
- Edge radius: 0 for all corners
- Filling: 5 only for the bottom
Edit the text
Header> Content
Alignment: Left.
Edit the OK and close button
Button> Content
Alignment: Justified.
Drag the column of text so that it occupies a wider part of the bar, and drag the column of the OK button so that it occupies less space. Adjust as you like.
Click on the gear / gear icon located at the bottom left of the panel to return to the Settings pop-up.
Popup Settings> Settings
Cover: Hide.
Popup Settings> Style
Colour: Adjust the color as needed.
Popup Settings> Advanced
- Avoid overlapping closure: Yes
- Avoid closing in ESC: Yes
Publish the popup
Click on the To post to configure the Terms, Triggersand Advanced rules.
Terms
Click on Add condition
- Include: Whole site
- Exclude: Singlular> All pages> Terms of use page
Triggers
Loading on the page: Yes at 0 seconds.
Click Save and close button
All ready. Go to their site and see it in action.
Nota: este método no es compatible con GDPR, ya que no almacena la aceptación ni bloquea los scripts de cookies antes del consentimiento. Si necesita cumplir con el RGPD, utilice un GDPR compliant cookie consent plugin instead.
Contents
Toggle