Log in

View Full Version : Problem with below_body style/class applying themselves to body_wrapper div/class


JohnD5000
10-01-2013, 04:47 PM
After uploading a new style from an xml file, the style works fine on the main page, forum.php, however on forumdisplay.php the main body elements are formatted according to the below_body class which i do not want. On the main page the appropriate styles are applied (body_wrapper) to the appropriate elements, but on forumdisplay.php and member.php, below_body style is being applied to most of the div that should have the body_wrapper style applied.

Any ideas?

See forumdisplay vs. forum.php below.

Thanks in advance for your help,

John Downing

kNeo
10-01-2013, 07:43 PM
Weird, it looks like the bodywrapper div for the member/forumdisplay templates is terminated too early (like an extra </div> somewhere). I'm not sure how difficult it would be, but I would try to find that extra </div> and move/remove it and see if that helps.

Difficult without access to the templates, sorry if that's not much help!

JohnD5000
10-01-2013, 07:55 PM
Let you know if it works.

--------------- Added 1380737842 at 1380737842 ---------------

Turning the "Add Template Name in HTML Comments" fixes the problem. Not sure what to make of this now. I cannot control the comment code generated, can I?