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

Easiest way to override or add CSS to admin area

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 03-09-2016, 09:07 AM
 
xgarb xgarb is offline
 

eXpert
  
Join Date: Jul 2004
Location: UK
Posts: 263
 

Default Easiest way to override or add CSS to admin area

If you have a long name for your product attribute option it runs into the overlay for the price variation as below.

http://i.imgur.com/10arVOF.jpg

which makes it difficult to see.

I want to move the div to below the form field. How do I override the CSS class in the admin CSS file?
__________________
Core version: 5.5.xx
Reply With Quote
  #2  
Old 03-09-2016, 09:43 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: Easiest way to override or add CSS to admin area

I've reported this problem to the XC5 dev team:
https://bt.x-cart.com/view.php?id=45802

The widget that renders the attributes is this one:
\XLite\View\Product\Details\Admin\Attributes

So, to change the CSS you can "decorate" the class from a custom module or the Custom Skin module and add a path to your CSS file in the getCSSFiles() method.
__________________
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 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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:10 AM.

   

 
X-Cart forums © 2001-2020