I am using floats for my toc's so the text wraps around it (and other sidebars i am using)
However the H1 tag "splits" the screen into a new section.
what code must i change to have H1 act the same way as H2?
I am using floats for my toc's so the text wraps around it (and other sidebars i am using)
However the H1 tag "splits" the screen into a new section.
what code must i change to have H1 act the same way as H2?
Use H2 instead. There is no benefit to using H1 over H2 at the top of the article... H1 is the same level as the page title anyway, so it splits the screen to a new block. This was a highly requested feature and is the way it works.
- lead developer for VaultWiki
Yes i know, but i want to change it just for myself, thats why i asked where it is located in the source.
I simply cant edit all the pages to remove all H1's nor do any DB queries to change it since i would have to lower each H tag in order to keep menu-structures intact
ie: replace ALL h4 with h5, then ALL h3 to h4, ALL h2 to h3 and finally all h1 to h2. (with all the uncontrolled "new features" i get after)
So for me to adjust the source code to have H1 and H2 act the same, is the most elegant and save solution.
Have a look at vault/functions/bbcode/headline.php, you may just need to comment this line:
Code:$break = '<!-- vault[break_this_page] -->';
Bookmarks