Adding images to your foreground and positioning !

if  you want to add images to the foreground (sides) of ur page, ive got a code that might help out:
to start of with copy this code and paste it at the top of your about me :



<div class="whatever you think of"></div> 


next inside a <style> closing off with a </style> copy this code in:


.whatever  you thought of {
background: url(your image/gif url) no-repeat;
background-size: 100%!important;
position: fixed;
right: 0px;
bottom: 0px;
height: 380px;
width: 500px;
z-index: 1000;
}

to choose if  you want it on the right or left just change "right: 0px;" to left and vise versa. And to finish off just change the px sizes with random numbers to see what looks best :)
If you want more than one image just copy  and paste everything again and just change the DIV  name and link ofc


20 Kudos

Comments

Displaying 1 of 1 comments ( View all | Add Comment )

ʂ⊘ղҽҟąՀ

ʂ⊘ղҽҟąՀ's profile picture

Heey, It's not working for me, idk i maybe dumb, is it supposed to be like this?



.whatever you thought of {
background: url(https://ibb.co/B5ts8xrQ) no-repeat;
background-size: 100%!important;
position: fixed;
right: 0px;
bottom: 0px;
height: 380px;
width: 500px;
z-index: 1000;
}


Report Comment



Hello! The code seems fine, but just change the div class name

so the "whatever you thought of" just change to lets say picture1, write that into the



and then change it to the same name at the bottom code:


.picture1 { ...rest of the code


then just play around with the heights and rights/lefts for positioning

also play around with links! maybe its your link not working? i cant see your full code so im just guessing :)

by <SHALLOWBONES>; ; Report

okayy i'll try thx :D

by ʂ⊘ղҽҟąՀ; ; Report

Thx ! it worked

by ʂ⊘ղҽҟąՀ; ; Report

I'm really glad i could help!

by <SHALLOWBONES>; ; Report