Forums › Forums › Templates and themes › Strange Space & Error Report
- This topic has 10 replies, 3 voices, and was last updated 15 years, 8 months ago by imported_Ryan.
-
AuthorPosts
-
March 28, 2009 at 3:30 am #720saturnstrollMember
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
March 28, 2009 at 10:05 pm #5767imported_RyanMemberIt 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.
March 29, 2009 at 3:30 am #5768saturnstrollMemberHm, 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.March 29, 2009 at 5:04 am #5769saturnstrollMemberIf 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.April 5, 2009 at 10:15 pm #5770saturnstrollMemberHello?
Am I getting the cold shoulder from pixopoint or what?April 6, 2009 at 10:05 am #5771imported_RyanMemberHi,
I’m busy. I’ll try to get on to this tomorrow night.April 10, 2009 at 2:28 pm #5772imported_RyanMemberHi,
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.April 10, 2009 at 5:14 pm #5773noelcMemberAh, I’m getting the same problem here:
http://www.arbelos.eu/?page_id=23
Advice welcome too.
(data.xml file attached)
Cheers
Noel
April 11, 2009 at 2:11 am #5774imported_RyanMemberHi,
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.
April 11, 2009 at 11:56 am #5775noelcMemberRyan,
That’s sorted it. Thanks for your very prompt reply!
Cheers
Noel
April 12, 2009 at 11:43 am #5776imported_RyanMemberGlad to hear you’ve got it working now ” title=”Smiley” />
-
AuthorPosts
- You must be logged in to reply to this topic.