WebSite X5Help Center

 
Massimo F.
Massimo F.
User

Eliminare banner informativa  it

Author: Massimo F.
Visited 1855, Followers 1, Shared 0  

Buongiorno, vorrei capire se è possibile eliminare nella pagina intro il banner dell'informativa, visto che attivandolo dal programma spunta in tutte le pagine

Grazie

Posted on the
8 ANSWERS
Skeggia 12
Skeggia 12
Moderator

prova a mettere nelle proprietà della pagina, sezione esperto, questo css...

<style#cookie-law-message {display:none;}</style>

Read more
Posted on the from Skeggia 12
Massimo F.
Massimo F.
User
Author

provato non funziona, inserito nelle proprietà della pagina intro prima della head

vedi link

Read more
Posted on the from Massimo F.
 lemonsong  
 lemonsong  
User

O aggiungi !important al codice che ti ha postato Skeggia oppure cambi il selettore con questo #bottom-alertbox-container

Comunque lo lascerei anche se si vede per pochi secondi.

Read more
Posted on the from  lemonsong  
Massimo F.
Massimo F.
User
Author

ho provato sia

  <style#cookie-law-message {display:none;}</style>

  <style>cookie-law-message {display:none;}</style>

  <style>#cookie-law-message {display:none;}</style>

Read more
Posted on the from Massimo F.
 lemonsong  
 lemonsong  
User

1.  è ovvio che la mancanza della parentesi angolare nel tag di apertura postata da Skeggia è un refuso.

2. se cookie-law-message fosse un elemento andrebbe bene ma è un id quindi anteporre #

3. leggi il mio post precedente

Read more
Posted on the from  lemonsong  
Massimo F.
Massimo F.
User
Author

ok risolto grazie ad entrambi

Read more
Posted on the from Massimo F.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month FRBest User of the month PL

... oppure, tanto per saperlo anche se hai già risolto, allo script che ti avevo suggerito per lo scroll potresti aggiungere la stringa:

window.onload=function(){document.getElementById('cookie-law-message').style.display="none";}

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Skeggia 12
Skeggia 12
Moderator

ops... codice incompleto genera confusione... sorry...

Read more
Posted on the from Skeggia 12