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

How do I change the category color

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-01-2014, 03:51 PM
  limey66's Avatar 
limey66 limey66 is offline
 

Senior Member
  
Join Date: Feb 2006
Location: N.Ontario, Canada
Posts: 190
 

Question How do I change the category color

Can someone please tell me how to change the front end category colors...cannot find anything corresponding to it in the common/css/main template...I have changed the background of the box but the area around the category dialog is a different color and changes again when I hover over a category link...how do I change this...
Thanks
__________________
Thanks Michelle.
www.herb-care.com

Version # 4.6.3
Reply With Quote
  #2  
Old 06-01-2014, 09:25 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: How do I change the category color

How did you change the color?
__________________
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 06-02-2014, 03:27 AM
  limey66's Avatar 
limey66 limey66 is offline
 

Senior Member
  
Join Date: Feb 2006
Location: N.Ontario, Canada
Posts: 190
 

Default Re: How do I change the category color

Hi,
I changed the color in the skin/common_files/css/main.css on line 961:
.menu-dialog .content {
border: 0;
background-color: #eff6ab;
padding: 8px 10px;
overflow: hidden;
The color I want is #eff6ab which is what I changed the background color to but the inner category box is still a different color. You can see it here:
http://www.herb-care.com/store463/home.php?shopkey=qwe123RTY

Thx Michelle
__________________
Thanks Michelle.
www.herb-care.com

Version # 4.6.3
Reply With Quote
  #4  
Old 06-02-2014, 11:53 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: How do I change the category color

Search for ".fancycat-icons-e ul li" and ".fancycat-icons-e li:hover" in your CSS files and change the background colors there.
__________________
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

Last edited by qualiteam : 06-02-2014 at 11:56 PM.
Reply With Quote

The following user thanks qualiteam for this useful post:
limey66 (06-03-2014)
  #5  
Old 06-03-2014, 03:36 AM
  limey66's Avatar 
limey66 limey66 is offline
 

Senior Member
  
Join Date: Feb 2006
Location: N.Ontario, Canada
Posts: 190
 

Default Re: How do I change the category color

Hello Alex,
Thank You for replying, I searched for the files in my skin/common_files/css/css.main and they do not exist....which template are they in ?

I tried looking in the skin 3 columns but there is nothing much there just a modules file...

Do I just add the code you sent to the other menu_dialog code ?
__________________
Thanks Michelle.
www.herb-care.com

Version # 4.6.3
Reply With Quote
  #6  
Old 06-03-2014, 05:29 AM
  limey66's Avatar 
limey66 limey66 is offline
 

Senior Member
  
Join Date: Feb 2006
Location: N.Ontario, Canada
Posts: 190
 

Default Re: How do I change the category color

Hi...
I went ahead and added the code you sent and it worked great...Thanks so much for your help
__________________
Thanks Michelle.
www.herb-care.com

Version # 4.6.3
Reply With Quote
  #7  
Old 06-03-2014, 07:55 AM
  limey66's Avatar 
limey66 limey66 is offline
 

Senior Member
  
Join Date: Feb 2006
Location: N.Ontario, Canada
Posts: 190
 

Default Re: How do I change the category color

Ok new dilemma,
For some reason my page body color has changed and the code (shown below) will not make it change at all...the #ffffcc is the color I want but it is showing much lighter and it will not change to any other color... how can I make this work again .. Is there some other css code that is overwriting this ?

html,
body
{
height: 100%;
background-color: #ffffcc;
margin: 0;
padding: 0;
min-width: 780px;
border: 0 none;
}
__________________
Thanks Michelle.
www.herb-care.com

Version # 4.6.3
Reply With Quote
  #8  
Old 06-05-2014, 01:00 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: How do I change the category color

I don't see any styles which could override the background color that you specified for the "html, body" selector. It may be that either X-Cart, or your browser cached the color. Try to clean both the caches.

Also, try to use the "Inspect this element" feature of your browser to understand what CSS rules style elements on your website.

One more useful tool is "Web Developer Tools" extension for Firefox and Google Chrome browsers: http://chrispederick.com/work/web-developer/
__________________
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

The following user thanks qualiteam for this useful post:
limey66 (06-05-2014)
  #9  
Old 06-05-2014, 03:31 AM
  limey66's Avatar 
limey66 limey66 is offline
 

Senior Member
  
Join Date: Feb 2006
Location: N.Ontario, Canada
Posts: 190
 

Default Re: How do I change the category color

Thank You Alex, I did try cleaning both caches but it still was not working so I decided to go back to scratch and reload the original file and start over...it is working fine and I am moving quicker after learning so much the first time round... Thank You again for all your help...
__________________
Thanks Michelle.
www.herb-care.com

Version # 4.6.3
Reply With Quote

The following user thanks limey66 for this useful post:
qualiteam (06-05-2014)
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 07:46 AM.

   

 
X-Cart forums © 2001-2020