Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » Forum Usage » Forum How-To »

[SOLVED] What CSS Selector to Style width of one single Post

Old Jul 10, 2013, 12:23 PM
New WordPress Fan
141 posts · Jul 2010
I am having trouble finding the CSS selector to style just one particular post (not a page, but a post).

Based on this discussion thread : http://forum.bytesforall.com/showthread.php?t=14940, I have tried the following:

body.single-post div.post-447 {
width: 950px !important;
But this does not work. What am I doing wrong? Will appreciate any help!

Using Atahualpa 3.712 with Wordpress 3.5.2.
Old Jul 10, 2013, 01:38 PM
juggledad's Avatar
23,750 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I'm sure that it is doing just what you want it to do. Try adding a border so you can see what it is doing.

Remember, the center area is based on the page width minus the size of the sidebars. Posts reside in the center area.

Last edited by juggledad; Jul 10, 2013 at 02:03 PM.
Old Jul 10, 2013, 09:52 PM
New WordPress Fan
141 posts · Jul 2010
Thank you, Juggledad. Yes, you are right. The code was working; I realized this after I tried your suggestion and also tried out the site on a smaller (ipad) screen and saw the post page keep its width. Sorry!

Thanks again for all the great help you and Larry give in this Forum -- on so many topics. I made donations to each of you today, with gratitude. Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't change the width of sidebar in Single post gamix07 Sidebars & Widgets 3 Nov 5, 2012 04:22 AM
[SOLVED] change style for post container in single page only fsastrow Center area post/pages 2 Jul 27, 2011 07:06 AM
100% image width in single post pages kaspar.wimberley Center area post/pages 0 May 15, 2010 05:25 AM
How can I style a single post? ahc Center area post/pages 2 Jan 21, 2010 08:07 AM
[SOLVED] Unwanted style difference in singel post and that same post on single displa Sakshin Header configuration & styling 4 Sep 16, 2009 01:29 PM

All times are GMT -6. The time now is 12:55 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.