Thread: Borders

Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2009
    Location
    Liverpool
    Posts
    96
    Plugin Contributions
    0

    Default Borders

    On my site you'll see it has a 1px solid blue border around it. This border continues up and around my header logo. Is there a way I can stop it going above my logo but still surrounding my content, because I want to keep my rounded corners.

  2. #2
    Join Date
    Jun 2009
    Location
    Kent, UK
    Posts
    347
    Plugin Contributions
    5

    Default Re: Borders

    you should remove the border from the main wrapper and instead add a new css rule for

    #contentMainWrapper {border:1px solid #2B90D7;}

    you may need to remove the <br class="clearBoth" /> that appears in your header between your logo wrapper and your navigation to close the gap that is there to complete the border, depending on your template i think this should be in includes/templates/YOUR TEMPLATE/common/tpl_header.php

  3. #3
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Borders

    you can add borders around your main content area .. located following in your stylesheet
    Remove the property/value in red from this rule
    #mainWrapper {
    background-color:#FFFFFF;
    border:1px solid #2B90D7;
    text-align:left;
    vertical-align:top;
    width:750px;
    }


    Next , add this to end of your stylesheet.css

    #contentMainWrapper {
    border:1px solid #2B90D7;
    }

    this will apply border to each side . if you don't want border on top you can assign border to each side individually.

    you may elect to do the same for footer if you wish to have borders .

  4. #4
    Join Date
    Sep 2009
    Location
    Liverpool
    Posts
    96
    Plugin Contributions
    0

    Default Re: Borders

    Thanks Guys, worked a treat.

  5. #5
    Join Date
    Sep 2009
    Location
    Liverpool
    Posts
    96
    Plugin Contributions
    0

    Default Re: Borders

    I have noticed that the space has reappeared above my content wrapper and my header. How do I get rid of this? I have been into TPL_HEADER and there is no
    Code:
    <br class="clearBoth" />
    in there.

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Borders

    try this ( multiple CSS changes )

    #logoWrapper {
    background-color:#FFFFFF;
    background-image:url(../images/title_banner.gif);
    background-position:center center;
    background-repeat:no-repeat;
    font-weight:bold;
    height:142px;
    }

    Change height from 142px to 132px .

    #navMain ul, #navSupp ul, #navCatTabs ul {
    line-height:1.5em;
    list-style-type:none;
    margin:0;
    padding:3.5em 0;
    text-align:center;
    }

    change padding from 3.5em to 2.8em

    #navMainSearch {
    float:right;
    padding:2.5em 1em;

    padding here change from 2.5em to 2em .

    you can play with those values to suite your needs.
    }

  7. #7
    Join Date
    Sep 2009
    Location
    Liverpool
    Posts
    96
    Plugin Contributions
    0

    Default Re: Borders

    Excellent, you've done it again. Thanks.

  8. #8
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Borders

    You welcome

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

    Default Re: Borders

    Can any one tell me how to create border around the products on all pages???? Which file to edit?

  10. #10
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Borders

    Quote Originally Posted by black123 View Post
    Can any one tell me how to create border around the products on all pages???? Which file to edit?
    only file you need to work on is your stylesheet.css depending on your template either you need to modify existing rule(s) or add some to your stylesheet to add borders around product images .

 

 

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

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