View Single Post
  #4  
Old 03-15-2016, 10:24 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Font Size in Category & Gift Card Side Menus

There are two widgets that render the categories menu:
- \XLite\View\TopCategories
- \XLite\View\TopCategoriesSlidebar

I believe the one that you need is the first.

So, in your custom module, you should create a CSS file that adds your custom styles, then "decorate" the \XLite\View\TopCategories widget from your module and link it to the new CSS file via the getCSSFiles() method.

You can see an example in this article (but you should "decorate" \XLite\View\TopCategories class, not \XLite\View\AView as in the article):
http://kb.x-cart.com/display/XDD/Working+with+footer
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote