What folder do you add coding to enable divider lines, i used the code from an older version of this mod and placed it in the stylesheet but it didnt work.
Printable View
What folder do you add coding to enable divider lines, i used the code from an older version of this mod and placed it in the stylesheet but it didnt work.
The readme describes the process for adding dividers. For example:
define ('CAT_BOX_HEADING_52','0|1||');//divider only - style 1
define ('CAT_BOX_HEADING_53','0|2||');//divider only - style 2
I can see that but, but i dont know what file that is in to edit,
it was in languages/english/extra_definitions/custom/categories_dressing_defines.php
I thought you knew that defines were here.
Ive been looking at this now since you replied, and i really cant work it out, in my other copy the is a line where you put the page id seperated by a comma e.g 1,2,3,4,5 etc etc but i cant see that line in this version. im sure its a very easy fix, but i cant work it out.
That method is completely replaced by the "define" file method. Forget about the comma-separated numbers, and make new copies of the define for each category where you want a divider.
I tried adding
define ('CAT_BOX_HEADING_2','1|1||');//divider only - style 1
define ('CAT_BOX_HEADING_3','1|1||');//divider only - style 1
define ('CAT_BOX_HEADING_4','0|1||');//divider only - style 1
define ('CAT_BOX_HEADING_5','0|1||');//divider only - style 1
define ('CAT_BOX_HEADING_6','0|1||');//divider only - style 1
define ('CAT_BOX_HEADING_7','0|1||');//divider only - style 1
define ('CAT_BOX_HEADING_8','0|1||');//divider only - style 1
But that was obviously wrong as it didnt work, what should i be writing to get divider lines between category ID 2 - 9
And you added that to /includes/languages/english/extra_definitions/custom/categories_dressing_defines.php?
If so, it should work. Did you make any changes in tpl_categories.php, or any other mod files beside the stylesheet?
Note that the dividers go above the selected category, so you would get dividers between categories 1 - 8 with the defines you show.
I refreshed a few times and it has worked :smile:
Do you know what code i should add to make the hover color fill the complete space between the dividers.
Thanks
You would want to edit the hr.catBoxDivider1 {} rule in the stylesheet to make its height or line-height only 1 pixel... experiment.