how can i set the width of a particular post in wordpress site. i.e, i want to post a single post in a particular page and that post must occupy the whole page (body section) for that i already removed the sidebar for that page but i can't set the width of that post.........
for example http://indimovi.net/temp-2/ here though i gave iframe dimensions its not exceeding the actual post width... plz suggest a solution.....
Change the width of div#main{ width: 660px; float: left; display: inline;/* fix double margin */ margin: 30px 25px 30px 10px; } Code (markup): and delete "float: left" (if you don't use sidebar) in the style.css of the theme.
by doing this the sidebar will not come in all pages but i want the side bar in remaining pages except that particular page......
Try this: Change the <div id="main"> Code (markup): to <div id="main" <?php if(get_the_ID()==THE_POST_ID){ echo('style="width: 100%"'); } ?>> Code (markup): in the single.php of the theme. And change THE_POST_ID to the post id for which you want to do this all.
Login to admin panel, then go to the "Appearance"->"Editor" and chose the file single.php on the right panel and edit it.