robotzki Posted November 20, 2015 Share Posted November 20, 2015 Hi, I would like to combine most of the icons on my website into a css sprite. All of the Tutorials for using Sprites in Prestashop out there, are made for either PS 1.4 or 1.5 and are at least 1-2 years old. I was wondering if the same procedures such as the ones described in this article (http://doc.prestashop.com/display/PS16/Theme+development+fundamentals) are still valid to use, since every PS theme out there nowadays is responsive? Link to comment Share on other sites More sharing options...
Daresh Posted November 20, 2015 Share Posted November 20, 2015 Sprites techniques are still valid of course, but these days the icons are more often fonts rather than images, better looks, scaling, coloring. Link to comment Share on other sites More sharing options...
robotzki Posted November 20, 2015 Author Share Posted November 20, 2015 Al right, thanks for that. I'm using a costume theme and there are a couple of pngs used as icons. I will start combining those into a sprite now☺ Link to comment Share on other sites More sharing options...
robotzki Posted November 20, 2015 Author Share Posted November 20, 2015 My concern had been, that when a theme is responsive and icons and images can scale, so they fit the size of mobile screens etc, I would loose the scalability when combining them into sprites Link to comment Share on other sites More sharing options...
Daresh Posted November 20, 2015 Share Posted November 20, 2015 I think it can be worked around, maybe with some use of background-size or other techniques, ex.: http://stackoverflow.com/questions/9802935/how-to-use-css-sprites-within-a-responsive-design Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now