Link to home
Start Free TrialLog in
Avatar of Jack Andrews
Jack AndrewsFlag for United States of America

asked on

Drupal 7 - Styles not rendering in newly added content

I have created content using html in a new page in a Drupal 7 site, with existing styles applied from the same style sheet that is used to style other similar pages. The css selectors are the same but no style is being applied when the new page is saved. If I copy the similar html from an existing page created in the same way and paste its content into the new page as a test, it is also not formatted in the new page using the style.css file.

The new pages are visible in the menu and can be displayed, but not with styling. Can you advise?
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Can we see a link to your site, along with an example of what's not working / what you expect to be happening, otherwise we'll just be guessing :)
How are you applying the styles to these pages? Is your style sheet loaded when you view the page source with your browser? Are your classes and ids still there when you view the page source with your browser?
Avatar of Jack Andrews

ASKER

Answering two of you:

I did not include this detail because I was first assuming there was a setting somewhere that had to connect the style sheet to a page. Not so, I suppose. That said...

Style sheet has always been loaded, styles are applied in the html via Drupal admin and other pages that display correctly have the same styles applied.

When I look at the new pages with Firebug, the styles are not applied.

Link to correctly styled and displayed page: http://zoom.snssystem.com/?q=apartments-page/uptown-dallas-apartments

Link to incorrectly displayed page: http://zoom.snssystem.com/?q=apartments-page/nw-dallas-apartments

You will see the id tag incorrectly applied to multiple things in a few places on correctly displaying pages, but we are fixing that. It does not effect the display far as I can tell.
ASKER CERTIFIED SOLUTION
Avatar of Aaron Feledy
Aaron Feledy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That's the solution. It was set to Filtered HTML. Thanks!