[Koha-devel] Why does #wrap have padding?

Owen Leonard oleonard at myacpl.org
Wed Dec 16 13:22:09 CET 2020


> Does anyone know why #wrap in koha-tmpl/opac-tmpl/bootstrap/css/src/_common.scss has padding-left: 40px and padding-right: 40px?

Because the OPAC was designed to have 40 pixels of padding on either
side of the main content.

> It makes adding full-width headers/footers impossible without tricks and compensations for changes to the padding with the responsive media queries.

All CSS customizations require tricks and compensations to override!

  -- Owen

-- 
Web Developer
Athens County Public Libraries
(740) 737-6006
https://www.myacpl.org


More information about the Koha-devel mailing list