Hi, the sidebar-left is too tight for my blog and some widgets, are over normal dimension.
How can I enlarge width without compromise the responsivity?
Finally, can I also apply page layouts to articles?
Thank you
Hi,
You can add the following code to the style.css file:
#main {padding: 50px 8px 10px 230px;}
#sidebar { width: 230px;}
@media only screen and (max-width: 985px) {
#main {
padding: 50px 10px 10px !important;
}
}
If you still face there issue, you can send me your site for further checking.
Hope this helps !
Perfect!
I can see the result here (search widget "categorie"): http://www.soluzionipersomari.it/
About the articles layout, can I associate any page-layout to articles?
There is a lot of empty space in the right side of article:
Like this page: http://www.soluzionipersomari.it/un-po-di-storia/ (shop layout)
but with "sidebar" of homepage instead "shop sidebar"?
Thank you.
Fabio
You only possible use page-layout for pages.
If you want to change width of the content in the single post, you can add the following code to the style.css file:
.single-post #content {max-width: 850px;}
Also, if you want to remove the right sidebar, you can add the following code to the style.css file:
#sidebar-secondary { display: none;}
Regards,
Ok thank you! 🙂
Please login or Register to submit your answer
replied 10 years ago
Thank you, Dominic !
Our site changed like this "http://www.skylarktimes.com/" to add your code to to the style.css file.
but set #sidebar "{ width: 200px;}"
Is anything to care?
Takashi
replied 10 years ago
Look great, you can change the px in the code as you want.