IK HELP JE VERDER!
Bodytekst is de tekst die de hoofdinhoud vormt van je website. De tekst dat verdeeld is over alinea’s, uitgezonderd van de kopjes, de titel en het navigatiemenu.
Voor de bodytekst op je tablet, ipad of mobiel kun je de lettergrootte (font) beter kleiner maken. Met andere woorden je maakt de bodytekst responsive. Anders staan er vanwege de breedte van je beeldscherm maar een paar woorden per regel en dat leest niet zo prettig.
Wanneer je de gratis versie van elementor gebruikt, kun je dit niet zo makkelijk aanpassen. Indien dit niet lukt, kun je ook één van de onderstaande voorbeelden gebruiken.
Één van deze drie voorbeelden kun je in de CSS van je template plakken. Of plak deze CSS fragment (snippet) in een daarvoor bestemde plugin. Wij hebben deze plugin gebruikt > “snippets“, zie voorbeeld 3.
Voor de responsive weergave van de bodytekst, zeg je met onderstaande code het volgende:
Dit is gebaseerd op het feit dat de smalste laptop / pc 768 pixels breed is.
Met het overzicht hieronder krijg je een beeld van de pixelbreedte van veel voorkomende devices:
Hier vind je een uitgebreid overzicht van maten en pixels per device soort. Je kunt makkelijk sorteren.
@media ( max-width: 768px ) {
body {
font-size: 12px;
}
}
@media (max-width: 768px) {
p {
font-size: 12px;
}
}
Je kunt een code ook plaatsen via een geïnstalleerde plugin, zoals “snippets”.
Mocht het niet het gewenste resultaat geven, verander dan “p” in “body”.
add_action( 'wp_head', function () { ?>
<style>
/* Body font responsive */
@media (max-width: 768px) {
p {
font-size: 12px;
}
}
Cookie | Duur | Omschrijving |
---|---|---|
cookielawinfo-checkbox-advertisement | 11 months | This cookie is set by GDPR Cookie Consent plugin. The purpose of this cookie is to check whether or not the user has given their consent to the usage of cookies under the category 'Advertisement'. |
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |