Twitter Delicious Facebook Digg Stumbleupon Favorites More

Friday, February 18, 2011

How To Remove Sidebar in Articles / Pages Specific

Some bloggers beginners (like me) might expect in one of its news pages free of elements such as sidebars or blog comments, just plain pure post pages are wide and appear. many of us are always wrong perception, for example, you can see it here. The yard I have removed the sidebar, and changing the size of the main (post page) to be wide, while the yard which I have removed the sidebar and form / comment and change the full play. Whereas when you read another page on my blog has not changed anything such as the page you are reading this. attribute the sidebar and complete comment .
 
Now the question is how do I remove the sidebar page elements and comment on a particular article?
To produce such a thing, to perform callback code from the page Edit Entry Css posts. So when the visitor opens the page, some elements of the blog will disappear. Here are basic tricks.


..... This is the final part of the contents of the posting.

<style>
#kodenya {display:none;}
</style>

You can insert a dialing code above Css edit entries at the end posts. To post pages I've ever Css paste the code below

 ..... This is the final part of the contents of the posting.
<style>#main-wrapper{width: 960px; float: left; margin: 0 10px 0 10px; word-wrap: break-word;overflow: hidden;}</style>

<style>#related-posts{display:none;}</style>
<style>#comment-form{display:none;}</style>
<style>#comments{display:none;}</style>
<style>#sidebar-wrapper{display:none;}</style>

This trick works well in Fire Fox and IE, but did not rule out the possibility there are some weaknesses. Suggestions and criticism from friends so I would expect. Hopefully, the above tricks can help, to get maximum results in manipulating your blog page, so be varied as if the hosting.
Oh yes but it is necessary to make some adjustments crate breadth play. Adjust as needed and space of your blog pages.
Okay Good luck!.

0 comments:

Post a Comment

 
Powered by Blogger