Thread: Help with CSS

Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2007
    Posts
    26
    Plugin Contributions
    0

    css problem Help with CSS

    Good Afternoon.
    I was playing around with my css and I am trying to figure out how to close the gap between my catagory text and have my right sidebox snap back out allowing the centerbox to be the normal size. Any help on this matter would be greatly appreciated.


    my site: www.firefighteroneonline.com
    Todd

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Help with CSS

    Hey firefighter,

    Try this:
    stylesheet.css

    Add this:
    #indexDefault {
    margin: 0.8em;
    }
    Mark
    Hare Do

  3. #3
    Join Date
    Apr 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Help with CSS

    Thanks for the post. I placed that into my Style sheet and it didn't help. the rightsidebox is sill not snapping all the way to the right and it is trunking my centerbox. Any other suggestions.

    Thanks,
    Todd

  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Help with CSS

    Ok, here we go.

    Add this to stylesheet.css

    #navColumnTwo {
    padding: 0em 0.8em 0em 0em;
    }
    Mark
    Hare Do

  5. #5
    Join Date
    Apr 2007
    Posts
    26
    Plugin Contributions
    0

    css problem Re: Help with CSS

    Mark,
    Thanks for the speedy response. I place your fix into my style sheet and no luck. Here is what I did.

    Before code was added:
    #navColumnOne, #navColumnTwo {
    background-color: transparent;
    }

    After I added your fix - Notice I split them out is this correct?
    #navColumnOne, {
    background-color: transparent;
    }
    #navColumnTwo {
    padding: 0em 0.8em 0em 0em;
    background-color: transparent;
    }

    Any continued help is AWESOME. Have to get the site back into shape have a trade show this weekend. My fault I accidently overwrote my back up copy of the Style sheet.

    Todd

  6. #6
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Help with CSS

    Todd,
    I guess I am stumped, wait for a zen master to respond with a fix.
    Mark
    Hare Do

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

    Default Re: Help with CSS

    Firstly, the category problem is in your current template's stylesheet.css:
    Code:
    A.category-top, A.category-links, A.category-products:visited, a.category-products {
    	color: #FFFFFF;
    	font-size: 10px;
    	text-decoration: none;
    	line-height: 100%;
    	padding: 1px 1px 1px 1px;
    	font-weight: bold;
    	background-color: #000000;
    	display: block;
    	border: solid;
    }
    You have to finish off the declaration(in red), so it would go like so:
    Code:
    A.category-top, A.category-links, A.category-products:visited, a.category-products {
    	color: #FFFFFF;
    	font-size: 10px;
    	text-decoration: none;
    	line-height: 100%;
    	padding: 1px 1px 1px 1px;
    	font-weight: bold;
    	background-color: #000000;
    	display: block;
    	border: solid 1px black;
    }
    Secondly, being that you're using thick borders around the side columns.. you have to adjust for that in your admin settings. Admin-Configuration-Layout Settings:

    ~There are two pairs of column widths and I can't remember which ones to adjust, but try adding 5px to each pair of width adjustments until your problem is rectified. I'm thinking it pertains to "Column Width - Right/Column Width - Left". That will kick away the center column from eating up the left outer border on the left column.

    Also, you have to resize your store logo to match the actual width of the store's layout as your logo supersedes the header boundary.

    Hopefully, all that works out in your favor.

    ~~Oh.. all the above pertains to Firefox which is a more compliant browser, but IE should reflect reasonably well after.

  8. #8
    Join Date
    Apr 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Help with CSS

    Sketchy,
    thanks for the help. I am not sure where I changed the width that caused my Log to strech past the 800px mymain page is. Any suggestions.

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

    Default Re: Help with CSS

    You're welcome.

    To reset your floating logo/banner dimensions, go to yourstore/includes/languages/english:

    Open the "header.php" files and you'll find:
    Code:
    // added defines for header alt and text
      define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
      define('HEADER_SALES_TEXT', 'TagLine Here');
      define('HEADER_LOGO_WIDTH', '192px');
      define('HEADER_LOGO_HEIGHT', '64px');
      define('HEADER_LOGO_IMAGE', 'logo.gif');
    Then, just set your corresponding measurements in the above stock values(in red).

 

 

Similar Threads

  1. Help with using css buttons, "update cart' does not use the css buttons?
    By trinitypres in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jan 2011, 04:34 PM
  2. Help with my css
    By bryan2007 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Jan 2010, 05:01 AM
  3. Help with css
    By kehrli in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Dec 2007, 06:40 PM
  4. Help with .css
    By CarolinaReefs in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Aug 2006, 02:07 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