Hello,
I am currently using Nisarg theme for my blog, but I really don't want to see the side bar anywhere.
Is there any way how to disable it completely?
wwww.mysoultrippin.com
Thank you!
Mirka
Hello,
I am currently using Nisarg theme for my blog, but I really don't want to see the side bar anywhere.
Is there any way how to disable it completely?
wwww.mysoultrippin.com
Thank you!
Mirka
Hello mirkamp,
comment out or remove the statement get_sidebar() function from index.php and page.php.
Falguni
Hello Falguni,
thank you for the tip, the sidebar is gone now. But I thought that the posts will now be wider, but they're still the same. And the area where the sidebar was is now just blank..
So how can I make the posts wider? So no blank space is there on the right?
Thank you,
Mirka
Removing the sidebar and making it full page width:
wp-content/themes/nisarg/css/bootstrap.css
line 1949:
.col-md-9 { width: 75%; }
change the width to 100%
And for removing the sidebar:
Remove:get_sidebar('sidebar-1');
in
wp-content/themes/nisarg/page.php
wp-content/themes/nisarg/index.php
Your welcome :)
Hi webbersky,
thanks for the help! I managed to remove sidebar, but I'm not really familiar with bootstrap.css..
It's located in this folder:
wp-content/themes/nisarg/css/bootstrap.css
You can't edit it in WordPress, you will need to download this file from FTP, then edit it and re-upload.
hello!
I've the same problem as @mirkamp
Ive done as you said @webbersky but the page is still not full width..
the website im talking about is http://richardstaring.com . you can go on there to see what i mean. do you have any idea how to fix this? i'm pretty desperate haha..
Greetings,
Paul
@media (min-width: 1200px) {
.container {
width: 1200px;
}
on line 1601
change the width to
width: 100%;
and remove the padding
.container {
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
on line 1585 if you want it to be full width.
Hope this helps.
برچسب : نویسنده : استخدام کار wpss بازدید : 281