| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Pure CSS Rounded Boxes! (no images, no tables) | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Pure CSS Rounded Boxes! (no images, no tables)
Rounded boxes are a very cool feature in any design. Most of them use images or tables to achieve this effect, but this solution is only CSS based, and all browsers compatible. I Adapted from Nicholls boxes code. Enjoy:
To replace only your sideboxes: 1. In skin1.css and in skin1_admin.css add this: Code:
2. In menu.tpl, replace all the code with this: Code:
To replace your dialog boxes (center boxes): 1. Do step one above, if not done. 2. In dialog.tpl, replace all the code with this: Code:
To replace your product list boxes (boxes around each product thumb): 1. Do step one at the beggining of this post, if not done. 2. In customer/main/products_t.tpl, replace this: Code:
with this: Code:
3. In skin1.css add this (below the code in step1): Code:
I replaced all the tables with divs, to improve speed and control. Remember that you can further edit the css to use another font color, size, box width, etc. Hope it helps!!
__________________
4.1.8 Gold (Unix) |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Pure CSS Rounded Boxes! (no images, no tables)
Could you post a link showing an example of this?
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
#3
|
|||||||
|
|||||||
Re: Pure CSS Rounded Boxes! (no images, no tables)
__________________
4.1.8 Gold (Unix) |
|||||||
#4
|
|||||||
|
|||||||
Re: Pure CSS Rounded Boxes! (no images, no tables)
Thanks for posting.
__________________
Tyson McPherson X-Cart version 4.1.8 PHP 4.3.9 MySQL server 4.1.12-log MySQL client 4.1.12 Web server Apache/2.0.52 (Red Hat) Operation system Red Hat 3.4.6-2 |
|||||||
#5
|
|||||||
|
|||||||
Re: Pure CSS Rounded Boxes! (no images, no tables)
THANK YOU for posting this!!!
You saved me from a lot of .
__________________
X-Cart Pro v4.1.8 [Linux] |
|||||||
#6
|
|||||||
|
|||||||
Re: Pure CSS Rounded Boxes! (no images, no tables)
Thanks for sharing. Have you tried this with FireFox?
|
|||||||
#7
|
|||||||
|
|||||||
Re: Pure CSS Rounded Boxes! (no images, no tables)
Is class xroundedcenter (used by dialog) not defined? I change it to xrounded and it is working fine in Firefox now. Thanks
|
|||||||
#8
|
|||||||
|
|||||||
Re: Pure CSS Rounded Boxes! (no images, no tables)
Thank you for this mod!!
__________________
xcart4.3.2 CDSEO |
|||||||
#9
|
|||||||
|
|||||||
Re: Pure CSS Rounded Boxes! (no images, no tables)
Brilliant, thanks very much. This has been on my list of jobs for a while and you have just saved me loads of time.
__________________
Andrew Gadsden xcart 4.1.8 [unix] http://www.allabouttea.co.uk The home of Tea on the Web - forum members please use code XCART-77 for a 10% discount! |
|||||||
#10
|
|||||||
|
|||||||
Re: Pure CSS Rounded Boxes! (no images, no tables)
I put this in my new site. But the featured products top is bad any idea?
http://onlinemacs.com/home.php
__________________
X-Cart 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|