Strange Space & Error Report

Forums Forums Templates and themes Strange Space & Error Report

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #720
    saturnstroll
    Member

    Hello,

    Can anyone tell me why there’s so much space in the Overall Content between Header and actual content? see: http://shirtsr.us/ (and how to fix it pls) I’ve also attatched the xml.

    Also, I’ve noticed a problem when exporting the pixopoint generated WP file. The when attempting to open, the first gives the error: "zip file corrupt". However the second attempt works fine.

    Thank you

    #5767

    It looks like the shopping cart plugin you are using is clearing it’s floats in a silly way. There are quite a few plugins which do this and I have no idea why. I’m a little busy right now but I’ll try to find a few for this later on.

    In the mean time, if you can track down the particular element/ID/class which is doing the clearing I should be able to find a solution fairly quickly. It just requires overriding it to use clear:none via the themes CSS.

    #5768
    saturnstroll
    Member

    Hm, the shopping cart I’m using is WP E-commerce.
    I think this is on the recommended list of plugins.
    WP E-commerce doesn’t seem to create this space in other themes.
    Do you think the fix can be made in the theme?
    I’d like to find the particular element/ID/class which is doing the clearing, but I don’t know what is the culprit.

    #5769
    saturnstroll
    Member

    If you could advise me how to find the particular element/ID/class, I’d be glad to dig further.
    I’d very much like to get this site up and running.

    #5770
    saturnstroll
    Member

    Hello?
    Am I getting the cold shoulder from pixopoint or what?

    #5771

    Hi,
    I’m busy. I’ll try to get on to this tomorrow night.

    #5772

    Hi,
    I tried to fix your problem, but it looks like you are only using half of our theme, the rest of it looks like someone elses code.

    #5773
    noelc
    Member

    Ah, I’m getting the same problem here:

    http://www.arbelos.eu/?page_id=23

    Advice welcome too.

    (data.xml file attached)

    Cheers

    Noel

    #5774

    Hi,
    I’ve come up with a solution, albeit not a very good one at this stage.

    Add the following code before the </head> tag in the themes header.php file:
    [code:2wnjoszg]
    <style type="text/css">
    div.productdisplay {clear:none}
    .clear {clear:none}
    </style>[/code:2wnjoszg]

    The problem is caused by the WP e-Commerce plugin using a flawed method of float clearing in it’s CSS. The template generated themes have a particular HTML setup which allows for a huge range of possible layouts. To cater for three columned flexible width layouts the sidebars are loaded before the main content. This is not a problem, but many plugin authors do not bother catering for this as most themes do not use that layout. The solution is to prevent the floats from clearing in that way at all so that they don’t clear below the sidebars which are floated into position.

    AFAIK, the latest test version of the WP e-Commerce plugin has had a complete overhaul of the templating system so they may have catered for this problem in their new version. I’ll send a link to this page through to Dan Milward of Instinct Entertainment (creators of the WP e-Commerce plugin) to find out if there is a fix for this coming up. If not, then I’ll have to sort out a solution within the template generator itself.

    #5775
    noelc
    Member

    Ryan,

    That’s sorted it. Thanks for your very prompt reply!

    Cheers

    Noel

    #5776

    Glad to hear you’ve got it working now <img decoding=” title=”Smiley” />

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.