AH mais merci Roadster 31,
Je regardais dans templates/backOffice/default/assets/less/header.less où il y avait déjà un .hidden-xs,
Cependant, il était toujours visible ce .hidden-xs dans mon firebug car il était dans un .less généré avant, le responsive dont tu me parle.
Merci d'avance je vais pouvoir avancer.
edit : Après un avoir jeter un petit oeil sur responsive-utilities.less je n'ai pas trouvé de .logo.
J'en ai bien un dans header.less, J'ai supprimé la ligne .hidden-xs; mais sans succès.
Mon image disparait lorsque le redimensionnement passe sous la barre des 768px (comme indiqué dans le lien sur CSS Bootstrap).
Au final mon CSS généré ça donne ça :
header .header .logo {
display: block !important;
margin-top: 0;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
position: relative;
}
@media (min-width: 992px) {
header .header .logo {
float: left;
width: 33.3333%;
}
}
trheader .header .logo {
display: table-row !important;
}
thheader .header .logo, tdheader .header .logo {
display: table-cell !important;
}
@media (max-width: 767px) {
header .header .logo {
display: none !important;
}
trheader .header .logo {
display: none !important;
}
thheader .header .logo, tdheader .header .logo {
display: none !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
header .header .logo.hidden-sm {
display: none !important;
}
trheader .header .logo.hidden-sm {
display: none !important;
}
thheader .header .logo.hidden-sm, tdheader .header .logo.hidden-sm {
display: none !important;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
header .header .logo.hidden-md {
display: none !important;
}
trheader .header .logo.hidden-md {
display: none !important;
}
thheader .header .logo.hidden-md, tdheader .header .logo.hidden-md {
display: none !important;
}
}
@media (min-width: 1200px) {
header .header .logo.hidden-lg {
display: none !important;
}
trheader .header .logo.hidden-lg {
display: none !important;
}
thheader .header .logo.hidden-lg, tdheader .header .logo.hidden-lg {
display: none !important;
}
}
header .header .logo a {
text-decoration: none;
}
Si je remplace le display: none !important par un inline par exemple pour max-width : 767px (sous firebug) mon logo ne disparait pas lorsque je réduit la fenetre.
C'est empirique comme raisonnement mais j'arrive pas à comprendre pourquoi même avec le .hidden-xs enlevé mon logo disparait quand même.
Last edited by JuliaMad (25-04-2014 17:19:07)