Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have created several website using Marinelli 6.x, but upon trying to develop in 7.x, I am having difficulty finding theme "components" such as font size, font color etc. In 6.x they were in the 4 css files (layout.css, graphic.css, typography.css and links.css).
Can someone please share instructions for how to change the font size of text on a basic page in 7.x?
Thanks
Comment | File | Size | Author |
---|---|---|---|
#3 | font-size.patch | 462 bytes | BhumikaVarshney |
Comments
Comment #1
solodky CreditAttribution: solodky commentedI had luck fixing mine in typography.css at:
original font size: was 75% ,,so changing it to 85% helped. changing it to 100% broke my site for some reason
Comment #2
Lynn Amy de la Breteque CreditAttribution: Lynn Amy de la Breteque commentedIs this for all the text or simply the header text? I want to enlarge my header and slogan text and change the font style too.
Comment #3
BhumikaVarshney CreditAttribution: BhumikaVarshney as a volunteer and at OpenSense Labs commentedThis patch is to change the font-size globally so if the screen size is changed the font is also adjust as per the view port.
By this the default font-size is 16px and if you want to change header and slogan font you can use this id "title-slogan" and apply the font-size as per the requirement.
Comment #4
BhumikaVarshney CreditAttribution: BhumikaVarshney as a volunteer and at OpenSense Labs commentedComment #6
gaurav.kapoor CreditAttribution: gaurav.kapoor commentedComment #7
gaurav.kapoor CreditAttribution: gaurav.kapoor commentedThe font size looks appropriate now. Thanks.