Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221
    Plugin Contributions
    0

    red flag stylesheet tweeks not having desired effects.

    There is the matter of the category box header image, the lower part of it is being cut off from the sidebox content area. The bottom is supposed to resemble the top, with a highlighted border area around it. How would I adjust this, if I so choose?

    Also, when I switched my resolution down to the lowest setting, it clips off part of my header image, and i have to scroll over to the right to see all info. I tried changing the lines in the stylesheet from this:

    #mainWrapper {
    background-color: #ffffff;
    text-align: left;
    width: 960px;
    vertical-align: top;
    }

    to this:

    #mainWrapper {
    background-color: #ffffff;
    text-align: left;
    width: 100%;
    vertical-align: top;
    }

    But what ends up happening is that the header image gets clipped somhow, and the shop then looses its neat appearance. Is there a way to make it look good in all resolutions? Thanks for the help!
    Grasshopper, GOT BOOK? - I don't, and I am constantly in here begging for help and Donating to Zen Cart in feeble attempts to bribe the developers for help. Get your copy today and avoid my fate!

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: stylesheet tweeks not having desired effects.

    You have a single image for the logo... how did you expect it to not get clipped when the window is sized down?
    Your logo is actually quite practical to make fluid width. It has left and right detail sections and a center text section. What you need to do is split it into three pieces, and attach one to the left edge of #headerWrapper, one to the right edge of #logoWrapper, and one centered in #logo.

    Give each of the edge images extra "middle" - stretch the plain area out, especially the left (first) one.
    Adjust so that when they are overlapped at say 800px width, the right doesn't cover detail of the left, and when stretched to as wide as you ever want to allow, there is no gap.
    Make the text a gif with transparent background and the words a bit off center in it, so the gif can be centered and let the text be where it should be.

  3. #3
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221
    Plugin Contributions
    0

    Default Re: stylesheet tweeks not having desired effects.

    Thanks for the advice, i will make the adjustments you recommend. I just thought that perhaps there would be a way to programatically tell the browser: "if the resolution is only 800 px then shrink the image to 800px also" instead of only displaying the 1st 800px of the image.

    Thank you for taking the time to explain it to me...
    Grasshopper, GOT BOOK? - I don't, and I am constantly in here begging for help and Donating to Zen Cart in feeble attempts to bribe the developers for help. Get your copy today and avoid my fate!

 

 

Similar Threads

  1. v137 Stylesheet changes not having any effect
    By lewisasding in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Mar 2013, 04:39 AM
  2. Order Status Problem: 100% coupon is not setting desired status
    By LissaE in forum Managing Customers and Orders
    Replies: 4
    Last Post: 4 Apr 2011, 08:12 AM
  3. Index Page Slideshow Not Showing Transition Effects
    By joomoo79 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Dec 2009, 05:21 AM
  4. Where to go for these tweeks? please!
    By Zook25 in forum Basic Configuration
    Replies: 9
    Last Post: 24 Aug 2009, 03:46 PM
  5. zen cat site up i need a few tweeks
    By jagerstore in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 May 2009, 09:54 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