Log In · Register

 
 
Closed TopicStart new topic
Few question about classes
zaher1988
post Sep 25 2006, 08:34 AM
Post #1


Member
**

Group: Member
Posts: 25
Joined: Sep 2006
Member No: 467,408



SO i was wondering how can i read into the templates of myspace so that if i have made my custom CSS class and i was to assign to some code in a template.

Let's say i wanna change the class of the text where it says "123 Friends Comments", it is by default orangetext15 so let's say i dont wanna edit this class, rather i have made my own, and wanna replace it here.

any idea?
 
freeflow
post Sep 25 2006, 08:35 AM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



You would have to hide it then place a div over it. Then put the text in that div to that class. Or just change the orangetext15 style to the style of the new class.
 
zaher1988
post Sep 25 2006, 10:51 AM
Post #3


Member
**

Group: Member
Posts: 25
Joined: Sep 2006
Member No: 467,408



NO i dont want to edit that class (orangetext15).
I have created my own class.

So how to hide that text?
and how do u get to the html codes of that part so you can edit the html and add the div?
 
*Azarel*
post Sep 25 2006, 12:19 PM
Post #4





Guest






To remove that class, insert this into your About Me or Who I'd Like To Meet:
<style type=text/css>
.orangetext15 {display:none;}
</style>

Um.. if you want to "replace" the text there, so to speak, just put in your html that you want replacing the original text at the top of those fields (About Me & Who I'd Like to Meet).
 
zaher1988
post Sep 25 2006, 01:04 PM
Post #5


Member
**

Group: Member
Posts: 25
Joined: Sep 2006
Member No: 467,408



No i want to replace "orangetext15" with my own new class

e.g

CODE
class="orangetext15"

becomes
CODE
class="my_class"
 
*WHIMSICAL 0NE*
post Sep 25 2006, 05:00 PM
Post #6





Guest






You can't change the classes.
You can edit their appearance though.
 
jp2b
post Sep 26 2006, 12:03 AM
Post #7


Senior Member
***

Group: Member
Posts: 72
Joined: Sep 2006
Member No: 463,281



the closest you could get to what your talking about would be like below
CODE
.orangetext15,
.my_class {
font-size:8px;
}


with that your making the .orangetext15 match your .myclass rules
 
zaher1988
post Sep 26 2006, 01:12 AM
Post #8


Member
**

Group: Member
Posts: 25
Joined: Sep 2006
Member No: 467,408



Jp2b thx but it is not what i want.
It is just i want to have them different, because i need to use them for 2 different places and with 2 different looks.

SO it seems like with myspace you can't get more deeper than CSS and easily edit the HTML, because all i'm asking for is editing the heart of the HTML codes used in myspace templates.
 
freeflow
post Sep 26 2006, 08:57 AM
Post #9


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Yea basically you can't do what you want. Plus its myspace you are very limited.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: