WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: gearup on May 21, 2012, 04:45:35 PM

Title: Bakery 1.59: Submit order: Address, page is shifted up and left
Post by: gearup on May 21, 2012, 04:45:35 PM
I have looked at this problem and searched the forum but am unable to see what needs to be changed.

When I go to submit an order from the shopping basket the Address page appears but it is shifted left and up although the Submit Order button appears to stay in the correct place.

This is with wb 2.8.2 and Lyps template.

I am using Firefox but it is similar on Explorer.

This is a new website and I have always seen this happening and now it is time to fix it.

I think there must be a simple setting somewhere but have not found it can anyone suggest where to look.

The screen image is in the attachment

[gelöscht durch Administrator]
Title: Re: Bakery 1.59: Submit order: Address, page is shifted up and left
Post by: nibz on May 21, 2012, 05:08:58 PM
Did you change the template?
Because the footer isn't dispayed.

Normaly this is pointing at a error in the code, where it is breaking the page.

Do you have a link to the live preview ?

I also am using Lyps on: http://www.fuselier.nl/bakery.php  and it works.
Title: Re: Bakery 1.59: Submit order: Address, page is shifted up and left
Post by: jacobi22 on May 21, 2012, 05:21:42 PM
the submit-button is a part from the table in the adress-form. maybe this table is bigger than your content area

you can check the table-width, if you set the table border in file bakery / templates / form / title.htm from 0 to 1
like
<table border="1" cellpadding="5" cellspacing="0" width="98%">



a fast resolution for the button problem: bakery / templates / form / form-htm  at line 32  - set the text-align from right to left

Code: [Select]
<td colspan="2" style="text-align: left">
maybe the same in line 103
Title: Re: Bakery 1.59: Submit order: Address, page is shifted up and left
Post by: gearup on May 22, 2012, 10:20:59 AM
Thanks for the two replies.

I response to the first reply, i have modified the template slightly for the footer as it is not wanted but this problem is only seen with this page, when i go on to page 2 (order summary) it is centered again.

Website is www.meds4doctors.com (http://www.meds4doctors.com) but note the shop is only for authorized customers so is hidden for general viewing and signup is disabled.

For the second reply I adjusted the setting for the table and can see this is likely the problem as the table width is too large. New image attached.

Adjusting the position of the button would not be my first choice but i will try and reduce the table width to see if that works  - have to find out how first though :)


[gelöscht durch Administrator]
Title: Re: Bakery 1.59: Submit order: Address, page is shifted up and left
Post by: jacobi22 on May 22, 2012, 10:33:20 AM
the "Problem" is not the table in the shop, the problem is the real width für the content area in this template.

the table width for all bakery-tables is 98%
Title: Re: Bakery 1.59: Submit order: Address, page is shifted up and left
Post by: gearup on May 22, 2012, 11:31:33 AM
Yes, thx, I should have been clearer.

The table is fine and you are correct it is the area allocated for its display that needs to be changed.

However when looking at the page source i see there are warnings (Firefox Html Tidy) and this may be contributing to the problem.

I will look at cleaning up some of these warnings first.

[gelöscht durch Administrator]
Title: Re: Bakery 1.59: Submit order: Address, page is shifted up and left
Post by: jacobi22 on May 22, 2012, 11:47:32 AM
ah.. i unterstand  ;-)

contentboxwide is the div, where the normal content is include (like your other pages home etc.)

do you have the shop includes as Wrapper and not as a page??
Title: Re: Bakery 1.59: Submit order: Address, page is shifted up and left
Post by: gearup on May 22, 2012, 12:25:56 PM
In the home page source is also see contentboxwide, for example,

...
Code: [Select]
</form></div>

<!--LOGIN_URL, LOGOUT_URL,FORGOT_URL-->
</div><!--End leftbox-->

<div class="contentboxwide"><div class="contentinner"><a class="section_anchor" id="wb_58" name="wb_58"></a><p>Meds4Doctors.com is a...

And I just have normal pages on the website no wrapper

Title: Re: Bakery 1.59: Submit order: Address, page is shifted up and left
Post by: gearup on May 22, 2012, 04:20:09 PM
Minor bug corrections moved to a new topic, they were hidden here.
Title: Re: Bakery 1.59: Submit order: Address, page is shifted up and left
Post by: kweitzel on May 22, 2012, 08:06:18 PM
Please use Code highlighting ... it is there to make your code more readable.

Klaus
Title: Re: Bakery 1.59: Submit order: Address, page is shifted up and left
Post by: gearup on May 23, 2012, 09:42:55 AM
Thx for tip and thx for changing posts. I have now found how to add code correctly.