a difference in the look of the shop in different browsers.

  • Posts: 424
  • Thank you received: 11
  • Hikaserial Subscription Hikashop Business
8 years 2 months ago #266308

-- url of the page with the problem -- : 04.uw-hiow-concept.nl/
-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.x
-- Error-message(debug-mod must be tuned on) -- : no message on page

Hello,

What can we do to make the shop look the same in chrome. As far as i can see with our developing site.
In other browsers such as firefox, edge it is showing neatly. But as far as i can discover not in Chrome. In the attachments you can see what i mean.


You can also check for yourself on this url:
This message contains confidential information

Attachments:

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

  • Posts: 83989
  • Thank you received: 13604
  • MODERATOR
8 years 2 months ago #266312

Hi,

That's because of the line:
height: 45px;

that you have in your custom CSS:
span.hikashop_product_price_full {
color: #666;
display: block;
height: 45px;
}

Remove that and it will display properly.

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

  • Posts: 424
  • Thank you received: 11
  • Hikaserial Subscription Hikashop Business
8 years 2 months ago #266367

Hi,

We put that line in the css. because then, as you suggested in other topic. the add cart button will stay at the bottom. That is why we put the height in it. In the most common browsers it looks fine except in chrome. So in order to make it neatly i will have to put the line height higher. but then in the other browser i get more space between it. Or do you have another solution to get the add to cart button to stay on the bottom?

if i remove that line. it will be displayed like this:

Attachments:

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

  • Posts: 1119
  • Thank you received: 114
8 years 2 months ago #266377

Hi,

I think the issue you have is coming from this:

span.hikashop_product_price_before_discount {
color: #EE4409;
font-size: 14px;
/* padding-right: 10px; */
}

if you remove padding-right it looks fine.

Also there is another issue that in this span you have div which shouldn't be like that.

Thanks

Attachments:
Last edit: 8 years 2 months ago by kyratn.

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

  • Posts: 424
  • Thank you received: 11
  • Hikaserial Subscription Hikashop Business
8 years 2 months ago #266411

Hello Kyratn,

The issue was not comming from that span.. :) and the div, yes i know but is needed for our look in the price and discount price otherwise it will be on 1 line. but the issue with the browsers is solved as far as i can see with what you mentioned earlier, with het min-height in css.. :)

Thanks

The following user(s) said Thank You: kyratn

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
8 years 2 months ago #266370

Hello,

For more details about CSS and customization, we have that documentation page :
www.hikashop.com/support/documentation/1...the-display.html#css

Nicolas was trying to give you a little advice but I'm afraid that it is outside the limits of our support.

Thank you for your understanding


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 424
  • Thank you received: 11
  • Hikaserial Subscription Hikashop Business
8 years 2 months ago #266536

Thank you for this notice.. with min-height in css it is solved. only in chrome the to cart button is a little lower. :)
Thank you.

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

  • Posts: 1119
  • Thank you received: 114
8 years 2 months ago #266622

Hi,

If it is lower you can add some px so you will have same height. However i still think you should use proper html because "span" is an inline element, so having a "div" inside span is not valid in html....

Thanks

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

Time to create page: 0.091 seconds
Powered by Kunena Forum