Tutorial: How to Custom Your OGS Profile Page: A Step-by-Step Guide

How to Custom Your OGS Profile Page: A Step-by-Step Guide

Many people ask me how I custom my profile page. Rikikilord
I usually redirect them to this forum but the instructions aren’t well centralized. So, here is a complete, step-by-step tutorial on how I achieved my custom look.

1. Create a CSS File and Host it on GitHub Pages

The first step is to create a GitHub repository to host your custom CSS file (Cascading Style Sheet), that file will tell how each element of your page should look like.

  1. Go to github.com, sign in, or create a new account.
  2. Create a new repository.
  3. Name the repository using the format: your_github_username.github.io.
  • Note: Your GitHub username should be in all lowercase.**(Image showing the creation of the repository)
  1. Inside this repository, create a new file and name it style.css. I’ll give you some tips on what CSS code to include in this file later on.

2. Link Your OGS Profile to the Stylesheet

Now, you need to tell your Online-Go.com (OGS) profile where to find your custom styles.

  1. Go to your OGS profile page.
  2. Paste the following line of code into the “About” Section of your profile:
<link rel="stylesheet" type="text/css" href="https://username.github.io/style.css">
  • Important: Be patient. It can take some time (10 to 30 minutes) for GitHub Pages to fully deploy and for the styles to appear on your OGS profile.

Customization Tips and Tricks

There is a lot you can do with CSS, but here are a few cool and basic ideas to get you started:

Adding an background image

To make your background span the entire page and use an image from an URL
(To add an custom image, you need to host the image on a website):

.container {
    max-width: none !important;
    background-image: url(the_link_to_your_image);
    background-position: center 0;
}

Styling Titles and Subtitles

You can customize the font, size, and color of the main titles on your page (h1, h2, h3):

h1, h2, h3 {
    font-family: 'Arial', sans-serif;
    color: #00aaff;
}

Flag Counter

Go here https://flagcounter.com/, it’s explicit

How to Check Other Players’ Customizations

If you want to see how an other player custom his profile, you can get his style.css by inspect the page by pressing F12 on his page

View the Player’s “About” Section Content

  1. Copy the player’s ID. This is the number at the end of their profile URL (e.g., 416791 in https://online-go.com/player/416791/).
  2. Paste the player ID into this URL: https://online-go.com/api/v1/players/PLAYER_ID_HERE.
  1. The resulting page is a raw data file (JSON). Look for the section called about to view the content they pasted into their profile.

If you have any questions, feel free to ask me in OGS chat.
I’d like to thank yebellz, Starline, cixidetroy and keil for the creation of that tutorial

13 Likes

This is awesome. Thanks kindly for the step-by-step.

Someday, if I ever reach anywhere near 1d, I will make an effort to spruce up my currently sad-looking profile page. :vulcan_salute:

2 Likes

I think the title is wrong. The better title by my personal opinion is ‘Never Try It: How to Custom Your OGS Profile Page: A Step-by-Step Guide What Not To Do’

Your OGS profile is UI for other users. By redecoration it you make difficulties for them. That how it works. Are you sure want to do it? Is it your real purpose?

I think the only fair use of custom CSS is to format content inside ‘About yourself’ block. I suggest to declare any other customization illegal. This is suggestion for OGS team. @Eugene please consider it.

3 Likes

While I respect your aesthetic view, beauty is in the beholder’s eyes.

Personally, I would not make those same decorating choices, but what’s the harm? If we can’t stand looking at the customized bling, we can simply refrain and/or play elsewhere in this vast community. :man_shrugging:

I appreciate the OP’s time and effort in sharing what they’ve learned. :vulcan_salute:

3 Likes

:joy: guess you weren’t around for the whole Planet Go thing

4 Likes

6 Likes

If you’re referring to the recent wave of incessant invitations, actually I was. If it’s something else, then nope. Ignorance is bliss! :wink:

3 Likes

Wasting the time of users who are looking for something specific on the profile.

It is different. I think we shouldn’t base our decisions solely on the actions of the abusers. Every feature could be misused. Even the Game of GO itself. Should we prohibit GO?

3 Likes

@mikhail.trusfus I sense you have strong feelings about certain things. You’re entitled. :peace_symbol:

1 Like

You make a good point. In that case, I dont see any problem with users adding CSS to their pages :slight_smile:

3 Likes

3 Likes

I suspect many people will appreciate the means to customise a profile or UI of OGS, however, I think there should be an inbedded system that people can just use to do it, like how people can customise go boards. It would make a lot more sense, and in the long run, after all kinks are worked out, then it would cause a lot fewer issues…in the same vein of the Planet Go fiasco.

4 Likes

They can’t. They can customize only how they see boards. It doesn’t affect how other users see boards. I don’t see anything wrong with it.

2 Likes

Does it really matter what people see on your profile if you alter it? same logic could be applied this way.

1 Like

I don’t want to see redecorated profiles of other users. I visit profiles to search for specific info. Custom styles cause lots of difficulties for me.

2 Likes

No doubt… i think having a version of profile aesthetics that only the people who have the profile can see, is for sure the way forward. just exactly how they do it with the boards.

If indeed they want an open and visable thing, Then it should be limited to a select few options that can be voted on in the forums, That wouldnt cause any issues. Im personally against the latter option.

3 Likes

Hehe one more toggle in OGS settings; profiles customization

(Sorry, back to the old copickt can’t find the newest one)

6 Likes

I can only see one thing missing in your cockpit:

I vaguely remember we added something else near the pilot’s right knee, but maybe that was a temporary addition? :face_with_monocle: :joy_cat:

2 Likes

Nah many more were added with each new suggestion, I concede mostly by myself, buy I haven’t keep track lost a phone in between (with the modified pics inside),.. and ofc this kind of pics didn’t come with a commentary so search is useless.

2 Likes

Oh, darn! I’d love to see the additions if you find them one day :slight_smile: