Jump to content

Percent reduction strange behaving


Recommended Posts

Hi all!

 

I'm doing some work on my site, but I'm getting headaches on a strange bug.

 

On some products page, the reduction % is showing up over the new price, making it invisible. On some other pages, it's showing up the way I want it to. I have absolutely no idea why it does work on some pages. It works on products pages with or without more than one picture, it works with pages with or without products reference, it works with pages with or without last piece alert or in/out of stock. I didn't find any difference between the working and not working pages, so it looks like it's pretty random. Yet, I don't believe in the random thing in HTML / CSS!

 

I did identify the problem (picture 1). The element style (style="display: block;") is taking over the code in product.css (display: inline-block). If I untick the element style it works (picture 2).

 

post-1137348-0-49043000-1498512501_thumb.png post-1137348-0-44836700-1498512511_thumb.png

 

The element style isn't anywhere on the pages working ok (picture 3).

 

post-1137348-0-28281800-1498512522_thumb.png

 

I did try to remove every "style=" in product.tpl, it doesn't fix my issue... it's even worse as it break the working pages!

 

Any help would be appreciated!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...