Replies

Jul 25, 2015 10 years ago
Crobat
needs a vacation!
User Avatar
Noizu

The coding I need help with is on Noizu's pet profile. I am trying to make the text easier to read for the column on the left, the minion and the pet info itself. (Not the text in the box, obviously.) Preferably I would like the text to be a different color. Also I am having trouble with getting the pet spotlight and friends to show up. Any help would be greatly appreciated.

Originally Golbat [img align=right]http://static.pokemonpets.com/images/monsters-images-300-300/169-Crobat.png[/img]

Jul 25, 2015 10 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

to change the color of all text on the profile, use this code:

{background-color:transparent;height:auto!important;color:;font-size:12px;}

change the hex color value and the font size to your liking.

you won't be able to see the pet spotlight link while logged in, you would have to check in a different browser to help position it. also make sure you have enabled spotlight nomination for that pet (which you can do on THIS page). and if your pet doesn't have any friends, that section won't be visible anyway. once you've ensured both of these things, here are the codes you should use to position those sections:

.pet_spotlight{position:absolute; top:100px; left:100px;} {position:absolute; top:0px; left:0px; display:none}

change the top and left values to position each section. again, you will have to continually check in a different browser to make sure the spotlight link is going where you want it to.

Jul 25, 2015 10 years ago
Crobat
needs a vacation!
User Avatar
Noizu

thanks for the help I will try this when I am on a desktop and not the tablet later today. If It still doesn't work I will ask for your help again.

Originally Golbat [img align=right]http://static.pokemonpets.com/images/monsters-images-300-300/169-Crobat.png[/img]

Jul 25, 2015 10 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

no problem, i know sometimes coding can be finnicky (just earlier i couldn't style my bold text, turns out i had to style "strong" text as well!) and while i am by no means an expert (my coding style is pretty much just "does this break everything or not?") i'm happy to help where i can.

Jul 25, 2015 10 years ago
Crobat
needs a vacation!
User Avatar
Noizu

so far I am only able to get the pet spotlight on the page. I can't change the font color nor see the pet friends and I believe it may have to do with the background of the profile.

Originally Golbat [img align=right]http://static.pokemonpets.com/images/monsters-images-300-300/169-Crobat.png[/img]

Jul 25, 2015 10 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

ok well the other way i can think of is to change the font color of each section individually, so in the brackets of each section you would add:

color:;

so for example, to change the color of the text in the minion section you would do:

{color:;}

just do that for each section (minion, spotlight, pet color, owner, stats, etc) that you want to change the color of.

if you've made sure your pet has friends and that section still isn't showing, you might have to adjust the z-index (basically whether it goes in front of or behind other elements of the profile. so that would look like this:

{z-index:5;}

just keep adjusting the number until it shows up.

Jul 25, 2015 10 years ago
Crobat
needs a vacation!
User Avatar
Noizu

alright I will try that, thanks.

Originally Golbat [img align=right]http://static.pokemonpets.com/images/monsters-images-300-300/169-Crobat.png[/img]

Please log in to reply to this topic.