Ncastro340
Forum Replies Created
-
Forum: Plugins
In reply to: WP E-commerce coupon code not working per itemI just want to say thank you for this: $return += $item->discount*$item->quantity;
!!
Did exactly what I needed and who knows how long it would’ve taken me to solve it.
Thanks again for posting.Forum: Plugins
In reply to: [plugin: wp ecommerce] Discount codesJust an update:
I have been tinkering around trying to make this work and still no luck. Anyone that has an idea or who can point me in the right direction to create a field to enter a coupon code on a homepage that would show all products discounted for that code prior to adding to cart/checkout ??
A nudge in the right direction would be very appreciated because I am at a loss..
Thanks again,
NickForum: Themes and Templates
In reply to: Permalink structure breaks sidebar????Using twenty ten child theme – 3.3.2
Forum: Themes and Templates
In reply to: Twentyten sidebar position (not cooperating)getting closer..
Using absolute positioning allows me to position as I please, BUT because it is still being pushed down below the content by default, the sidebar moves up 320px from where the content ends.
Depending on the amount of page content will determine where the sidebar is positioned. I feel like using position:absolute will get messy needing to use per-page custom negative top magins. This just doesn’t seem efficient.
I feel fixing it this way doesn’t address the source of the problem – the sidebar being pushed beneath the content.
As it stands, I have left #primary absolutely positioned. But if you were to look at any of the pages contact, faq or your plan, in comparison to the about page (linked earlier in a previous post), you will notice that this method is not very consistent.
Is there a way that this can be done using position relative?
More importantly, I should probably be asking why is the sidebar being pushed down in the first place?!?I do appreciate everything that has been suggested, but the problem persists..
Forum: Themes and Templates
In reply to: Twentyten sidebar position (not cooperating)Ok, I have moved <body <?php body_class(); ?> so that it comes directly after the </head> tag, which satisfies the validation check for the <body> error.
But fixing this revealed quite a few other errors which I have worked through.
There are only 3 remaining validation errors, and all are due to mysterious </p>’s that don’t have a matching pair. I see them in the source, but when I view that particular page from the WP dashboard, there are no <p>’s whatsoever. It seems that the plug-in “postTabs” is inserting them dynamically. When I deactivate the plug-in, the document passes the validation check. I have left it active, because I don’t imagine these open <p> elements could be the culprit of the sidebar issue.
So at this point, I have 3 <p> related errors (or 0 if I deactivate the plugin) and still, a very uncooperative sidebar…
If anyone has an idea about this sidebar situation, please share what you know/notice that might be causing this.
Thanks for the guidance thus far!
but still not quite there yet…Forum: Themes and Templates
In reply to: Twentyten sidebar position (not cooperating)I would imagine this is some small css issue but I am just unsure what to try.
I’m still pretty confused about the validation error whether its related to the sidebar or not.I would really appreciate any insight into the sidebar behavior as well as the validation error..
Forum: Themes and Templates
In reply to: Twentyten sidebar position (not cooperating)After reviewing the error and the source code, I am a little confused.
It seems the error is stating a <body> tag has been opened prior to this one: <body class=”page page-id-276 page-parent page-template page-template-Main-page-with-sidebar-php logged-in”>But when I look at the source and rendered html in the developer menu, I only see one body tag opened, which is the one above and one </body> tag just before</html>.
I googled the error I was getting which is: “An body start tag seen but an element of the same type was already open.” and found this unresolved thread on stack overflow.
It wasn’t exactly much help, but the scenario is similar it seems.
At this point, I am not really sure how to go about resolving the html validation error..
I could still really use a little guidance.
Forum: Themes and Templates
In reply to: Twentyten sidebar position (not cooperating)Ok, to make this easier, I uploaded the site and you can see it here.
I have been using the developer tools to play around with the css properties but I still cant’t seem to see why this is happening.You can see that if you were to give the sidebar ( <div id=”primary”> ) a negative right margin, the content and sidebar overlap which is what I am going for. But it sidebar is still pushed down, and I know giving the sidebar a huge negative top margin is not the correct thing to do.
I nested the sidebar within the <div id=”container”> to allow this overlap. Before I did this, the sidebar was directly next to the content as it should but when I tried to overlap one with the other, the sidebar was always pushed down. Nesting the sidebar within the container div with the #content permits an overlap for whatever reason.
But the problem still remains, the sidebar is at the bottom, and it is not apparent to me why this is happening.
So if anyone has any suggestions now that the site is totally visible, I am all ears.
Thanks in advance,
NickForum: Fixing WordPress
In reply to: static homepage and want my posts to show like the blog latesthave you tried going to settings>reading and changing the “posts page” value to your static page template?
Forum: Themes and Templates
In reply to: Twentyten sidebar position (not cooperating)The container is 85% of the entire screen and is holding the content and the sidebar.
To make sure, I changed the primary width to 10% and changed the contents right margin to 600px to provide more potential space for the sidebar.#container
#content
#primary
/#containerAfter decreasing the sidebar width and increasing the content right margin I end up with this: Image here
I apologize for only giving screenshots. If I were able to upload this at the moment I would, but until then I am only able to work with what I have.
If there are any other ideas, I could sure use a suggestion.
Thanks in advance,
NickForum: Themes and Templates
In reply to: Image and Text Alignment…..NO COOPERATIONHere is the code for this table so you can see. In my text editor it looks just fine, both the left image and right text are aligned to the top of the table next to each other.
[Code moderated as per the Forum Rules. Please use the pastebin]
If anyone knows why this is displaying the way it is, please help!
Thanks..Forum: Themes and Templates
In reply to: Unwanted Text Line Break..This must be EasySuccess, thanks a lot!
Forum: Themes and Templates
In reply to: Unwanted Text Line Break..This must be Easyand remain centered on one line
Forum: Themes and Templates
In reply to: Featured image duplicating in header..Why is This?Problem Soleved.
Worked just as it should have thanks for your help! I really appreciate it.Forum: Themes and Templates
In reply to: Featured image duplicating in header..Why is This?Sorry..Site is Here