Thread: Borders

Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2006
    Posts
    125
    Plugin Contributions
    0

    Default Borders

    Okay, so three general questions about adding borders.
    When I mean borders, I do not mean the simple
    Code:
    	border: 1px solid #63859D;
    I mean graphical borders, that are made up of a repeating image, in the sense that the sideboxes have borders by having a top image, repeating middle image and a bottom image.

    Well, first question is, can I give the main content box a border like the sideboxes? eg, can I use something along the lines of
    Code:
    .CentreBoxHeading {
    	background-image:url(../images/row_top.gif);
    	background-repeat:no-repeat;
    }
    And so on to surround the centre box in a frame..?

    Second question, can I do the same to products (image plus desciption within the border)

    Lastly, can I add two vertical borders either side of the mainwrapper, that run from the top of the header to the bottom of the page, without having to edit tpl files?

    Many thanks =)

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Borders

    .CentreBoxHeading if you only want the heading with the border.

    If yo want the border around the center section you will have to create a css entry for .centerColumn and I would also use the admin dev tools and search the catalog files for this in case there is a file that references this.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Oct 2005
    Posts
    97
    Plugin Contributions
    0

    Default Re: Borders

    Hey there! I'm basically wanting to do the same thing, except I'd like to make my graphic border around a 1px border on the mainwrapper. I'm recreating my 1.2.7 template in 1.3.5:

    www.cherrymomma.com

    I'm definitely not a CSS genius and can't figure it out. I've tried several things to no avail. Any tips are gladly welcome and appreciated!!


    Leila

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Borders

    Assuming that you are using 1.3.x and a template based on the template default files. Find .centerColumn and I think that one has to separate it from the group that it is in and start by trying somethning like this, changing colors to suit and omitting what you do not want:
    Code:
    .centerColumn {
    	background-color: #FFF0F5;
    	border: 1px dotted;
    	border-color: #9B11A1;
    	}
    Then if you have suitable images that can repeat to maintain a fluid nature. you can try something like this for each side that you want a image for the border; this example places an image to the left border only:
    Code:
    .centerColumn {
    	border-left: url(../images/sidebox_left.gif) repeat-y;
    	}
    The above may not work as it is coming in CSS3 and I have truncated it a bit but have not tried it. If it does you can also add margins, padding & other styling.
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Oct 2005
    Posts
    97
    Plugin Contributions
    0

    Default Re: Borders

    Awesome; thanks! I'll try it out and report back. =)


    Leila

 

 

Similar Threads

  1. Rounded Borders Using Snazzy Borders
    By Lawbird123 in forum Templates, Stylesheets, Page Layout
    Replies: 71
    Last Post: 30 Jul 2010, 01:37 PM
  2. Borders
    By blackwolf in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 7 Nov 2009, 12:36 AM
  3. Borders
    By wiccan0974 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Nov 2008, 01:20 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR