Hi, I’m trying to make the post a little wider because I see wasted space on every side.
I’m using the EDITION theme.
I tried to modify the Header code under Settings > Code Injection > Site Header like this:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/brands.min.css" integrity="sha512-+oRH6u1nDGSm3hH8poU85YFIVTdSnS2f+texdPGrURaJh8hzmhMiZrQth6l56P4ZQmxeZzd2DqVEMqQoJ8J89A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
.gh-head-menu .nav-twitter a {
font-size: 0 !important;
}
.gh-head-menu .nav-twitter a::before {
font-family: "Font Awesome 6 Brands";
display: inline-block;
font-size: 20px;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}
.gh-head-menu .nav-twitter a::before {content: "\f099"}
@media (min-width: 992px) {
.col-lg-6 {
flex: 0 0 85% !important;
max-width: 85% !important;
}
}
</style>
with no luck
Any hints on what I’m doing wrong?
Thanks,
new
2
Hey there!
I can suggest you this solution which worked for me by @Cathy_Sarisky but it may differ by theme:
Edition likely needs different code injection. Thanks for the tag - let me see if I can help you with this.
1 Like
In your code injection header (find that under settings):
<style>
.gh-canvas {
grid-template-columns: [full-start] minmax(var(--gap),auto) [wide-start] minmax(auto,calc((var(--container-width, 1200px) - var(--content-width, 720px))/2)) [main-start] min(var(--content-width,720px),calc(100% - var(--gap)*2)) [main-end] minmax(auto,calc((var(--container-width, 1200px) - var(--content-width, 720px))/2)) [wide-end] minmax(var(--gap),auto) [full-end] !important;
}
</style>
Change all instances of 720px above to your desired width.