The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

adding image in footer

2 posters

Go down

adding image in footer Empty adding image in footer

Post by mist3r0us_b0y September 7th 2013, 9:59 pm

can i add image in copyright footer ? with this code ?

Code:
}
li.footer-home a { display: none; }
li.footer-home:after { content: 'Copyrights (c) Gs-mehfil © 2011 - 2013. All Rights Reserved'; }
a[href="/u^"]{
mist3r0us_b0y
mist3r0us_b0y
Forumember

Male Posts : 747
Reputation : 19
Language : english

http://sh.st/nJRXG

Back to top Go down

adding image in footer Empty Re: adding image in footer

Post by levy September 8th 2013, 12:07 am

Hm , delete this CSS and put this :

Code:
.copyright img{float:left;}
Now , create a javascript ,tick in all pages and fill with that :

Code:
$(function(e) {
$('li.footer-home').replaceWith('<div class="copyright"><img src="IMAGE LINK"/> Copyrights (c) Gs-mehfil ©️ 2011 - 2013. All Rights Reserved</div>');
});
Is better to use the javascript Wink from my opinion , if you want to use the CSS :

Code:
li.footer-home:after {
content: 'Copyrights (c) Gs-mehfil ©️ 2011 - 2013. All Rights Reserved';
background-image:url(IMAGE LINK) no-repeat;
}
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum