Hello everyone!
I have a little question.
Is there any automatic way to align my categories' description in the middle? When I upgraded from 2.2.5 to 4.2.3 the alignment was gone!
I have more than 350 categories so I cannot do it manually!
Thanks for your time!
[quote name='tasos1988' timestamp='1415615881' post='196520']
Hello everyone!
I have a little question.
Is there any automatic way to align my categories' description in the middle? When I upgraded from 2.2.5 to 4.2.3 the alignment was gone!
I have more than 350 categories so I cannot do it manually!
Thanks for your time!
[/quote]
You can use categories:view hook to override category template.
Hope that helps.
I believe you are talking about the file that is located at the path below:
[color=#0000ff]addons/views/categories/view.tpl[/color]
I am not sure what to do with it… I am pretty sure that I have to add some code at the code below but I am not sure what to do. I tried some changes but none worked
[color=#0000ff]{if $category_data.description || $runtime.customization_mode.live_editor}
{/if}[/color]
do you have any ideas?
thanks anyway!