I have just customized the admire-gray theme for my blog and have encountered a problem. Unlike all the other themes I've worked on the node/body of posts has always been formatted properly...i.e. all the bold text is bold, the italic text is in italics, paragraph breaks exist in the content, bullets appear as they should etc etc etc.

However, for some reason when I apply the admire-grey theme to my blog all of the proper node content formatting disapears and it just becomes a giant block of text. When I switch back to anyone of the other themes I have on my system all the formatting returns. I am not an expert themer and am learning as I go. I've compared node.php files, the css stylesheets and the page.php files but can't identify what is causing the issue.

I have also tested this on an original install of the admire-gray theme and the same issues appear so I know it isn't something I've done on my part accidently. What is interesting about this is that admire-orange doesn't have the same problem. Everything formats correctly.

Hopefully this is an easy fix and any help would be appreciated.

Comments

duke40’s picture

check the style.css at line 3
before

*{margin:0; padding:0; text-decoration:none; font-weight:normal; list-style:none;}

and delete the text style infos
after

*{margin:0; padding:0; }

should solve your probs

Duke
sorry for my english

SwoopNStash’s picture

Thank you! That solved all but one issue. The only thing it didn't correct was the padding surrounding images when published in the content column. The CSS is still overriding the <img hspace="5" align="left"/> whether it be right or left aligned.

duke40’s picture

the first css line declare all margins and paddings set to 0
so you must override this argument seperatly for every element. i set in the .css for the img class

padding-left and padding-right of 5px

and it works for me

Maybe there is a better way, when then correct me please

hope it helps at moment

Duke

igbonine’s picture

Just to have a copy

superflyman’s picture

I am using the Admire Grey theme and am still having the problems with it not recognizing line breaks and spacing. If I go to souce, the html is correct. However, the css much be causing the text to just come out as one big block of text. The paragraphs look like they are correct but the space between them is not recognized. Any thoughts? Any help would be greatly appreciated!! I tried what was recommeded in the other posts but it didn't work for me...

aakanksha’s picture

I m creating menus and submenus using admire gray theme.
its menus are visible but submenus are not visible in a dropdown menu.

mndonx’s picture

aakanksha - What are you using to make your dropdown menu? It could be that having the margins/padding set to 0 universally is causing them to not show -- since most likely the theme's stylesheet loads AFTER a module's styles.

mndonx’s picture

superflyman - I'd try narrowing it down to a style that is causing the problem. I use Firebug or Firefox's Web Developer Toolbar (the Edit CSS panel) to determine what style is causing this. Then change or override that style in your stylesheet. It sounds to me like it is the still the fact that this theme sets EVERYTHING to have a margin & padding of zero to start with that might be causing it -- but use those tools to find out for sure.

disc_nr’s picture

Hi, i used admire gray for my website, but it isnt work fine in IE, with ubercart, i can't change content width in any mode, i had modifiy all in property of css but it isnt change, can anyone help me?

Thank's

Disc