Is it Possible to Change the Default CSS
File for Xsitepro?
How do I edit the default css settings. I need
to change the link color from default to something
else.
Is there a short cut?
==========================
The short answer is no.....you cannot directly
change it, however, you can overwrite the existing Xsitepro CSS
file.
Jason for the Xsitepro forum explains:
That you "put the code below in the Head
section of the Global scripts on the Other Tab." Meaning, if
you want to change the particular style setting of a site you
simply add it to the Head Section in the Global Scripts Button
which is in the Other Tab.
For instance say you wanted to change the look
of your hyperlinks...you would add the following code to the
head section as stated above:
<style>
A:link {color: blue;
text-decoration: underline;}
A:visited {color: blue;
text-decoration: underline;}
A:active {color: blue;
text-decoration: underline;}
A:hover {color: red;
text-decoration: none;}
</style>
Jason also takes care of this question:
I have asked many time how to set
H1, 2 etc tags for a site globally.
<style>
h1{
font-family:Tahoma;
font-weight:normal;
font-size:18pt;
text-align:center;
color:#ff0000;
}
</style>
========================
As you can see, you simply add your desired css
styles locally by including them in the head of the
webpage.
For more information on how to change the look
of text with css styles, just google "css tutorials" and you'll
find enough to read for the next week or more :)
|