Replacing section background image......

User 3127195 Photo


Registered User
1 post

The code I found... $('.sidebar_btn').css('background-image', 'url(images/x.png)');

My question is how change x.png for the new image
User 122279 Photo


Senior Advisor
14,519 posts

Take any fitting image, pop it into the images folder and change this bit of the code: url(images/x.png) to the new image name, like e.g. url:(images/myown.png) or if your image is a jpg one then url:(images/myown.jpg).
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.