Replies: 4 comments 8 replies
-
At a certain resolution (read: screen width), the theme locks the width of its content to avoid getting text lines to long. https://baymard.com/blog/line-length-readability Nevertheless you can change this by defining your own CSS in Rule from /* we limit width if we have large screens */
@media screen and ( min-width: 1300px ){ /* #sidebar/width + ./max-width */
#body .flex-block-wrapper {
margin-left: auto;
margin-right: auto;
max-width: 1000px;
}
} Please remember, that this is not a documented feature and therefore overwriting the rule may break in any newer version of the theme. |
Beta Was this translation helpful? Give feedback.
-
Hi @McShelby and @rcastley - thanks for the post - great work - I'm stumped though - I've tried to implement by:
`<!-- Partial intended to be overwritten to add custom headers, like CSS or any other info <style> /* Custom css */ /* we limit width if we have large screens @media screen and (min-width: 1300px) { /* #sidebar/width + ./max-width */ #body .flex-block-wrapper { margin-left: auto; margin-right: auto; max-width: 1300px; width: 100%; } } } } </style>-->` Any advice? Thanks Adam |
Beta Was this translation helpful? Give feedback.
-
@McShelby Good Evening ... just taking I have attempted to inspect the source and apply some CSS tweaks myself but to no avail :-( Are you able to provide any pointers? Also, would this be worth having as a configuration option? Many thanks,
|
Beta Was this translation helpful? Give feedback.
-
That’s awesome … thank you for replying Cheers |
Beta Was this translation helpful? Give feedback.
-
I was wondering if there is a way to reduce the white space between the Menu window and the Page content. On a full screen, the white space seems too much compared to how it behaved in the learn theme. I am trying to port our doc site from learn theme to relearn theme and noticing these subtle spacing issues.
Is there a setting to define the spacing?
Relearn theme
Learn theme
Thanks
Beta Was this translation helpful? Give feedback.
All reactions