Thread: Site Borders

Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2006
    Posts
    103
    Plugin Contributions
    0

    Site Borders

    How do i change the height of the lower main bar, as you can see, the lower one has half a bamboo border and so does the footer bar, and would like to remove it. Another question is how to i make the "New products for october" bar a different border than the rest. Thank you here is my site
    http://www.thebonsaimarket.com/store

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Site Borders

    Try changing the highlighted portion of this declaration in your stylesheet:

    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #abbbd3;
        background-image: url(../images/tile_main.jpg) repeat-x;
        padding: 0.5em 0.2em;
    	font-weight: bold;
    	color: #ffffff;
    	height: 1%;
    	width: 750px;
    	}

  3. #3
    Join Date
    Oct 2006
    Posts
    103
    Plugin Contributions
    0

    Default Re: Site Borders

    and do what to it?, I just want to make the height less so the half bamboo won't show.
    Last edited by pettiger15; 10 Oct 2006 at 01:59 PM. Reason: mor info

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Site Borders

    For the second part of your question...

    You have two choices depending on whether you want an image or just a background color.

    (one)
    Using your image editing software create your new image and save it to:
    includes -> templates -> YOUR_TEMPLATE -> images -> your_image.???
    upload the image to your server.
    Now in your stylesheet.css make the following changes.
    Find the following code:
    Code:
    .leftBoxHeading, .centerBoxHeading {
    	margin: 0em;
    	background-color: #abbbd3;
        background-image: url(../images/tile_back.jpg);
        padding: 0.5em 0.2em;
    	}
    create two declarations as follows:

    Code:
    .leftBoxHeading {
    	margin: 0em;
    	background-color: #abbbd3;
        background-image: url(../images/tile_back.jpg);
        padding: 0.5em 0.2em;
    	}
    Code:
    .centerBoxHeading {
    	margin: 0em;
    	background-color: #abbbd3;
        background-image: url(../images/your_image.???) repeat-x;
        padding: 0.5em 0.2em;
    	}
    Save the changes and upload to your server.

    (two)
    in your stylesheet.css make the following changes.
    Find the following code:
    Code:
    .leftBoxHeading, .centerBoxHeading {
    	margin: 0em;
    	background-color: #abbbd3;
        background-image: url(../images/tile_back.jpg);
        padding: 0.5em 0.2em;
    	}
    create two declarations as follows:

    Code:
    .leftBoxHeading {
    	margin: 0em;
    	background-color: #abbbd3;
        background-image: url(../images/tile_back.jpg);
        padding: 0.5em 0.2em;
    	}
    Code:
    .centerBoxHeading {
    	margin: 0em;
    	background-color: #abbbd3; /*Change this to whatever color you want */
        padding: 0.5em 0.2em;
    	}
    Save the changes and upload to your server.

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Site Borders

    Quote Originally Posted by pettiger15 View Post
    and do what to it?, I just want to make the height less so the half bamboo won't show.
    save the changes and upload to your server.

    What you've done is tell the background image to repeat itself horizontialy across the area.

    The way you have it now it is repeating itself across and down the area.

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,144
    Plugin Contributions
    11

    Default Re: Site Borders

    Pettiger,
    On line 239 of your stylesheet, you need to tell it either 3em or 3px whichever it should be.
    On line 287, you need a ; at the end.

    That AND clydejones earlier repeat-x suggestion
    Try changing the highlighted portion of this declaration in your stylesheet:

    Code:

    PHP Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper { 
    margin0em
    background-color#abbbd3; 
    background-imageurl(../images/tile_main.jpgrepeat-x
    padding0.5em 0.2em
    font-weightbold
    color#ffffff; 
    height1%; 
    width750px

    should make things look a lot better
    Last edited by dbltoe; 10 Oct 2006 at 08:36 PM.

  7. #7
    Join Date
    Oct 2006
    Posts
    103
    Plugin Contributions
    0

    Default Re: Site Borders

    I added the "repeat-x;" after
    Code:
    background-image: url(../images/tile_main.jpg)
    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #abbbd3;
        background-image: url(../images/tile_main.jpg) repeat-x; 
        padding: 0.5em 0.2em;
    	font-weight: bold;
    	color: #ffffff;
    	height: 1%;
    	width: 750px;
    	}
    but then the border just dissapears.

  8. #8
    Join Date
    Oct 2006
    Posts
    103
    Plugin Contributions
    0

    Default Re: Site Borders

    Never mind the last post i got it. Instead of
    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #abbbd3;
        background-image: url(../images/tile_main.jpg) repeat-x;
        padding: 0.5em 0.2em;
    	font-weight: bold;
    	color: #ffffff;
    	height: 1%;
    	width: 750px;
    	}
    and have the "repeat-x; after the image directory, you had to make a new line stating
    Code:
    background-repeat: repeat-x;
    Thanks it working great now.

 

 

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 wiccan0974 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Nov 2008, 01:20 AM
  3. Borders
    By Blue! in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Sep 2006, 07:12 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