Coding Resources #2's Comments


Hello, Storm here! I am having trubbles wit the bg image. How do i make the whole background stay in place while scrolling? Can someone explain? (So sorry for the bad writing my ceyboard doesent let me write)

Did you use the code below?

class="p-3" style="background-image:url();background-attachment:fixed;height:300px">text

That’s the code to help keep the image in place Assuming this one was used, there was an error, there was a missing bracket after the first div, which i’ve fixed :D

Oml it wont put in the div stuff 😭

Thats Much more helpfull! Do you ave anny ideas how to put a backgroud like behinde everything (i better ask someone as i still can lol)? And thank you!

God damit my keyboard again

Like an image?

where it says style=“background-image:url();background-attachment:fixed;height:300px” and where the brackets after url are is where the url goes, i recommend using postimage.org to get a link, use the direct link it generates though for better chance of it working, and play around with the height until you like it :D

Oki <3

I cannot get the carousel to appear and was wondering if I could have a little help?

I FIGURED IT OUT !!!

This user is not visible to guests.

thank you kind soul!!! I can create slightly more chaos now. 😈

I owe you my soul!! Thank you so much for this

For anyone having issues with the background text color, there is a minor mistake in the code that can mess up the following code! They arent closed properly (I assume a copy-paste mistake), you have to change out </div> with </span>


These are the codes im referring to VVVV

purple background, text only background + padding

<span class="p-1" style="background-color:purple">purple text</div>

#AB2E2E text only background + padding

<span class="p-1" style="background-color:#AB2E2E ">#AB2E2E background</div>

rgb(255,160,122) text only background + padding

<span class="p-1" style="background-color:rgb(255,160,122)">rgb(255,160,122) background</div>

rgb(255,160,122) text only background which is 50% opaque + padding

<span class="p-1" style="background-color:rgba(255,160,122,0.5)">rgb(255,160,122,0.5) background</div>

hello ! I have small question how for example do larger text that is some other color than white?

Years late reply, but i think you can do smth like style=“color:#COLOR_HEX” Dont quote me on that though, im literally only js starting to familiarise myself with HTML lmao

Jeez came here to thank you!!!! I didn't knew it was even possible to do so many things in here!!!!!! Gonna share it with my friend cuz we're dummies :D

vbs

HOLY SHIT THIS IS SO HELPFUL THANK YOU

html is so confusing even with having past forum coding experience

This user's account has been closed.

Whoops, looks like I was sloppy in my copy-pasting! I fixed it :)

I'm trying to change the pictures on my commissions page into the carousel w/ indicators & controls, but it seems to mess up when I add more than one of them. Here's what's happening, do you think you can help fix it? 

Carousels with controls rely on the "id=name" element. This means that each individual carousel has an id attached to itself. If you look in my resources, I didn't just assign "id=carousel" to each carousel, but the first one had "id="carousel", the second one "id=carousel2" etc. 

What goes wrong on your end is that you named both your first carousel and your second carousel the same id, so when you use the controls of the second carousel, it will control the first carousel. Make sure to both assign a unique id to each carousel, and change said id in the href that controls the unique carousel!

I have marked up the code to show which elements are relevant here. The text marked in yellow should be the same inside one carousel, but different between two. So in your feral examples that should be "id=feral" and "href=#feral" across the whole carousel, in humanoid "id=humanoid" and "href=#humanoid" or whichever name you give 'em ;v;

Carousel.png

Please let me know if that explains the issue! I am not the best at explaining these things :'D

Thanks for the explanation, this helped out a lot! ^^