Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Keep text block 500px[eg] in posts and pages (http://forum.bytesforall.com/showthread.php?t=14931)

Craig Atkinson Jul 23, 2011 12:15 AM

Keep text block 500px[eg] in posts and pages
 
Hello.
My site: http://www.craigatkinson.co.uk/category/shop
As you will see, the text runs on a bit on that particular post. I want to keep the text a max of 500px wide while keeping the gallery the same. How do I do this?

juggledad Jul 23, 2011 06:40 AM

you will have to play with the 'width' css option. You should use firebug in firefox and add sone css elements to adjust the look the way you want it, then add that css to teh css inserts

Craig Atkinson Jul 23, 2011 01:25 PM

thanks for the info, I'm sorry to be naive though it sounds another language to me, I have no idea how to do that. Also, would that not affect the whole center column? It's just the text part that I want to stop half way across. I can do it by putting th etext in a table 500px wide in each post but that seems a work around too much!

juggledad Jul 23, 2011 03:40 PM

put the text in a <div id="my-block">...</div> then you can use '#my-block {...}' as the selector and apply what ever CSS you want

Craig Atkinson Jul 23, 2011 10:35 PM

That's exactly what I needed, thankyou. Something that has arisen from this is that the text in the post no-longer resizes / scales as the window is made smaller. I'll take a look at the code but any help is appreciated.


All times are GMT -6. The time now is 04:35 PM.

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