Unfortunately this was a design decision. I have gotten the code to solve this though:
@media screen and (min-width: 48em) {
.blog:not(.has-sidebar) #primary article,
.archive:not(.page-one-column):not(.has-sidebar) #primary article,
.search:not(.has-sidebar) #primary article,
.navigation.pagination,
body.blog .site-content .page-header,
body.archive .site-content .page-header,
body.search .site-content .page-header {
float: none;
margin-left: auto;
margin-right: auto;
max-width: 740px;
width: auto;
}
}
Thread Starter
eltel
(@eltel)
You’re a star!! Works perfectly
Many thanks
Hello Sheriziya
Great, I was just looking for a solution to solve this problem too !
But as I’m not a developper or a pro of the CSS code, even though, due to some finetuning and some modifications required by the readers of our web site, I feel now quite comfortable with all the the files and their location.
However, I don’t know which file should be modified to paste the code you offered ?
Is that the style.css (I guess it’s as this is the most obvious to me !?) file and where exactly should I insert or modify the original code ?
I’ve searched the style.css file with keywords but there’re many occurrences and I don’t want to break everything up !
Thanks so much for your kind help !
Regards,
Philippe
@phil49 Sorry for not responding sooner. My computer broke down.
You can copy & paste this code into the CSS panel in the theme’s customizer. That way, when the theme gets an update, your css still remains. 🙂
Hello Sheriziya,
Sorry for your computer ! 🙁
I eventually dared to paste it just after I posted the question in the CSS panel and it worked !
I thought it had to be pasted in a specific file, because I already had to that for a specific theme !
Thanks anyway for your answer!
May I abuse your kindness and ask you if there’s a way to reduce the space before and after the text section for Twenty Seventeen pages ?
For many theme this space is quite reasonable but here I find it huge, unsightly and useless!
Thanks again for sharing your knowledge,
Regards,
Philippe
@phil49 Hey,
Sorry, I haven’t looked into the space above and under the text sections, since I don’t mind it. Maybe someone else can answer this?
Hello Sheriziya
Thanks for your answer !
As I DO mind, I looked desperately in some other forums dedicated to the theme Twenty Seventeen and came across an incredible guy who solved 5 problems in a row related to customization of this theme in a few minutes !
Thanks anyway for replying.
Regards
Philippe