Welcome, Guest. Please login or register.
Did you miss your activation email?
July 30, 2010, 12:08:49 PM
Home Help Search Login Register
News: This is the supporting forum for http://www.xippy.co.uk the clan website provider

XippY Clan Website Forum  |  General  |  Howtos/Tutorials  |  Topic: [HOW TO] CSS Code Example 1 - The Basics 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: [HOW TO] CSS Code Example 1 - The Basics  (Read 1679 times)
iamtheoneneo
i
**
Offline Offline

Posts: 66



« on: March 17, 2009, 01:36:28 PM »

 Cheesy
Not sure when the official guide will come out but thought i would write a small guide about some CSS code implementations, will update as i go along, hopefully some clans may find this useful. Unfortunately Xippy are yet to implement full customization , so theres only a limited amount you can do at present.

To add CSS code enter your CP and go to main settings.
You can simply change the colour to your needs by using a hex generator. (google)
You can see all these in motion on my site: www.rgaming.co.uk

Where i put (in p) this means place the code in the p{} brackets else all other code belongs on its own line within the <style> area.hopefully thats simple to understand. Tongue

Change Hyperlinks:
Code:
<style type="text/css">
a:link {
COLOR: #3299CC;
}
a:visited {
COLOR: #FBEC5D;
}
a:hover {
COLOR: #91219E;
}
a:active {
COLOR: #FF1CAE;
}
</style>

Change main text (colour and size):
Code:
<style type="text/css">
p {color: #B4CDCD;  font-size: 1 em;}
</style>

Alignment (in p)
Code:
text-align: center;

Tighten up line spacing (in p)
Code:
line-height: 1.2em;

Change Font - doesnt apply to forums though Huh? (in p)
Code:
font-family: Georgia, sans-serif;

Font Bold
Code:
font-weight: bold;

Change background colour of anything in bold
Code:
b {background-color: #E2DDB5; }

image under text - great for watermarking!
Code:
p {background-image: url(http://yoururl); background-repeat: no-repeat; }
« Last Edit: April 16, 2009, 11:29:25 PM by Paul » Logged

Digger
X
*
Offline Offline

Posts: 19


« Reply #1 on: March 17, 2009, 01:57:47 PM »

thanks alot looks really nice on my site already, altered the visited link to stay the same colour though.

Cheers Cheesy
Logged
HippY
XippY Admin
Y
*****
Offline Offline

Posts: 947


« Reply #2 on: March 17, 2009, 03:18:19 PM »

Nice one.

Yeah we working on adding in more custom functionality stuff.

Cheers.
Logged
Paul
XippY Admin
Y
*****
Offline Offline

Posts: 1,594


« Reply #3 on: March 17, 2009, 04:06:37 PM »

great stuff.. Hope you don't mind added this to the [HOWTO] Cutomize your site post.
« Last Edit: March 18, 2009, 09:09:12 AM by Paul » Logged
iamtheoneneo
i
**
Offline Offline

Posts: 66



« Reply #4 on: March 17, 2009, 05:34:05 PM »

go ahead, i did want to put it there anyway but couldnt  Undecided
like i said will be updating in a lot more detail over the few weeks, one thing i noticed though is that in the next update it would be good to allow for html in news etc that didnt break up text already there (ie text that hasnt been put in print tags etc)

i was attempting some list css earlier with it globally defined in the main settings and then simply using the corresponding tags in a news item - it worked but if you have normal text there already you have to properly code that aswell. which just takes forever.

basically what im saying is that would be good for the system to pick up on the text you write that isnt html coded and just print it as it is , instead of treating it like a mass of text with zero formatting.
another issue aswell is the bb codes under html conditions.

does that make sense?

im currently doing some coding for pagination, will post in a seperate topic when done as its pretty big. and needs some explaining.
« Last Edit: March 17, 2009, 06:09:39 PM by iamtheoneneo » Logged

Pages: [1] Go Up Print 
XippY Clan Website Forum  |  General  |  Howtos/Tutorials  |  Topic: [HOW TO] CSS Code Example 1 - The Basics « previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!