theme does not allow centering of text

sinisa.ilic - September 28, 2009 - 15:26

Hi,

I have downloaded and installed ad_blueprint theme, but the page text which is in "center" tag is left aligned. When edit page, the editor shows it centered, but after saving, the text is left aligned. Do I have to modify style.css or page.tpl.php and what to modify?

thanks in advance
Sinclair

I am not using that theme but

nwwoman - September 28, 2009 - 16:26

I am not using that theme but my immediate reaction is: edit your style.css Suggest you use firebug in firefox as obviously there's a css style that is overriding the center tag.

what to look at style.css

sinisa.ilic - September 28, 2009 - 18:05

I guess I should look for text-align formatting and I have found couple of them. I have put all of text-align lines in comment (/* */), but nothing has changed.

It is very interesting that the lines in page that consist of "center" tag appear in "switch to plain text editor" of FCK editor always (and before and after saving), but when page is in "view" mode, "center" tags disappear. What kind of formatting overrides body of text? What to search in style.css?

Sinclair

Hi, I'm the theme maintainer

Alan Cooney - November 3, 2009 - 12:27

Hi,

I'm the theme maintainer and it sounds very much like the input format you are using doesn't allow . The default input format doesn't allow that tag after all. Have a read of http://www.lullabot.com/articles/drupal_input_formats_and_filters and if that doesn't work please get back to me.

Alan Cooney
Avioso Designs
http://www.avioso.com

 
 

Drupal is a registered trademark of Dries Buytaert.