1 stevelemaster Dec 15, 2007 08:50
3 stevelemaster Dec 15, 2007 19:26
http://www.pctechspot.net/articles/
Trying to make the pages wider and remove posts in the sidebar.
4 john Dec 15, 2007 19:49
There are no tables on your site.
Edit the width of the div.wrapper, ie it's 700 now, make it 800 then use the difference to widen div bPosts and div bSidebar
5 stevelemaster Dec 15, 2007 20:01
Are those entries in the CSS?
6 john Dec 15, 2007 20:16
Yes open your specific skin and find styles.css
div#wrapper {
width: 700px;
margin: 0px auto;
padding: 0;
}
.bPosts {
float: right;
width: 500px;
overflow: hidden;
margin-top: 10px;
padding: 5px 0px 5px 0px;
background-color: #fff;
}
.bSideBar {
background-color: #fff;
margin: 0px 0px 0px 0px;
padding: 0px 0 0 0px;
width: 200px;
float: left;
overflow: hidden;
}
7 stevelemaster Dec 16, 2007 00:25
Thanks.
One last question and I'll get out of your guys' hair.
How do I remove posts from the sidebar?
8 john Dec 16, 2007 00:33
I don't know what you mean by Posts but I would start by commenting out or deleting the Linkblog
9 stevelemaster Dec 16, 2007 00:48
Any time I publish a post it displays in the sidebar.
I'm trying to figure out how to prevent that. If you go to http://www.pctechspot.net/articles, you'll see what I mean.
10 john Dec 16, 2007 01:10
Well, it appears as though your sending your main posts to your linkblog.
Like I say, just open you .main.php and look for bSideBar and delete the section linkblog
You might be able to go into your blog settings and select "don't Publish the Linkblog" as another way to get rid of it.
11 stevelemaster Dec 16, 2007 01:32
Like I say, just open you .main.php and look for bSideBar and delete the section linkblog
That did it! Thanks! Now, I'll leave your hair.
One question though. Am I correct in saying that the css file is at the core of all b2Evo skins?
12 john Dec 16, 2007 02:50
Yes
13 stevelemaster Dec 16, 2007 02:56
Ok.
The last thing I have to figure out is how to cause the pages to take up more of the screen. Many of them are too narrow.
14 john Dec 16, 2007 03:15
I've posted the CSS you need to edit above.....
Just change the 700px to a width you want...
Lets say it's 800.
Increase the sidebar 25px, increase bPosts by 75px and see how you go.
15 stevelemaster Dec 16, 2007 03:40
It seems that anything I do shoves the sidebar to the bottom of the screen. LOL!
16 edb Dec 16, 2007 17:26
SteveLeMaster wrote:
One question though. Am I correct in saying that the css file is at the core of all b2Evo skins?
NO!
It, in conjunction with the php file(s) that create your pages are the core of skins. CSS all by itself will NOT produce different content. php all by itself will not produce different looks. php AND css together will produce, from the same database, radically different webs.
As for the sidebar moving under the posts, I'm guessing here but it's probably because the overall wrapper that the "main area" and "sidebar section" are in do not have enough room for your expanded main area and the existing sidebar.
In other words: if there are 800 pixels width available and the main takes 600 and the side takes 200, then you can't give the main 700 and expect the side to still have 200 to live in. It has to move to where 200 pixels are available.
Therefore when you widened one part of the overall page you gave less room for the other part. Make sense?
You have a div class of "wrapper" and "wrapper2". Either of those, or maybe both, are limiting the overall width of the actual display area. As John said, you have to widen the overall div before widening the main content area. Else you won't have room for the sidebar. Check it out and you'll probably say "aha!" when you see where the overall width is limited. Increase that by the amount you want to increase your main content and you'll see your sidebar pop back up where it belongs.
Best of luck to you on this! It's frustrating but ultimately rewarding.
17 stevelemaster Dec 16, 2007 19:39
EdB wrote:
SteveLeMaster wrote:
One question though. Am I correct in saying that the css file is at the core of all b2Evo skins?
NO!
It, in conjunction with the php file(s) that create your pages are the core of skins. CSS all by itself will NOT produce different content. php all by itself will not produce different looks. php AND css together will produce, from the same database, radically different webs.
As for the sidebar moving under the posts, I'm guessing here but it's probably because the overall wrapper that the "main area" and "sidebar section" are in do not have enough room for your expanded main area and the existing sidebar.
In other words: if there are 800 pixels width available and the main takes 600 and the side takes 200, then you can't give the main 700 and expect the side to still have 200 to live in. It has to move to where 200 pixels are available.
Therefore when you widened one part of the overall page you gave less room for the other part. Make sense?
You have a div class of "wrapper" and "wrapper2". Either of those, or maybe both, are limiting the overall width of the actual display area. As John said, you have to widen the overall div before widening the main content area. Else you won't have room for the sidebar. Check it out and you'll probably say "aha!" when you see where the overall width is limited. Increase that by the amount you want to increase your main content and you'll see your sidebar pop back up where it belongs.
Best of luck to you on this! It's frustrating but ultimately rewarding.
I actually landed in the wrapper2 by accident and noticed that it also plays a roll with the pages dimensions. Once I get more comfrtable with it, I'll producing my own and submitting them.
I have to tell you guys that b2Evolution has got to be the easiest blog by far. The big plus is the ease of plugin installation and skins. The other being how long it took me to figure out the basics before RTFM, which was about 20 minutes.
What table in which skin? Actually, since most skins don't use tables how's about a link showing what you're looking to widen?