InMotion Hosting Support Center

Magento: Images disappear when merging CSS files

Category: Magento

2013-04-10 8:16 am EST

Hits: 1,443
In magento when I merge the CSS files in System >Configuration > Developer > CSS settings, my main product image disappears. The thumbnail is still there, but when you click on the product for more details, the large image that is supposed to appear has disappeared. How can I rectify this so that large product image does not disappear when I merge CSS files?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



43,761 Points
2013-04-10 8:47 am EST
Hello n180n180,

I am able to find a single Magento installation in your account, but it is not exhibiting the behavior you described. All thumbnails are leading to their larger images without fail. I may need some more information to go on. Please comment below with specific steps to duplicate the error. Then, if it is still occurring, it may be easier to troubleshoot.

Best Regards,
Scott M

You must login before you can post a comment about this answer.

Hi thanks for the quick response. Sorry I had set the CSS files to NOT merged as I was working on site. I have set the CSS files to merged again and the problem is there. Yes, there is only one site with magento, betterfoods.
11 Points
2013-04-10 9:55 am EST
Hello n180n180,

I checked the coding for your site and merging the css files seems to be creating many errors with the .css. For example the image is being set to display none, which means it doesn't show.

If possible, do not merge the .css files. If it must be merged, then I recommend using a tool such as Firefox's web console to view the errors and debug them.

If you have any further questions, feel free to post them below.
Thank you,

31,035 Points
2013-04-10 11:48 am EST
Ok, Thanks, I do need to merge CSS as it speeds up the site a fair bit. I will see what I can do thanks.
11 Points
2013-04-10 2:01 pm EST
Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!