HOME | DD

Valognir β€” [Custom box code] Wide content

#box #code #content #custom #customization #html #profile #scroll #scrolling #wide #width #scrollbox #contentholder #custombox #widecontent
Published: 2015-03-01 13:45:25 +0000 UTC; Views: 30596; Favourites: 951; Downloads: 0
Redirect to original
Description

[the code disappeared. ohno.]


More customization stuff:

Userstyles and -scripts

Related content
Comments: 534

May-Shad In reply to ??? [2018-08-21 16:03:44 +0000 UTC]

hi sorry to bother you, please could i know which of the code would i have to remove to disable the scrollbar ? ;v; if it's even possible without it fucking up the width expand thing ?


*struggling since few hours to get things work* just wanted to say your tuto helped me a lot and so thanks you so much ! ;^;

πŸ‘: 0 ⏩: 1

Valognir In reply to May-Shad [2018-08-21 19:04:16 +0000 UTC]

You just have to make it high enough for the scroll bar to disappear.

πŸ‘: 0 ⏩: 1

May-Shad In reply to Valognir [2018-08-21 19:05:20 +0000 UTC]

yeah that's what i did but i was wondering if it has a way to just disable it completly :V


thanks for the answer anyway ! c:

πŸ‘: 0 ⏩: 1

Valognir In reply to May-Shad [2018-08-23 11:21:19 +0000 UTC]

Sadly no, being scrollable and taking the max width are pretty much bound together. :c

πŸ‘: 0 ⏩: 1

May-Shad In reply to Valognir [2018-08-23 13:32:29 +0000 UTC]

i see :/


anyway thanks for the help budy ! i'll make it work somehow dw >:3


i would has another question but i don't wanna bother you q^q

πŸ‘: 0 ⏩: 1

Valognir In reply to May-Shad [2018-08-27 12:04:06 +0000 UTC]

Oh, don't worry about bothering me. It's not all too easy to get on my nerves. I got quite the thick skin. *pats belly* ;P

πŸ‘: 0 ⏩: 1

May-Shad In reply to Valognir [2018-08-27 14:31:03 +0000 UTC]

i see, you're the same kind as me then xD yay ! the never-angry club !



well then the small question i have is, in those bix boxes, is it possible to push the image to the midle a bit ?

i mean i made this and it bother me that the image are so much to the side :<

is it possible to make the largeness only at 80% etc ? i tryed to changed with the "100%" thingy in the code but it doesn't looked like it changed anything.


and yeah i thought about puting empty png space on the image itself but i would rather not :'l



sorry again for the very annoying question xD it's all fine if you don't know really !

[i ask anyway but i'm guessing it's not possible without re-doing the entire "large box" code so... yeah... ;w;]

πŸ‘: 0 ⏩: 1

Valognir In reply to May-Shad [2018-08-29 19:56:11 +0000 UTC]

Oh uh... Well, I have an idea. There's a hand full of classes called p, pp, ppp, pppp.... Those add a padding. So, if you were to add a div like this...


<div class="pppp">

containing your content

</div>


it adds a padding to all sides, including above and below. You can stack that div too, like this...


<div class="pppp"><div class="pppp"><div class="pppp">

containing your content

</div></div></div>


But overdoing it could turn out bad, especially on smaller screens. (Always keep those in mind when designing!)

So, uh, I guess you can try that. And feel free to show me your progress and ask more stuff. I'm slow with replies, cuz I'm inexcusably lazy, but yea, I'll help.

πŸ‘: 0 ⏩: 1

May-Shad In reply to Valognir [2018-08-29 20:14:49 +0000 UTC]

oh so it's what the "pppp" are for ! i was wondering when seeing them in code xD


it's working all nice but the padding above the texte bother me, does one of the ppp thing have one where it aply only to the side and not to the top ? or maybe another div ?

rn i'm gonna try and trick the thing by placing it after texte and such but i don't think it'll look how i want.



yes i try to remember to not stretch to much the code cause it would end up looking glithced on others screen :'l



it's fine dw ! it's really nice of you to take the time to answer anyway ! ;w;/

πŸ‘: 0 ⏩: 1

Valognir In reply to May-Shad [2018-09-01 18:03:15 +0000 UTC]

The ppp classes are all around padding. I'm not sure if there are ones that only add padding to the sides.

πŸ‘: 0 ⏩: 1

May-Shad In reply to Valognir [2018-09-02 05:43:03 +0000 UTC]

i see, well rip then :c


and thanks again for the help buddy ! xd

πŸ‘: 0 ⏩: 0

PasxtelAlien In reply to ??? [2018-08-11 07:35:49 +0000 UTC]

does this only work for core members?

πŸ‘: 0 ⏩: 1

Valognir In reply to PasxtelAlien [2018-08-11 09:15:36 +0000 UTC]

Yes

πŸ‘: 0 ⏩: 0

jerrtato In reply to ??? [2018-03-20 17:08:08 +0000 UTC]

All Hail the Daemon

πŸ‘: 0 ⏩: 0

0-P-A-L In reply to ??? [2018-02-27 10:59:42 +0000 UTC]

Hi This is really helpful, but I want to put text in front of the image i have. Can you please show me how to do that?

πŸ‘: 0 ⏩: 1

Valognir In reply to 0-P-A-L [2018-02-28 21:03:31 +0000 UTC]

Sure thing, bud! Can you put the code on your page, to the point you get it working, so I can see what exactly you want to do?

πŸ‘: 0 ⏩: 1

0-P-A-L In reply to Valognir [2018-02-28 23:30:13 +0000 UTC]

Oh silly me, I've got it working now, tysm for the code!

But now I have a new question, how do I make it so that the text isn't directly touching the edges of the box? It looks a bit odd in my opinion.

πŸ‘: 0 ⏩: 1

Valognir In reply to 0-P-A-L [2018-03-01 12:52:36 +0000 UTC]

Huh, weird. TheΒ <div class="pppp"> part should prevent that from happening. You could try adding it in front of the content that causes problems? If you do that, don't forget the closing tag </div> tho. It goes after the content you need to have more room for.

πŸ‘: 0 ⏩: 1

0-P-A-L In reply to Valognir [2018-03-01 19:23:08 +0000 UTC]

Alright I'll try that thank you! Have a great day and thank you for your time!

πŸ‘: 0 ⏩: 1

Valognir In reply to 0-P-A-L [2018-03-01 21:01:41 +0000 UTC]

You're welcome. ^^

πŸ‘: 0 ⏩: 0

muttcuts In reply to ??? [2018-02-09 03:20:02 +0000 UTC]

Hey! I know it's been a while, but I think you had a custom box code that made the background super big and fitting? I really liked that code, but I can't seem to find it. Did you happen to remove it by any chance, or am I just blind ahh?

πŸ‘: 0 ⏩: 1

Valognir In reply to muttcuts [2018-02-09 17:46:35 +0000 UTC]

I have no set code for it, but I know how to do it. Just add 'width="100%"' to the img tag, so it looks kinda like '

muttcuts In reply to Valognir [2018-02-12 15:34:56 +0000 UTC]

hmm okay!Β 

thank you!
maybe it was another code maker who was similar to you? idk, i just remember the dark aesthetic ahah

πŸ‘: 0 ⏩: 0

NOONMOONTEA In reply to ??? [2018-01-31 19:50:45 +0000 UTC]

Can this work for content holders?

πŸ‘: 0 ⏩: 1

Valognir In reply to NOONMOONTEA [2018-01-31 19:55:18 +0000 UTC]

When you use this code, anything you put in will be stretched. So, content holders as well, yes.

πŸ‘: 0 ⏩: 1

NOONMOONTEA In reply to Valognir [2018-01-31 19:57:15 +0000 UTC]

Whoa, such a fast reply. Thank you! I'm struggling right now though. Can I still keep my green text if I use your code?Β 

πŸ‘: 0 ⏩: 1

Valognir In reply to NOONMOONTEA [2018-01-31 19:59:42 +0000 UTC]

Coincidence. I'm not checking my dA every 5min. No, that's not a thing I do. (Yes, it is. xD)
In theory, any other code you already use, or want to use in the future, should work in combination with this. If you run into any problems, feel free to contact me.

πŸ‘: 0 ⏩: 1

NOONMOONTEA In reply to Valognir [2018-01-31 20:00:30 +0000 UTC]

HA. Should I note you?

πŸ‘: 0 ⏩: 1

Valognir In reply to NOONMOONTEA [2018-01-31 20:01:35 +0000 UTC]

That would be best, yes. ^^

πŸ‘: 0 ⏩: 0

Rhazzari In reply to ??? [2017-12-02 03:17:46 +0000 UTC]

Hello! Do you know how can I do a less wider limit? I was looking for a code that makes box wider, but I didn't want it to fill all the box, I just wanted it to be a little bigger. Is there a way to do that? :c

πŸ‘: 0 ⏩: 1

Valognir In reply to Rhazzari [2017-12-02 03:19:49 +0000 UTC]

Sadly no, or at least none I have found yet. DeviantArt broke almost all ways to get wider boxes years ago. This is one of the last remaining. Sorry

πŸ‘: 0 ⏩: 1

Rhazzari In reply to Valognir [2017-12-02 03:24:09 +0000 UTC]

How sad ;-; Thanks for answering anyway! And for the code! Yours is one of the few ones that still works o3o

πŸ‘: 0 ⏩: 1

Valognir In reply to Rhazzari [2017-12-04 01:18:45 +0000 UTC]

Oh, you're welcome. ^^
Feel free to ask for help, whenever needed.

πŸ‘: 0 ⏩: 1

Rhazzari In reply to Valognir [2017-12-06 00:17:32 +0000 UTC]

Thanks, bud! :3

πŸ‘: 0 ⏩: 0

Sophia-Eowyn In reply to ??? [2017-11-29 15:01:57 +0000 UTC]

Thank you so much for this great code! It works for me

πŸ‘: 0 ⏩: 1

Valognir In reply to Sophia-Eowyn [2017-11-30 03:57:09 +0000 UTC]

And thank you for the positive feedback. ^^

πŸ‘: 0 ⏩: 1

Sophia-Eowyn In reply to Valognir [2017-11-30 13:06:16 +0000 UTC]

My pleasureΒ 

πŸ‘: 0 ⏩: 0

LynKofWinds In reply to ??? [2017-11-26 00:11:46 +0000 UTC]

Hey, I don't know if you're still replying to comments on this, but I could really use some help. I've tried multiple wide content codes and none of them work. The first time I tried it, it worked great. I went in to edit something once, changed my mind (so I didn't touch the code at all), and basically once I hit save it stopped working. My issue is that the image for the background wont stretch now. The higher I set the width for the image, the more blank space I have below the image. I've tried literally everything and nothing seems to fix the background...

πŸ‘: 0 ⏩: 1

Valognir In reply to LynKofWinds [2017-11-30 03:54:02 +0000 UTC]

Heya,Β 
sorry for the late reply. I kinda kept in the background for a while.
Do you still need help?

πŸ‘: 0 ⏩: 1

LynKofWinds In reply to Valognir [2017-12-01 03:02:54 +0000 UTC]

I was searching through the depths of dA and found a wide box code someone else shared, and it worked for me, which is great. However, I do still have a question. Would you happen to know how to add a scroll bar to a custom box that is using the wide box code? I have my pile of stamps, and what I was hoping to do was have the box be wide, like the rest of my boxes, and to be able to scroll the content without the background disappearing. So basically, like a regular scroll box, except the content gets to be wider. Hopefully I'm making any sense? lol

πŸ‘: 0 ⏩: 1

Valognir In reply to LynKofWinds [2017-12-01 04:17:49 +0000 UTC]

I can't provide support for the codes others made.

My code has the functionality of turning into a scrollbox when your content is longer than the height you set. The background won't move, thus not disappear.

πŸ‘: 0 ⏩: 1

LynKofWinds In reply to Valognir [2017-12-01 06:03:32 +0000 UTC]

I have zero clue what I did right this time or wrong last time, but I managed to get it to work (snd scroll how I wanted). Thanks so much for help, sorry for the hassle.Β 

πŸ‘: 0 ⏩: 1

Valognir In reply to LynKofWinds [2017-12-04 01:17:40 +0000 UTC]

No problem, glad you could figure it out. Saves me the work. ;P Hehe, good luck for future coding.

πŸ‘: 0 ⏩: 1

LynKofWinds In reply to Valognir [2017-12-04 04:05:00 +0000 UTC]

Thanks! (:

πŸ‘: 0 ⏩: 0

Rexxxasaurus In reply to ??? [2017-09-16 05:03:33 +0000 UTC]

Hello! I tried using your code but it really messes up my BG...

gyazo.com/5cf506ef814c0d7656b3… Not sure what I can do about this? Any idea?

πŸ‘: 0 ⏩: 2

Valognir In reply to Rexxxasaurus [2017-11-30 03:55:26 +0000 UTC]

Heya,
do you still wish to use this code?

πŸ‘: 0 ⏩: 0

abigaia In reply to Rexxxasaurus [2017-09-17 22:27:16 +0000 UTC]

Try setting the width of your background images to 100%. Would also look better with these 'wide' custom boxes on all kinds of monitors.

πŸ‘: 0 ⏩: 0

x-Riivenge In reply to ??? [2017-08-18 14:04:31 +0000 UTC]

Hello, I love your code, just a question, I am re-designing my profile and you can still see the <*div class="pppp"*> at the end of the longer art? Where as the Kaiba one I removed it and it worked fine. Though on The dbz art removing it makes the image have space on the side rather than stretch all the way. Any assistance you can provide? I don't really like the coding showing at the bottom.

πŸ‘: 0 ⏩: 1

Valognir In reply to x-Riivenge [2017-11-30 03:56:14 +0000 UTC]

Heya,
I'm kinda late, huh. Your core ran out. Sorry 'bout that.

πŸ‘: 0 ⏩: 0

Soleminter In reply to ??? [2017-08-05 05:33:59 +0000 UTC]

YO DUDE THANK YOU ;;
IT WORKS AS SO WELL, I JUST HHHH <33

πŸ‘: 0 ⏩: 1


<= Prev | | Next =>