Skip to main content

Forums » Art & Creativity » Can't find the support code...??

Sarah Xyel (played anonymously)

So i've been coding myself a new CSS template for my character, but the one thing I can't seem to find is any of the new native column support code.

I swear I saw it posted somewhere (might just be me, cause I think I see a lot of things that I don't-) but i can't find it...help??
Sanne Moderator

Hey! It was posted on the Unofficial RPR Discord server, but I also have it handy here:
Code:
.row {clear: both; margin-bottom: 2rem;} .row_end {clear:both;} .rows { margin: 0 40px;} ul.widgets {list-style-type: none; padding: 0; margin: 0;} .col-11,.col-10,.col-9,.col-8,.col-7,.col-6,.col-5,.col-4,.col-3,.col-2,.col-1 {float: left; padding-right: 15px; padding-left: 15px; box-sizing: border-box;} .row > div:first-child {padding-left: 0;} .row > div:last-child {padding-right: 0;} .col-1 {flex: 0 0 8.3333333333%; width: 8.3333333333%;} .col-2 {flex: 0 0 16.6666666666%; width: 16.6666666666%;} .col-3 {flex: 0 0 24.9999999999%; width: 24.9999999999%;} .col-4 {flex: 0 0 33.3333333332%; width: 33.3333333332%;} .col-5 {flex: 0 0 41.6666666665%; width: 41.6666666665%;} .col-6 {flex: 0 0 49.9999999998%; width: 49.9999999998%;} .col-7 {flex: 0 0 58.3333333331%; width: 58.3333333331%;} .col-8 {flex: 0 0 66.6666666664%; width: 66.6666666664%;} .col-9 {flex: 0 0 74.9999999997%; width: 74.9999999997%;} .col-10 {flex: 0 0 83.333333333%; width: 83.333333333%;} .col-11 {flex: 0 0 91.6666666663%; width: 91.6666666663%;} .col-12 {width: 100%;}

If you place this somewhere near the top of your code it should let your template support columns!
Sarah Xyel (played anonymously) Topic Starter

Oh thank youuu!
Kim Site Admin

Sanne Moderator

Kim wrote:

AWESOME!

You are on: Forums » Art & Creativity » Can't find the support code...??

Moderators: Mina, Keke, Cass, Claine, Sanne, Dragonfire, Ilmarinen, Darth_Angelus