Ver Mensaje Individual
  #6 (permalink)  
Antiguo 18/12/2017, 04:29
sergiodueso
 
Fecha de Ingreso: enero-2011
Ubicación: Zaragoza
Mensajes: 98
Antigüedad: 13 años, 3 meses
Puntos: 1
Respuesta: Problema con css bootstrap

Buenos días. Otra pregunta: ¿Cómo puedo hacer para que salgan las fotos más pequeñas? Os pongo el css que tengo.

Código CSS:
Ver original
  1. @charset "utf-8";
  2. /* CSS Document */
  3. #bsPhotoGalleryModal .modal-content {
  4.     border-radius:0;
  5. }
  6. #bsPhotoGalleryModal .modal-dialog img {
  7.     text-align:center;
  8.     margin:0 auto;
  9.     width:100%;
  10. }
  11. #bsPhotoGalleryModal .modal-body {
  12.     padding:0px !important;
  13. }
  14. #bsPhotoGalleryModal .bsp-close {
  15.   position: absolute;
  16.   right: -14px;
  17.   top: -11px;
  18.   font-size: 30px;
  19.   color:#fff;
  20.   text-shadow: 1px 1px 18px #000;
  21. }
  22.  
  23. #bsPhotoGalleryModal .bsp-close:hover {
  24.   cursor: pointer;
  25.   opacity:.6;
  26.   text-shadow: none;
  27.  
  28. }
  29. .bspHasModal {
  30.   cursor: pointer;
  31. }
  32. .bspHasModal .text {
  33.   overflow: hidden;
  34.   text-overflow: ellipsis;
  35.   white-space: nowrap;
  36. }
  37. .imgWrapper {
  38.   overflow: hidden;
  39.   max-height: 99px;
  40. }
  41.  
  42. a.bsp-controls,
  43. a.bsp-controls:visited,
  44. a.bsp-controls:active {
  45.   position: absolute;
  46.   top: 44%;
  47.   font-size: 26px;
  48.   color: #fff;
  49.   text-shadow: 1px 1px 18px #000;
  50. }
  51. a.bsp-controls.next {
  52.   right:-10px;
  53. }
  54. a.bsp-controls.previous {
  55.   left:-10px;
  56. }
  57. a.bsp-controls:hover {
  58.   opacity:.6;
  59.   text-shadow: none;
  60. }
  61. .bsp-text-container {
  62.   clear:both;
  63.   display:block;
  64.   padding-bottom: 5px;
  65. }
  66. #bsPhotoGalleryModal h6{
  67.   margin-bottom: 0;
  68.   font-weight: bold;
  69.   color: #000;
  70.   font-size: 14px;
  71.   padding-left: 12px;
  72.   padding-right: 12px;
  73.   margin-bottom: 5px;
  74. }
  75. #bsPhotoGalleryModal .pText {
  76.   font-size: 11px;
  77.   margin-bottom: 0px;
  78.   padding: 0 12px 5px;
  79. }
  80.  
  81.  
  82. @media screen and (max-width: 380px){
  83.    .col-xxs-12 {
  84.      width:100%;
  85.    }
  86.    .col-xxs-12 img {
  87.      width:100%;
  88.    }
  89. }
Porque he cambiado el width aquí:

Código CSS:
Ver original
  1. #bsPhotoGalleryModal .modal-dialog img {
  2.     text-align:center;
  3.     margin:0 auto;
  4.     width:100%;
y me sigue saliendo igual.
Gracias.

Última edición por sergiodueso; 18/12/2017 a las 04:39