FAQ
Images
How can I reduce the height of the large header image on the home page?
Add the following CSS to custom.scss.
.hero .hero-body {
min-height: inherit;
padding-bottom: 50px;
}How can I change or remove the background image of the large header image on the home page?
Add the following CSS to custom.scss to change the background image.
.hero .hero-body {
background-image: url(/files/zeroOne/img/quote.svg);
}You can of course also remove the background image.
.hero .hero-body {
background-image: none;
}Why is an image not shown?
Why doesn’t the large view of an image open in a lightbox when I click it?
Why are animated GIFs not shown?
For animated GIFs, do not set an image size in the image settings, otherwise the animation is lost.
Why are some images not shown? (WEBP support)
If newer browsers try to load a WEBP image and it is not supported, an error may occur.
The error message can look roughly like this:
request.CRITICAL: Uncaught PHP Exception RuntimeException: "Image format "webp" is not supported in Imagine\Imagick\Imagine on this environment. Consider removing this format from contao.image.valid_extensions or switch the contao.image.imagine_service to an implementation that supports it. Possible solutions:
#1 Update Imagine or have your host do it (use the latest version)
#2 Use an alternative image processing library
In config.yml you can specify a different image processing service; then clear the cache. This often solves the problem. If WEBP is supported, you should also be able to select it in the image sizes.
contao:
image:
imagine_service: 'contao.image.imagine.gd'or
contao:
image:
imagine_service: 'contao.image.imagine.gmagick'#3 Remove WEBP from the allowed file extensions
Add the following to config.yml and then clear the cache.
contao:
image:
valid_extensions:
- jpg
- jpeg
- gif
- png
- tif
- tiff
- bmp
- svg
- svgz#4 Adjust .htaccess
<IfModule mod_mime.c>
AddType image/webp .webp
</IfModule>Events/News
How can I remove the left column with the image in events/news?
Contact page
How can I replace or edit the graphic with the contact details on the contact page?
You find the SVG graphic in the file manager in the folder zeroOne/img/files/zeroOne/img/navbar_level_2.svg. You can simply replace it with another graphic (the file name must stay the same).
If you only want to change the background color, you can also edit the source code of the file in the file manager
(the second-to-last icon). After the opening <g, add the code fill="#015b7e" and replace the
color code with your desired color (see the following screenshot).
How can I change the background color of the form field labels?
You can change this with the variable $zeroOneColor_1 in der in _custom_variables.scss. Alternatively, you can add the following CSS to custom.scss.
.form-label, .form-group label:not(.form-checkbox):not(.form-radio),
.ce_form .widget:not(.widget-checkbox):not(.widget-radio) label:not(.form-checkbox):not(.form-radio) {
background: #d23b3b;
}How can I change the text color of the input fields?
You can change this with the variable $body-font-color in der in _custom_variables.scss. Alternatively, you can add the following CSS to custom.scss.
.form-input, .form-select, .checkbox_container > div, .radio_container .form-group > div, textarea {
color: #333;
}Text elements
How can I change the color of every second table row?
You can change this with the variable $boxes-background in der in _custom_variables.scss. Alternatively, you can add the following CSS to custom.scss.
.table.table-striped tbody tr:nth-of-type(odd) {
background: #cceaff;
}






