Remember me

Vertical Centering with Equal Top and Bottom Paddi

7 years 3 months ago #1

  • dot360 di Luca Brusamolino's Avatar
  • dot360 di Luca Brusamolino
  • Posts: 113
Hi
i'm tryng to set vertical centering with equal Top and Bottom padding for image description on the right
gurrieri.dot360.it/index.php/pubblicazioni?boboli-gardens



How can i do?

Thanks Luca

7 years 3 months ago #2

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
Hi,

You need at the custom css file of your template to add code:
.modal-description {
    align-items: center;
    -webkit-align-items: center;
    display: -webkit-flex;
    display: flex;
    height: 100vh;
    overflow: auto !important;
}

@media (max-width: 1024px) {
	.modal-description {
	    height: auto;
	}	
}

Regards,
Vyacheslav, Balbooa.com

7 years 3 months ago #3

  • dot360 di Luca Brusamolino's Avatar
  • dot360 di Luca Brusamolino
  • Posts: 113
Perfect!

thanks Luca

7 years 3 months ago #4

  • Viacheslav's Avatar
  • Viacheslav
  • Posts: 28858
You are welcome! ;)
Powered by Kunena Forum