Since we have a decent size category description for content reasons is there a way to not show the category description for user using mobile/phones.? And only show it for desktop and tablet. I know for blocks you can but not sure for embedded description.
Since we have a decent size category description for content reasons is there a way to not show the category description for user using mobile/phones.? And only show it for desktop and tablet. I know for blocks you can but not sure for embedded description.
design/themes/YOUR_THEME/templates/views/categories/view.tpl
replace:
{$category_data.description nofilter}
with
{$category_data.description nofilter}
Note: it is better to use the categories:view hook to apply these changes
design/themes/[your theme]/templates/views/categories/view.tpl would be better
design/themes/[your theme]/templates/views/categories/view.tpl would be better
Corrected
design/themes/YOUR_THEME/templates/views/categories/view.tpl
replace:
{$category_data.description nofilter}with
{$category_data.description nofilter}Note: it is better to use the categories:view hook to apply these changes
Thank You... That worked perfect..
You are welcome!