Thread: Logo.gif

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Logo.gif

    The first thing i would like to do is put a boarder around the logo.gif, i have done it before but i cant remember where i added the code.

    The second thing is center the logo.gif, i changed the following to the following and while it did center the logo, it also restricted the products to one per line.

    Quote Originally Posted by Original
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    float: left;
    border: 2px solid #00000;
    Quote Originally Posted by Changed to
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    text-align : center;
    border: 2px solid #00000;

  2. #2
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Logo.gif

    1. If you want to put a simple border, put this into the stylesheet;

    Code:
    #logo {
           border: 1px solid #ff0000;
           }
    2. You can isolate just that one selector and give it it's own declarations.

    Code:
    #logo {
           text-align: center;
           }
    Remember to remove the original from the combo selector declarations. However, I don't think you could align it center and add a border just around the actual gif. I believe the border with do an outline perimeter instead of an actual border. But, it's hard to say what your set up is without a URL. Maybe you're not referring to the actual logo gif that I'm thinking about.

    BTW, It seems that you'll already assigned a border for your logo via the combo selector declaration...

  3. #3
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Logo.gif

    Here is my coding from the style sheet. however like i said when i change "float: left;" to "" it also makes the images in the subcategories change from 3 wide to 1 image per line.

    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    float: left;
    border: 1px solid #00000;
    }
    For example of what i mean when it comes to Subcategories, see the screen shot here...

    http://www.delightsoftheflesh.com/pr...screenshot.jpg

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

    Default Re: Logo.gif

    Quote Originally Posted by Darkwander
    Here is my coding from the style sheet. however like i said when i change "float: left;" to "" it also makes the images in the subcategories change from 3 wide to 1 image per line.



    For example of what i mean when it comes to Subcategories, see the screen shot here...

    http://www.delightsoftheflesh.com/pr...screenshot.jpg
    What you need to do is seperate #logo from the rest of that line, like this:

    Code:
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    float: left;
    border: 1px solid #00000;
    }
    #logo { }
    Now you can position the logo without interferring with other things.

    Remember: to align the logo to the left use float: left. To align it to the right use float: right. To align it in the center use text-align: center.

    Hope this helps

  5. #5
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Logo.gif

    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    float: left;
    border: 1px solid #00000;
    }

    #logo {
    text-align : center;
    border: 1px solid #000000;
    }
    For anyone that wants the coding..

    Is there some way of removing that tiny little space between the logo.gif and the border ?

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

    Default Re: Logo.gif

    Is there some way of removing that tiny little space between the logo.gif and the border ?
    Not sure what you mean.
    Last edited by Kim; 9 Sep 2006 at 07:15 PM.

  7. #7
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Logo.gif

    `Check the logo itself, if you're talking about the stock Zen logo... it has an extra outlying area past it's own imaged border. You may have to trim the outer perimeter in a image program. Or just trim it around the border and then you don't have to declare a border for the logo in the first place.

  8. #8
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Logo.gif

    For a look at what i mean: www.delightsoftheflesh.com/shop/

    Under the logo.gif there is a tiny space, it is only small but that is because of the border is 2 instead of 1.

  9. #9
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Logo.gif

    There is one immediate problem to rectify.

    Firstly, what you must do is correct a stylesheet declaration. Your current logo is 760 x 110px. Whereas, you have set the logo wrapper at 75px.

    Find in your stylesheet;

    Code:
    #logoWrapper{
    	background-image: url(../images/header_bg.jpg);
    	background-repeat: repeat-x;
    	background-color: #ffffff;
    	height:75px;
    	border: 2px solid #00000;
    	}
    Adjust the value in red to 110px . While you're in the stylesheet, you forgot an extra 0/zero in your black color declarations. There are three to find.

  10. #10
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Logo.gif

    Thanks for all your help.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. HELP!!!!!....Need to center My logo hench logo.gif on my main page
    By Robert Cooper in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Jul 2013, 01:33 PM
  2. logo.gif
    By pageblair in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 22 Mar 2011, 12:01 AM
  3. Icon.gif and Logo.gif
    By patwithds in forum General Questions
    Replies: 5
    Last Post: 27 Aug 2009, 05:48 PM
  4. Logo.gif to logo.png
    By beatnik in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Aug 2006, 02:05 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