Jump to content

JOB OFFER - CSS sprite for blocklanguages


forumer88

Recommended Posts

Hello, we are using the blocklanguages of Prestashop 1.4.9. We use many languages on our website. For each language, there is a small flag displayed on the theme. I need someone to combine these flags into css sprite to speed up loading of the front page. If you are interested, please send me a quote and your contact information. Thank you.

 

Thanks a lot

 

Rob

Link to comment
Share on other sites

  • 10 months later...

Jiten rash, it's not quite as simple as that with the block languages.

 

They are displayed from the img directory using a foreach and the flag iso code.

 

As standard there is not an individual class for each flag where you can add the sprite properties.

Link to comment
Share on other sites

what vekia..????? can is see ur site how many languages u have

 

sorry mate, i don't understand why you asking me about my website?

I'm not a owner of prestashop store, but i created a lot of stores for my customers

 

can you explain what you expect from me?

regards

Link to comment
Share on other sites

Its a simple solution really, create a sprite with the images, edit the loop in the block languages to append the iso of the language on to the class of the ul that is being loaded, then affect the background image by targeting the css class.

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...