Thread: Logo Sprite
View Single Post
  #5  
Old 11-11-2013, 11:49 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Logo Sprite

Quote:
Originally Posted by ynotcreative
Who's brilliant idea was it to make editing a logo in 4.6 include editing a sprite?
Mine.

It seemed like a good idea at the time, and was intended to encourage store designers to use the sprite sheet as they moved forward with their custom design. Rather than adding more http connections and download size with multiple images, they could instead learn to do it right. In retrospect it would have been better to have the logo below the gift certificate image to make editing easier. Ultimately only those two images made it on the sheet, I had intended to include other images, but only those two were necessary to resize in order to make the site responsive. It isn't transparent because transparency costs bytes. If you need a transparent sheet, it's child's play to pull open the image and edit it in Photoshop. Agree that the multiple edits to CSS after adjusting it are a major pain.

The core idea was originally to serve mobile first, then only serve the other style sheets if the browser was larger. The goal was to minimize download for small devices, smaller images could be put on the smaller sheet. Larger more powerful devices would pull down the larger images. It made more sense when the style sheets for the different widths were separate. Now that they are combined and use media queries, all the CSS and images are downloaded no matter the size screen.

I have to admit regretting this choice a couple of times already, I'm not defending it, just explaining how it came to be. Probably should be addressed in a future version of X-cart. We need an easy button that uploads the logo, and a way to edit the header size. Also would be nice if we could upload one logo and have it go everywhere including the invoice.

That said, you really don't need to be so harsh. Especially in regards to comments about the X-cart team. They are doing a fabulous job, and usually get criticized more than complimented. There is not a better team on the planet in my opinion. Comparing XC to Wordpress is like comparing heavy cream to creme brulee. Wordpress is dead simple and does just what it is supposed to. X-cart is very complex, and can be magical in the right hands, or burnt and nasty depending on the cook.

@Steve: thanks for not throwing me under the bus.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote