Jump to content


Photo
Implemented

Pack title being included in table of contents



  • Please log in to reply
5 replies to this topic

#1 CJ2311

CJ2311

    High King

  • Mod Authors
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 1,172 posts

Posted 20 March 2014 - 09:17 AM

I added an automatically generated table of contents to a pack, but since the title of the pack at the top of the page is itself a h2 element, it's getting included in the table of contents.

And since that's part of a template, it can't be edited.

 

Any way to stop it from being added to the TOC? A page header has no business being there :(


  • 0

#2 z929669

z929669

    Ixian Inventor

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,290 posts

Posted 20 March 2014 - 10:15 AM

Will look into that.



#3 CJ2311

CJ2311

    High King

  • Mod Authors
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 1,172 posts

Posted 20 March 2014 - 10:28 AM

Thanks :)

My suggestion would be to actually use a new class for the pack titles to keep the same style for them, without using a <h2> tag.


  • 0

#4 z929669

z929669

    Ixian Inventor

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,290 posts

Posted 20 March 2014 - 11:22 AM

This should be fixed now, please confirm ;)



#5 CJ2311

CJ2311

    High King

  • Mod Authors
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 1,172 posts

Posted 20 March 2014 - 11:33 AM

Yep, fixed indeed. I see that you've done it the old fashioned way too ::P:
  • 0

#6 z929669

z929669

    Ixian Inventor

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,290 posts

Posted 20 March 2014 - 11:37 AM

Yep, I did not want to go into the server source to add a new class. Quick fix :P





Also tagged with one or more of these keywords: implemented

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users