7 replies [Last post]
max.passukhin@gmail.com's picture
Offline
Joined: 03/28/2013
Juice: 7
Was this information Helpful?

Dear friends
I have a problem: in cart of UberCart title was shifted.
What I have to do to correct this problem. Below screenshot of cart:

Image
Versions
ubercart-7.x-3.4
drupal-7.20
Thanks

DanZ's picture
Offline
Joined: 08/07/2011
Juice: 1738
Re: cart table shifted in Ubercart

That problem is almost always due to a bad theme. Try it with a standard theme, like Bartik, and see if that fixes it.

If that fixes it, try looking through your .css file for anything marked as "hidden" or such.

staveris's picture
Offline
Joined: 04/24/2013
Juice: 7
cart shift

Hi all,
i have the exact same problem, what was the solution after all?

i have noticed that the created html page in cart has the following:

<table class="sticky-enabled">
<thead>
  <tr>
    <th>Remove</th>
    <th>Products</th>
    <th></th> ---> this seems to shift all
    <th>
      <abbr title="Quantity">Qty</abbr>
   </th>     
<th>    Total</th>
  </tr>
</thead>

how the above is correct?
Thanks in advance for any information

DanZ's picture
Offline
Joined: 08/07/2011
Juice: 1738
Re: cart shift

@staveris, have you tried it with a generic theme?

staveris's picture
Offline
Joined: 04/24/2013
Juice: 7
Re: Re: cart shift

yes, bartic I had the same issue

DanZ's picture
Offline
Joined: 08/07/2011
Juice: 1738
Re: Re: Re: cart shift

This problem does not appear with generic Ubercart. Try disabling all custom and supporting modules to see if the issue goes away. Then, enable them one at a time until the problem re-appears. That will point to your problem module.

staveris's picture
Offline
Joined: 04/24/2013
Juice: 7
Re: Re: Re: Re: cart shift

ok i removed some custom modules and now cart is displayed correctly on basic themes but not on the one I am using.
so this issue goes to the initial response regarding "hidden" in css of the theme?

DanZ's picture
Offline
Joined: 08/07/2011
Juice: 1738
Re: Re: Re: Re: Re: cart shift

Yes. Look at the raw CSS and HTML output of the messed-up display. You should be able to find the problem somewhere.

Likely scenario: There is probably a name conflict where the name of the style for that column is the same as the name used for something else and it's being declared has "hidden" or similarly unviewable.