Jump to content

[SOLVED] User Custom CSS! How do I... Please Help!


pkirsch

Recommended Posts

Hello!

 

I am trying to (on my site) make a part in which (after the user logs in) they can (under their settings page) choose from a dropdown a list of CSS templates I've made (so whenever they login it changes to their chosen template) and i would even like to have the option to upload their own CSS file and apply it!

 

 

This is really being stupid and annoying!

So i would like to know what "You" think is the best Method for achieving this??

 

Thanks so Much and Have a Great Day! 

:D pkirsch

<?php

header("Content-type: text/css");

$white = '#fff';

$dkgray = '#333';

$dkgreen = '#008400';

?>

body {

background:<?=$white?>;

color:<?=$dkgray?>;

}

h1, h2, h3, h4 {

color:<?=$dkgreen?>;

}

blockquote {

color:<?=$dkgreen?>;

}

 

 

you can controll all the stuffs by get variable

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.