Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 Oct 2013, 18:47
JohnD5000 JohnD5000 is offline
 
Join Date: Aug 2012
Problem with below_body style/class applying themselves to body_wrapper div/class

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
Attached Images
File Type: jpg forumdisplay.jpg (135.2 KB, 10 views)
File Type: jpg forumphp.jpg (119.1 KB, 8 views)
Reply With Quote
  #2  
Old 01 Oct 2013, 21:43
kNeo kNeo is offline
 
Join Date: Jun 2009
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!
Reply With Quote
  #3  
Old 01 Oct 2013, 21:55
JohnD5000 JohnD5000 is offline
 
Join Date: Aug 2012
Good suggestion, will try

Let you know if it works.

--------------- Added 02 Oct 2013 at 18:17 ---------------

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?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:39.

Layout Options | Width: Wide Color: