Changing column widths to 25% 50% 25% #7815
-
|
I use mkdocs-material with a lot of Portuguese text. This language has too many long words and topics title eventually have to use two lines. I am trying to avoid that, for a better visual, by changing column widths. However, I am not a CSS expert. No matter the minor adjustments I do in .md-content, .md-sidebar--primary and .md-sidebar--secondary, I don't seem to get it right. At some point I did get the columns right, but the padding was wrong. Does anyone have tried that before? If so, did you succeed? How? Thank you for any kind of directions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @biofsphere You can also change the font-size of the headlines, by adding a costum stylesheet to your project like this: h1 {
font-size: 1em !important;
}Documentation how to implement can you find here Note The usage of |
Beta Was this translation helpful? Give feedback.
Hi @biofsphere
You can also change the font-size of the headlines, by adding a costum stylesheet to your project like this:
Documentation how to implement can you find here
Note
The usage of
!importanthere is required because theh1tag on its own doesn't have enough SpecificityTo fix that use the
.md-typeset h1selector and!importantwon't be needed