Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] How do I fix the width of the center column? (http://forum.bytesforall.com/showthread.php?t=883)

weightlosscoach Mar 19, 2009 11:31 PM

[SOLVED] How do I fix the width of the center column?
 
When I exclude the sidebars from a specific page, the center column automatically adjusts its width.

How do I keep it fixed?

Flynn Mar 20, 2009 09:02 PM

You could add a HTML/CSS Inserts -> CSS Insert

HTML Code:

.coltwo { width: XXXpx; }
XXX = width in pixels

weightlosscoach Mar 22, 2009 01:31 PM

It worked! Thank you.

I added that one line in the style.css file.

Can I add a separate CSS file like custommod.css that will override style.css? This way, everytime there is a change in style.css whenever I upgrade, there will be minimal modification.

Just wondering. Thanks again.

Flynn Mar 23, 2009 03:01 PM

Sure, you can add as many CSS files as you wish. You'd have to reference each additional css.file in header.php (just like you'd do with any web site)

PHP Code:

<link rel="stylesheet" href="<?php echo get_bloginfo('template_directory'); ?>/your/css/file.css" type="text/css" />

<?php echo get_bloginfo('template_directory'); ?> creates http://www.yoursite.com/wp-content/themes/atahualpa


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

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