Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Font Size in Category & Gift Card Side Menus

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-01-2016, 01:33 PM
 
EmDee EmDee is offline
    
Join Date: May 2004
Location: Snohomish, WA
Posts: 1
 

Default Font Size in Category & Gift Card Side Menus

I've recently purchased xcart5 after being a alongtime Litecommerce user. I'm struggling to find which file to edit in the xcart sofware to change the size of the font in my sidebar category menu and gift card menu. Does any know where that can be done for both of those menus?

Litecommerce seemed to have had such an easier interface to edit .css and .tpl files, thus making it so I could make little configuration changes. My host upgraded their php software, so since litecommerce isn't supported by Qualiteam anymore, I chose to upgradeto xcart5. I'm sure xcart has the same customization, but I haven't figured out how yet, and the admin control panel is limiting.
__________________
EmDee
-----------------
X-Cart Version: 5.2.13 Business
hosted by advancednetworkhosts.com
host linux
host PHP:5.5.31
host MySQL: 5.5.48-cll
cart: www.2-fast.org/istore/
Windows 7
Reply With Quote
  #2  
Old 03-02-2016, 11:30 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

Hello!

Although LiteCommerce had a similar source code, it is not exactly the same.

In X-Cart 5 you have several ways to apply your changes to the design:
1. Use the "Custom CSS" & "Webmaster more" tabs on the Look & Feel page in the back-end
2. Enable Custom Skin module and put your changes there
3. Create a custom module and isolate your changes there

The 2nd and 3rd points assume that you know how to create modules for X-Cart 5. You can read more on this topic here: http://kb.x-cart.com/
__________________
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
  #3  
Old 03-03-2016, 12:41 PM
 
EmDee EmDee is offline
    
Join Date: May 2004
Location: Snohomish, WA
Posts: 1
 

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

Ok, thans for the feedback. I had been reading those pages in the xcart5 knowledge base and felt a bit overwhelmed. But I guess thats what I'll have to do.

So I've created my own basic custom module and have it installed in the cart. Admin side sees my module and now I have to figure out which files to edit/modify to get the font sizes to change. Can anyone point me to the file(s) I need to make those changes?

I tried using the custom css editor and webmaster mode, but I haven't been able to locate a font call out for the side menus or fly out menu using that method.
__________________
EmDee
-----------------
X-Cart Version: 5.2.13 Business
hosted by advancednetworkhosts.com
host linux
host PHP:5.5.31
host MySQL: 5.5.48-cll
cart: www.2-fast.org/istore/
Windows 7
Reply With Quote
  #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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:30 AM.

   

 
X-Cart forums © 2001-2020