| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Nifty Corners? | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
here is an extract of my menu.tpl
Code:
you do a very similar thing for the dialog.tpl: Code:
remember to include the class file somewhere where it will get called - i just called it from the end of func.php. cheers steve
__________________
-------------- RHEL3/Apache2/PHP4/MySQL4/Plesk7.5.3 X-Cart 4.0.16 - Live X-Affiliate X-AOM ez-checkout ez-upsell -------------- |
|||||||
#22
|
|||||||||
|
|||||||||
I know the following code works with the FF but not the IE, if you don't mind this, you could use it where ever you like with the skin1.css file:
-moz-border-radius: 25px;
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
#23
|
|||||||
|
|||||||
Hmm doesnt seem to want to work for me Steve
I end up with a blank central column I'll open a ticket with x-cart to see if they can do it, might as well use some of my support points up.
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#24
|
|||||||
|
|||||||
Have you included a call to the class file in your func.php? You also need to upload the class file to your server.
other than that it should all work cheers steve
__________________
-------------- RHEL3/Apache2/PHP4/MySQL4/Plesk7.5.3 X-Cart 4.0.16 - Live X-Affiliate X-AOM ez-checkout ez-upsell -------------- |
|||||||
#25
|
|||||||
|
|||||||
Yeah i got it working if i had the include within my menutable.tpl (which is the tpl that i use for the old style surrounds, as soon as i try and put it into func.php though the whole site breaks
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#26
|
|||||||||
|
|||||||||
tried this and my site changed to a three column from a two ?
__________________
X-Cart version 4.4.5 PHP 5.2.13 MySQL server 5.0.51a-community-log MySQL client 5.0.51a Web server Apache/2.2.8 (Unix) mod_ssl/2.2.8 Operation system Linux Perl 5.008008 http://temptinglysexy.co.uk |
|||||||||
#27
|
|||||||
|
|||||||
<note>
Sorry to revive a thread that was last used in MArch, however most forums like you to re-use threads whose titles apply provided they are not ancient. If that is not the case here and a new topic is preferred, please tell me. </end note> I have looked at several round corner borders how-to's and have tried a few. The one that has brought me closest to a real rounded border is one named "Snazzy Borders" by Stu Nicholls at: http://www.cssplay.co.uk/boxes/snazzy.html The css and code are in his source file. I will post them here for reference: styles to add (I put them in skin1.css) Code:
The code to add the borders: Code:
I am trying to add borders only around specific menus (which means I can't just use the menu.tpl file). So am trying to put them around individual menus, plus items like the search box, specials, etc. Regardless of what I've tried, the top looks fine, however the border on the bottom is awful. The left and right borders hang down longer than the corners. I have tried changing all the heights and margins in the css to no avail. The search box has the problems with the side borders being longer than where the bottom corners and border are. However the side menu boxes have that issue, plus the right margin being way out to the right. I have tried adding a specific size to every combination in the skin1.css, main.tpl, and search.tpl. Nothing will change it. I took a print screen to show what I am talking about: http://www.dmozeditors.com/corners.jpg the code I am using is: Code:
I'm sorry for the length of the message, however I thought the more facts I include, the better someone may be able to see what I am doing wrong. Any ideas? Thank You, Alex
__________________
X-Cart Pro v4.0.18 x-Fancy Categories x-AOM x-Affiliate X-Offers FTS Tab Menu BCSE Reward Points FTS X-Easy Checkout CRP Referal Add-On and a few freebies |
|||||||
#28
|
|||||||
|
|||||||
[spam] I've added a free rounded corners mod to my site, which you might like to try.
__________________
xcartmods.co.uk |
|||||||
#29
|
|||||||||
|
|||||||||
Personally I like this guys approach:
http://www.schillmania.com/projects/dialog/ And used a similar method on a recent client site: http://www.bahamablue.com/ (yes I know it doesn't look well in FF, yet!)
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#30
|
|||||||||
|
|||||||||
Re: Nifty Corners?
I tried to use this code on my web site, and basically does what I need. There are lot of implementation on the web but none get the solution I'm looking. My issue is with IE7 where I'm getting the box painted like the picture below. Any Ideas??
Quote:
__________________
QdoxGroup X-Cart version 4.1.8 Pro HandsOnWebHosting. Web server Apache/2.0.52 (Red Hat) http://www.justinthenet.com/ |
|||||||||
|
|||
X-Cart forums © 2001-2020
|