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.

Christmas icons

4 posters

Go down

Christmas icons Empty Christmas icons

Post by Mariami December 19th 2014, 12:01 pm

pleasee put me these codes tu make a new Javascript Codes


Christmas icons Zkv2l



Christmas icons Ukrnb



Christmas icons 7qox5



Christmas icons W6k0i
Mariami
Mariami
Forumember

Posts : 106
Reputation : 1
Language : english

http://mundonoveleras.forum2x2.ru/forum

Back to top Go down

Christmas icons Empty Re: Christmas icons

Post by _Twisted_Mods_ December 19th 2014, 1:04 pm

javascript

Code:
$(function(){
$('#phpbb').prepend('<div id="xmasholder"></div>');
});

css

Code:
#xmasholder{
  background: url(linkyoyourimage);
 display: block;
      background-repeat: no-repeat;
  background-position:50%;
height:160px;
    width:100%;
  position:absolute;
}


change linktoyourimage with one of the url links to the images you provided

to change if the image is left,right,center ..change
Code:
  background-position:50%;

0% = left
50% = center
100% = right
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Christmas icons Empty Re: Christmas icons

Post by Mariami December 19th 2014, 1:20 pm

it does not work
Mariami
Mariami
Forumember

Posts : 106
Reputation : 1
Language : english

http://mundonoveleras.forum2x2.ru/forum

Back to top Go down

Christmas icons Empty Re: Christmas icons

Post by Mariami December 19th 2014, 7:57 pm

please help me
Mariami
Mariami
Forumember

Posts : 106
Reputation : 1
Language : english

http://mundonoveleras.forum2x2.ru/forum

Back to top Go down

Christmas icons Empty Re: Christmas icons

Post by Mati December 19th 2014, 8:09 pm

Hello

Go to Administration Panel -> Display -> Templates --> General overall_header and add below <head> this code save and Publish.

Code:
<div id="xmasholder"></div>

Code:
#xmasholder {
    background: url(http://b.pix.ge:81/c/w6k0i.gif) ;
    height: 150px;
    position: absolute;
    width: 100%;
    top: 0;
}
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Christmas icons Empty Re: Christmas icons

Post by Mariami December 19th 2014, 8:40 pm

sorry,it doesnt work Sad
Mariami
Mariami
Forumember

Posts : 106
Reputation : 1
Language : english

http://mundonoveleras.forum2x2.ru/forum

Back to top Go down

Christmas icons Empty Re: Christmas icons

Post by _Twisted_Mods_ December 19th 2014, 8:50 pm

i think your doing something wrong

goto acp>modules>javascript managment

turn on javascript save

create a new javascript

title =  what ever you like
placement = in all pages
code =


Code:
$(function(){
$('#phpbb').prepend('<div id="xmasholder"></div>');
});


Submit


goto

acp>display>pictures&colors>colors>css tab

add



Code:
#xmasholder{
  background: url(http://a.pix.ge/a/ukrnb.gif);
 display: block;
      background-repeat: no-repeat;
  background-position:50%;
height:160px;
    width:100%;
  position:absolute;
}


Submit
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Christmas icons Empty Re: Christmas icons

Post by Mati December 19th 2014, 8:50 pm

Are you sure you do it current ?
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Christmas icons Empty Re: Christmas icons

Post by Mariami December 19th 2014, 9:22 pm

thank you very much,I did it <33
Mariami
Mariami
Forumember

Posts : 106
Reputation : 1
Language : english

http://mundonoveleras.forum2x2.ru/forum

Back to top Go down

Christmas icons Empty Re: Christmas icons

Post by Ape December 19th 2014, 11:35 pm

@Mariami  
Please don't double post. Your post needs to be separated by at least 24 hours before bumping. Please use the edit button instead!
First Warning


Christmas icons Left1212Christmas icons Center11Christmas icons Right112
Christmas icons Ape_b110
Christmas icons Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19084
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top

- Similar topics

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