| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Global change to background and font colours | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi there,
We are in the process of upgrading from v4.1 to X-Cart 5.2.13. We now have a new X-Cart 5 site and are in the process of trying to change some simple design. I'm hoping to do the following: 1. Change the whole website from white background to light green background (#DFF5F2). I did it in the "Custom CSS" section and managed to change the background colour to green, except for the footer section which remains white. I added the following basic CSS to get most of the background to the light green background: /** * background colour */ html, body { background: #dff5f2; } */ layout.main background-color: #dff5f2; } 2. Change all the font colour which is currently Blue to Dark green (#005D57). 3. Change all the price colour from the current orangy red to brown (#764000). With my very limited IT knowledge, I remember only needing to make those changes in three places in the skin.css in v4.1. Are these changes to X-Cart 5 too ambitious for my limited computer skills? Please help. Thank you much. John
__________________
John XCart Business v.5.4.1.48 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Quote:
Code:
Quote:
Code:
Quote:
Code:
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() Hi Igor,
Thank you very, very much. You're a god-send. Two more questions if you would be kind enough to help: 1. The box around each product (in the category page, featured products, etc) varies in size depending on how long the product name is. Is it possible to standardise the box size in Custom CSS to the longest name (which is about 3-4 lines in a box)? 2. How to set the background colour in the little thin space between the product boxes to #dff5f2 also? here's the link: http://www.sportingoutbacksupplies.com.au/xcart5/ Thanks once again for your help. Cheers, John
__________________
John XCart Business v.5.4.1.48 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Quote:
You can't make it match the longest name, but you can make it to always be 3 lines in height: you should either set the "min-height" for ".products-grid div.product-name", or adjust the "min-height" for the whole product cell (".products-grid li.product-cell .product"). Quote:
At the moment the white background is set for ".products-grid li, .products-sidebar .product-cell .ui-draggable-dragging, .products-grid .product-cell .ui-draggable-dragging, .products-list .ui-draggable-dragging". I'm not sure if this is your custom code. If so, you should remove this. If this comes from the theme, you should override it and make the background to be transparent. Then set the white background for ".products-grid li.product-cell .product" instead.
__________________
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 |
|||||||||
|
#5
|
|||||||
|
|||||||
![]() Thank you Alex and Igor. Solved my problems!
__________________
John XCart Business v.5.4.1.48 |
|||||||
|
|||
X-Cart forums © 2001-2020
|