Replies

Nov 3, 2016 9 years ago
This rift empty
NamelessGhoul
YEET
User Avatar
Rumancek

I'm trying to work with this profile and having some issues. I mostly just took Stark's profile so it's kind of messed up right now and still has the coding for his, other than the background... But I want the background to look like this: with the center being the main body and the rest being of the background. So I made this: and this: but it only fits if I make it repeat and that looks really stupid so I don't know how big the background pic should be or how I should set it to make it NOT repeat and still stay relatively in the same place on everyone's screen...

Nov 5, 2016 9 years ago
mallory
the snuggle monster
User Avatar
Might

I know you guys are good with the coding. Can you help with this? ;w;

Nov 6, 2016 9 years ago
nene
User Avatar
Angora

hi there! is there any reason you separated the main body from the background? i feel like the solution would be easier if they're in one image.

Nov 6, 2016 9 years ago
mallory
the snuggle monster
User Avatar
Might

was actually the one with the question. ^^;

Nov 6, 2016 9 years ago
nene
User Avatar
Angora

ack, sorry ;v;

Nov 7, 2016 9 years ago
mallory
the snuggle monster
User Avatar
Might

No worries! Mistakes happen! >u<

Nov 7, 2016 9 years ago
This rift empty
NamelessGhoul
YEET
User Avatar
Rumancek

Quote by noemi
hi there! is there any reason you separated the main body from the background? i feel like the solution would be easier if they&;re in one image.
because it's easier to control i think otherwise. That's how Stark's profile is, but someone else also helped me with that one. I did try to put them both together and I got really awful repeating images that didn't fit right.

Nov 7, 2016 9 years ago
nene
User Avatar
Angora

if you have two images of a fixed size that need to seamlessly work together, and don't plan to have any special/hover effects with the body itself, it'll spare you some pain and effort to combine them. in stark's case, one image (body) is a fixed size, while the other background is a tiled/repeating image, so separating them was better in that case.

i notice the scale of the body was larger than the background size, while in your very first picture they fit perfectly? if you cropped the second one out and have no way back (hence your background size question), the size of the background with the glyphs should be around 1245-1255px in width if you want to play with that and re-save it to the proper size.

this is what i have, but the body's edges are choppy since the background size had to be scaled up (and the positioning may not be correct). here, the width of that background is 1250px.

code (replace the body and #pet_info blocks body {background: url('https://i.gyazo.com/6c8d3d02a4bbab6d6c0d5f4ede192164.png') no-repeat,url('https://i.gyazo.com/0b9b7a5f0184416c6b4c834eaa4c2630.png') no-repeat; height: 1000px; background-size: 870px 674px, 1250px; background-position: 210px 138px, 0 0}

{position: absolute; top: 177px; left: 102px;}

Nov 7, 2016 9 years ago
This rift empty
NamelessGhoul
YEET
User Avatar
Rumancek

I tried using that code you gave me, but this is what happened D: So I'm not sure what I've done wrong? and I'm not sure what you meant about cropping it.

Nov 7, 2016 9 years ago
nene
User Avatar
Angora

ahh, i think you deleted the line under the body block, so you just have to add it back in-- html {background:url(https://i.gyazo.com/d6a7be0d14e16c107bb662f8913617a8.png) repeat left top}

by cropping, you cut out the body and saved it separately from the background with the glyphs, so to speak! you'll have a better time positioning things (and with less lines of code) if you saved both as a single image.

Nov 7, 2016 9 years ago
This rift empty
NamelessGhoul
YEET
User Avatar
Rumancek

ahh thank you that worked that wasn't my intended result but I like the way it looks I'll try making the whole image but I still don't know the size to make the image so that it fits right

Nov 12, 2016 9 years ago
ibook
is one for the books
User Avatar
Moopoo

, use a canvas that is 1366 x 768 as this is a pretty good average of what people use for their screen size.

forum image by
if you know where i can credit to them now, please let me know

[tot=ibook]

Please log in to reply to this topic.