WebSite X5Help Center

 
Xavier GREGOIRE
Xavier GREGOIRE
User

Fenêtre contextuelle  fr

Author: Xavier GREGOIRE
Visited 1126, Followers 1, Shared 0  

Bonsoir,

Quelqu'un aurait-il une astuce pour adapter les dimensions de l'affichage du contenu d'une fenêtre contextuelle.

J'ouvre une page dans une fenêtre contextuelle, sur un PC, ok, mais sur une smartphone, la hauteur n'est pas adaptée ça serait intéressant d'adpater la hauteur automatique.

voir exemple www.assurances-bertelli.be (sélectionner "tarification")

Merci,

Xavier

Posted on the
5 ANSWERS - 2 USEFUL - 1 CORRECT
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

(It > Fr) ... vous pouvez utiliser mon code EXTRA, pour> Étape 3 | Expert | Code personnalisé> 3ème option - Avant de fermer la balise /HEAD:

<style>@media (max-width: 599px) {
#imShowBox div, #imShowBox > div > iframe { width:100% !important;height:100% !important}
#imShowBox { width:100% !important;padding:0px !important;margin:0px !important;top:45px !important;left:0px !important;height:85% !important }}</style>

.

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Xavier GREGOIRE
Xavier GREGOIRE
User
Author

Merci,

KolAsim

Read more
Posted on the from Xavier GREGOIRE
Xavier GREGOIRE
Xavier GREGOIRE
User
Author

Hello KolAsim,

le code fonctionne mais les liens sur les boutons ou images ne sont plus actifs frown

Cordialement,

Xavier

Read more
Posted on the from Xavier GREGOIRE
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

... essayez ce changement:

<style>@media (max-width: 599px) {
#imShowBox div, #imShowBox > div > iframe { width:100% !important;height:100% !important;}
#imShowBox > div > iframe {z-index:1000000 !important}
#imShowBox { width:100% !important;padding:0px !important;margin:0px !important;top:45px !important;left:0px !important;height:85% !important }}</style>

.

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Xavier GREGOIRE
Xavier GREGOIRE
User
Author

Merci!

Read more
Posted on the from Xavier GREGOIRE