Copywriters Board
Forum Rules
Go Back   Copywriters Board > Discussion Forums > Off-Topic Discussion
Reload this Page Personal Board Theme
Off-Topic Discussion Topics other than copywriting or marketing. Can't find a forum for your topic? Post it here. No flaming!

Notices
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink) Old
Senior Expert
vdmp is on a distinguished road
 
vdmp's Avatar
 
Posts: 498
Join Date: May 2008
Location: San Diego, CA
Rep Power: 1
Friends: 5
Default Personal Board Theme - 07-02-2008, 08:18 AM

I needed a different look and I figured out how to create a custom theme for the board in Firefox. Here's how:

1. Install the GreaseMonkey Add-On.
2. Create a new script (Tools -> Greasemonkey -> New User Script).
3. Enter params.
a. Name: Copywriters Board Theme
b. Namespace: http://www.copywritersboard.com
c. Description: Copywriters Board Theme
d. Includes: http://www.copywritersboard.com/*

4. It may ask to choose a text editor. Navigate to your favorite and click Open or Ok.

5. At this point you can enter Javascript to change tag attributes like widths or font and color styles. Here's a basic one.

Code:
// ==UserScript==
// @name           Copywriters Board Theme
// @namespace      http://www.copywritersboard.com
// @description    Copywriters Board Theme
// @include        http://www.copywritersboard.com/*
// ==/UserScript==

// background color
document.body.style.background='#006';

// content width
document.getElementsByTagName("table")[0].width='90%';

// expands posts
var divs = document.getElementsByTagName("div");
for(var i=0; i < divs.length; i++) {
    var div = divs[i];
    if ( div.style.width=='760px' ) {
        div.style.width="100%";
    }
}

var theRules = new Array();
if (document.styleSheets[0].cssRules) {
    theRules = document.styleSheets[0].cssRules;
} else if (document.styleSheets[0].rules) {
    theRules = document.styleSheets[0].rules;
}
// post quote, profile (alt2)
theRules[20].style.fontSize = '0.8em';
theRules[20].style.color = '#333';
theRules[20].style.backgroundColor = '#dde';
// post (no changes)
theRules[63].style.fontSize = '1.0em';
theRules[63].style.color = '#000';
I hope that helps. Cheers


Kawika O.

If I had a dime for every retail store that "got it" I'd owe $6,139,420.40.

Last edited by Michel Fortin; 07-03-2008 at 05:16 PM. Reason: more code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Google Bookmark this Post!Share on Facebook Bookmark to Sphinn!Twit this!
Reply With Quote
  #2 (permalink) Old
Senior Expert
Kevin Rogers is on a distinguished road
 
Kevin Rogers's Avatar
 
Posts: 419
Join Date: Oct 2007
Rep Power: 2
Friends: 9
Default Re: Personal Board Theme - 07-03-2008, 04:04 PM

There comes a day when every man must ask himself if he is truly spending the limited moments of his life in the most productive way possible.

For you, that day should have been yesterday.


Kevin Rogers
Homepage - Copy Critiques - Blog - Twitter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Google Bookmark this Post!Share on Facebook Bookmark to Sphinn!Twit this!
Reply With Quote
  #3 (permalink) Old
Senior Expert
vdmp is on a distinguished road
 
vdmp's Avatar
 
Posts: 498
Join Date: May 2008
Location: San Diego, CA
Rep Power: 1
Friends: 5
Default Re: Personal Board Theme - 07-03-2008, 11:32 PM

And who said poetry needed to have a point. Well done.


Kawika O.

If I had a dime for every retail store that "got it" I'd owe $6,139,420.40.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Google Bookmark this Post!Share on Facebook Bookmark to Sphinn!Twit this!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
News New Theme: Feature Requests? Michel Fortin Special Announcements 29 07-09-2008 08:08 AM
News Installing new theme Michel Fortin Special Announcements 0 07-01-2008 04:06 PM
What Theme Does Michel Use? tetley07 Off-Topic Discussion 2 09-29-2007 05:04 PM
Free WP Theme for Marketers Michel Fortin Copywriting Discussion 11 09-29-2007 03:51 PM
How to find the theme of your mailing redpadma Copywriting Discussion 2 05-24-2007 10:10 AM



Copyright © 2003-2008 The Success Doctor, Inc. | SEO by vBSEO 3.2.0 RC8 1 2 3 4 5 6 7

Subscribe to The RSS Feed!