The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

adding image in footer

View previous topic View next topic Go down

adding image in footer

Post by mist3r0us_b0y on 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
Forumember

Male Posts : 747
Reputation : 19
Language : english

http://sh.st/nJRXG

Back to top Go down

Re: adding image in footer

Post by levy on 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
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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