css on product price alignment cart module

  • Posts: 84
  • Thank you received: 0
11 years 8 months ago #99806

Hi,

I've been using firebug to try and solve this but to no avail.

Please see photo to help understand the problem.

For some reason the prices in red with the css :
span.hikashop_product_price {
color: #990000;
white-space: nowrap;
}

is off set and not set in alignment with the item name and price.
But also the subtotalprice which has the same class name (span.hikashop_product_price) is even more offset than the top two.

So I have added a margin to the span.hikashop_product_price class as such:
span.hikashop_product_price {
color: #990000;
white-space: nowrap;
margin-bottom: 12px;
}

This moves all 3 red prices the same but as the price of the sub total was already more offset than the other, it is still not in the right place.
But I cannot find a way to differentiate the subtotal price from the other ones via css and hence solve the problem.
Nor does any margin work by applying it to the class of the subtitle
.hikashop_cart_module_product_total_title {
text-align: right;
}

like so
.hikashop_cart_module_product_total_title {
text-align: right;
margin-bottom: 20px;
}



Can anyone help with this please?

Many thanks in advance

Claire

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #99913

Hi,

With a link to your website, it would be easiest.
Try to add a padding-top on the class: .hikashop_cart_module_product_total_value{padding-top: 5px;}

Please Log in or Create an account to join the conversation.

  • Posts: 84
  • Thank you received: 0
11 years 8 months ago #99951

14 px - but awesome....thankyou so much!

Please Log in or Create an account to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum