Thread: Border image

Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Posts
    44
    Plugin Contributions
    0

    Default Border image

    Hi everyone,

    I've been trying to add image to main border, but so far dont know how it realy works.
    I found a website where is explaned how to do it.

    http://www.css3.info/preview/border-image/

    but here they talk about css3, can we use it whith zen cart?

    What i did is:

    #mainWrapper {
    background-color: #ffffff;
    text-align: left;
    width: 950px;
    vertical-align: top;
    border-image: url(..includes/templates/wxt/images/border.png);
    }

    but it does not work.

    Does anyone know how to add image to border?
    With google and on forum i get "image border" results when i use search.

    Tnx in advance
    Rapro

  2. #2
    Join Date
    Apr 2010
    Location
    Seattle, WA
    Posts
    45
    Plugin Contributions
    0

    Default Re: Border image

    css3 will be supported by IE9 when it comes out but yes you can use css3 in zen cart. Its a browser thing.

    http://www.zencartcodeanddesign.com
    Last edited by Branden; 11 Jun 2010 at 02:28 AM.

  3. #3
    Join Date
    Apr 2010
    Location
    Seattle, WA
    Posts
    45
    Plugin Contributions
    0

    Default Re: Border image

    When trying to get your CSS3 to work I use Chrom or firefox.

  4. #4
    Join Date
    Nov 2009
    Posts
    44
    Plugin Contributions
    0

    Default Re: Border image

    Tnx for response Branden

    I only use FF and chrome. Can u plz tell if i did wrong or right on this one,
    border-image: url(..includes/templates/wxt/images/border.png);

    webshop link

    Rapro

  5. #5
    Join Date
    Apr 2010
    Location
    Seattle, WA
    Posts
    45
    Plugin Contributions
    0

    Default Re: Border image

    Without trying it my self it looks like you may have missed the /

    border-image: url(../includes/templates/wxt/images/border.png);

    make sure it gracefully degrades in bowser's that don't support CSS3

    http://www.zencartcodeanddesign.com/

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Border image

    border-image: url(../images/border.png);

    This is all you need for images properly stored in your template images folder.

 

 

Similar Threads

  1. remove border around around images (not image border)
    By Otha in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Aug 2010, 06:03 AM
  2. Image Border
    By byrd813 in forum General Questions
    Replies: 13
    Last Post: 27 Dec 2009, 11:33 PM
  3. How do you increase the large image pop-up window when you have an image border?
    By Sawhorse in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 15 Apr 2009, 06:03 PM
  4. Help with Main Image Border Wrapping around ImgLink Image
    By limelites in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Mar 2009, 10:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg