![]() |
Remove "--" from Quick Style Chooser?
I would like to remove the "--" from my quick style chooser. For example this is what it looks like now:
Style 1 --Style 1.1 ----Style 1.2 Style 2 --Style 2.1 ----Style 2.2 I would like it to be a plain list: Style 1 Style 1.1 Style 1.2 Style 2 Style 2.1 Style 2.2 I know it's generated in global.php: Code:
// ############################################################################# But if I remove the -- it still puts four ---- in front of a sub style. If anyone can tell me how to rid the quick style chooser of the dashes completely I would appreciate it. :D |
In includes/functions.php around line 5415 (in function contruct_style_options) there's a line
Code:
$stylesetlist .= construct_style_options($style['styleid'], $depthmark . '--', false, $quickchooser); I don't understand the code, but it kind of looks like a minor bug where they didn't fully implement the ability to change the $depthmark |
Thanks for the tip. :) For it to display like I wanted I had to remove
Code:
. '--' from functions.php and Code:
-- from global.php. |
All times are GMT. The time now is 09:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|