Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2006
    Posts
    6
    Plugin Contributions
    0

    Sideboxes and title text too big

    Hi All

    I am a newbie to Zen, have designed in HTML and CSS b4 tho. Have just gotten to grips with overrides and am tryin 2 design my 1st template based on template_default (not classic). You can see my design here:

    http://bestpixelpageever.com/sgp/

    I have 2 questions...

    1) As you can see my sidebox widths are too big (the left and right column backgrounds are red so you can see how they overlap too much). I have tried to change Column Widths in Layout Settings using Admin, but this does not align the boxes correctly. I cannot find any CSS settings that help either.

    2) Some text headings in my sideboxes seem to be bigger than others e.g. Search (left sidebox) and Who's Online (right sidebox), how can i make sure they are all the same size plz?

    Any help would be much appreciated.. thank u.

  2. #2
    Join Date
    Sep 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Sideboxes and title text too big

    To illustrate my point 1 further.. if u look at http://bestpixelpageever.com/sgp/ ,you can see then i have changed the left pixel width using Admin, however now the sideboxes on the left do not align correctly... plz HELP!!

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

    Default Re: Sideboxes and title text too big

    I can't help with question #2. The "Search" heading seems to be labeled differently and I can't force a change in the stylesheet.

    I've been working on a new template. I have entered 160px in both pairs in all Right/Left Column Widths(the two pairs). I was frustrated as well, where FF would push the right column past the main wrapper. For a quick fix... in the stylesheet, I put a declaration of float: right into the .leftBoxContainer selector code block. Seems to work okay in both browsers with the marginal increase in side padding between Explorer and Firefox, but at least it's equal.

  4. #4
    Join Date
    Sep 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Sideboxes and title text too big

    Thanks Sketchy... i did not realise my template rendered fine in InternetExploer, but not in Firefox.. this is where the problem is... surely every new designer of template_default must have encountered this, because its exactly the same problem with a fresh template with no changes. I will try your fix soon and let users know how i get on.
    Also the Search Sidebox problem, again everyone must have experienced this... surely someone must know how to fix this??

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

    Default Re: Sideboxes and title text too big

    You're welcome.

    Yeah, the fix worked so good... I just made another template contribution.
    I had the four Column Widths set at 160px and it worked like a charm.

    For the 'Search', make a backup stylesheet and try overwriting with these two;

    Code:
    h4, h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger{
    	font-size: 1em;
    	}
    Code:
    LABEL, h4.optionName {
    	line-height: 1.3em;
    	padding: 0.2em;
    	}
    Or adjust the font size and line-height to your own liking. I experimented with these two selectors for the new template and I was satisfied.

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

    Default Re: Sideboxes and title text too big

    Update; I just went through my books and I found the problem!

    Explorer includes the padding and border width in the determination of box "width". FF does not. The fault is actually IE, no surprise.

    The fix;

    Remove all the padding on your side columns. They should then rest upon the borders of the main body. Go into Admin and set your first pair of Column Widths(boxes) to 160px and then set the next pair at 170px. You should be all set.

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

    Default Re: Sideboxes and title text too big

    Oh, I think you did already. Like I said, experiment with Column Widths and let me know how it goes.

    I'll be contributing another template with the appropriate fix very soon and maybe you can use it as a base. It looks absolutely perfect in IE and FF, better than my latest patch up job.

  8. #8
    Join Date
    Sep 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Sideboxes and title text too big

    Really appreciate this Sketchy... but(!)...

    i removed all padding from sideboxes (i couldn't find any padding on my side columns), then changed column widths as suggested (160 and 170), however this did not have desired effect, all it did was center sideboxes within the columns. I played with widths (only on the right side), settings of 160 and 164 managed to right align my box in FF (alomst desired effect), however in IE there is still about 1 pixel left before it is perfectly right aligned. I tried to increase border width to fix this, but just caused the original pro again in FF! Check out the 2 pix below, 1st is FF, 2nd is IE.

    http://www.bestpixelpageever.com/sgp/eg.JPG

    http://www.bestpixelpageever.com/sgp/eg%20ie.JPG

    The other problem with this fix is that i liked the padding in the heading of both boxes!! It made the titles stick out more.

    Have not tried the Search Heading fix yet, want 2 solve other prob 1st.

    A sidenote to the developers, the CSS is very messy, would be much better with a lot more detailed comments.

    Sketchy let me know ASAP wen you release your new template and where i can download... thank you

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

    Default Re: Sideboxes and title text too big

    The Zen Cart team donated all their time into the hardcode and incorporated a ton of features into Zen Cart, they really didn't have time to make templates or comment a map way of the stylesheet. Being that Zen Cart is free, they have left the template designing to users.

    Sorry to hear. I should have took in account of your width of the store first before I suggested the column widths. I'm still refining another method and I'll release another template soon.

    I just released a retro template, I don't think it's what you're looking for. However, I have two older releases that are MSIE/FF compatible and I think you would be satified. The problem is that it is available in only red or blue. I did the same tweak as you, with the header navigation on those ones. You'd just have to adjust the colors accordingly. I dealt with the padding issues in a different way, but it works well.

    http://www.zen-cart.com/forum/showthread.php?t=43989

    You can see the red one in action in the 'Contributed Templates' forum and there are many more available for download in the showcased templates thread and different color versions are available through 'downloads' on top of the main forum menu.

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

    Default Re: Sideboxes and title text too big

    There is a new version of Zen available.

    Also, I figured out the margin problem. I've tested it with all the column widths in Admin at 150px. However, I can't virtually test the fix on your store, because your column widths aren't the same.

    http://www.zen-cart.com/forum/showthread.php?p=256134

 

 

Similar Threads

  1. How big is too big=page size
    By daltonkost in forum General Questions
    Replies: 7
    Last Post: 21 Jul 2010, 06:13 AM
  2. Who's Online sidebox text size too big
    By rhg74 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Jun 2009, 05:31 PM
  3. attributes text size too big in firefox ?
    By monkey8 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 26 Feb 2009, 06:46 PM
  4. Sideboxes and title text too big
    By mampi in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Sep 2006, 06:26 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