SMF For Free Support Forum
Signup For Free Forum
August 21, 2008, 07:39:25 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: Style help  (Read 926 times)
0 Members and 1 Guest are viewing this topic.
HTLer
SMF For Free Newbie
*
Offline Offline

Posts: 3


View Profile
« on: July 02, 2006, 12:25:31 pm »

I've created a style, it has new buttons and all, but i can't find where to install the style on the forum, how do i do this? and can you give me the colour codes plz? when i click on pick a color, it just goes back to the create a style menu
Logged
SMF For Free
Administrator
*
Offline Offline

Posts: 3308


View Profile WWW
« Reply #1 on: July 02, 2006, 12:39:36 pm »

If by style you mean normal smf theme those can't be installed.

You can only customize the colors of the default theme. Other themes won't work.
Pick a color only for default theme. Color codes are standard html color codes.

SMF For Free

Logged

SMF For Free-Free Simple Machines Forum hosting.
Crasy
Global Moderator
*
Offline Offline

Posts: 3268


I Approve of this Message


View Profile
« Reply #2 on: July 02, 2006, 01:00:32 pm »

google Hexademical Code Chart. There is your colours
Logged

rdemanow
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #3 on: August 15, 2006, 10:21:52 am »

I'm using the SMF Default Theme, and I'm getting the same behaviour.  I created a style, and it shows up in the Style Picker dropdown, but when I click "Pick Style", all I get is the regular background/font colors, even though I changed them in the style definition.

If I "Modify" the style, the custom colors I chose show up in the CSS, but they're not being applied to the theme, even though I'm using the "SMF Default Theme".
Logged
Crasy
Global Moderator
*
Offline Offline

Posts: 3268


I Approve of this Message


View Profile
« Reply #4 on: August 15, 2006, 10:27:44 am »

http://www.smfsupport.com/support/smf-for-free-codes/premade-stylesheets.0.html
Follow the exact directions at the bottom. Except with your own code...not mine.

Now I'm assuming that you are using the style editor properly. When you make a style it already has some CSS in there...you should only change the colours and stuff.
Don't add any new code or take away anything.

It's all working perfectly fine for me
Logged

rdemanow
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #5 on: August 15, 2006, 10:31:28 am »

I've done all that.  It's not changing the colors.

My theme is set to "SMF Default Theme".

I go into "Manage Styles".  I choose "Create Style".  I enter the name "New Green" for the style name. I enter #66CC66 for "Background Color", #003300 for "Font Color", #002200 for "Link Color".  I click on "Create Style".  I get taken back to the main "Manage Styles" page.

I choose the "newgreen" style that it just (supposedly) created, that shows up in the dropdown box, and click "Pick Style".  I get taken back to the man "Manage Styles" page, with no change whatsoever in the background, font, and link colors.

If I now choose "Modify Style", and choose the "newgreen" style that I just created, the background, font and link show up in the CSS code, they're just not being applied.
« Last Edit: August 15, 2006, 10:51:13 am by rdemanow » Logged
Crasy
Global Moderator
*
Offline Offline

Posts: 3268


I Approve of this Message


View Profile
« Reply #6 on: August 15, 2006, 10:35:40 am »

Post your code so we can look at it
Logged

rdemanow
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #7 on: August 15, 2006, 10:53:00 am »

Here's the CSS, directly out of the "Modify Styles" page.

/* Normal, standard links. */
a:link
{
   color: #002200;
   text-decoration: underline;
}
a:visited, a:hover
{
   color: #323232;
   text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
   color: #000000;
   text-decoration: none;
}
a.nav:hover
{
   font-weight: bold;
   color: #cc3333;
   text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
   empty-cells: show;
}

/* By default (td, body..) use Tahoma in black. */
body, td
{
   color: #003300;
   font-size: small;
   font-family: Tahoma, arial, helvetica, serif;
}

/* The main body of the entire forum. */
body
{
   background-color: #66CC66
   margin: 0px;
   padding: 0px;
   background-image: url();
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
   font-size: 9pt;
   color: #000000;
   font-family: Tahoma, arial, helvetica, serif;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
}

/* Selects are a bit smaller, because it makes them look even better Cool. */
select
{
   font-size: 8pt;
   font-weight: normal;
   color: #000000;
   font-family: Tahoma, arial, helvetica, serif;
}

/* Standard horizontal rule.. (

, etc.) */
hr, .hrcolor
{
   height: 1px;
   border: 0;
   color: #666666;
   background-color: #666666;
}

/* A quote, perhaps from another post. */
.quote
{
   color: #000000;
   background-color: #C3B8D0;
   border: 1px solid #000000;
   margin: 1px;
   padding: 1px;
   font-size: x-small;
}

/* A code block - maybe even PHP Wink. */
.code
{
   color: #000000;
   background-color: #cccccc;
   border: 1px solid #000000;
   padding: 1px;
   font-family: "courier new", helvetica, "times new roman", serif;
   font-size: x-small;
   width: 99%;
   margin: 1px auto 1px auto;
   white-space: nowrap;
   overflow: auto;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
   color: #000000;
   text-decoration: none;
   font-style: normal;
   font-weight: bold;
   font-size: x-small;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
   cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
   color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
   width: 96%;
}

/* Highlighted text - such as search results Wink. */
.highlight
{
   background-color: yellow;
   font-weight: bold;
   color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
   color: #000000;
   background-color: #E1E1E1;
}
.windowbg2
{
   color: #000000;
   background-color: #F0F0F0;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here Wink. */
.signature
{
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg td, .titlebg a:link, .titlebg a:visited
{
   color: white;
   font-style: normal;
   background-color: #6B8EAE;
}
.titlebg a:hover
{
   color: #dfdfdf;
}

/* This is used for categories, page indexes, and several other areas in the forum. */
.catbg
{
   background-image: url(images/catbg.jpg);
}

/* This is used for a category that has new posts in it... to make it light up. */
.catbg2
{
   background-image: url(images/catbg2.jpg);
}

.catbg, .catbg2
{
   font-weight: bold;
   background-color: silver;
   color: #000000;
}

/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
   background-color: #828181;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
   border: 1px solid #828181;
   background-color: #FFFFFF;
   padding: 2px;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
   font-size: x-small;
   font-family: Tahoma, arial, helvetica, serif;
}
.normaltext
{
   font-size: small;
}
.largetext
{
   font-size: large;
}

/* This is the white header area where the title, menu bars, and header boxes are. */
#headerarea
{
   background-color: white;
   border-bottom: 1px solid gray;
}
/* This is the main area of the forum, the part that's gray. */
#bodyarea
{
   background-color: #D4D4D4;
}
/* And this is the bottom, where the copyright is, etc. */
#footerarea
{
   color: black;
   background-color: white;
   border-top: 1px solid gray;
}

/* This is for the special header boxes on the top (user info, key stats, news box.) */
.headertitles
{
   background-color: #6B8EAE;
   border: 1px solid #6B8EAE;
}
.headerbodies
{
   border: 1px solid #7A7777;
   background-color: #EFEFEF;
   background-repeat: repeat-x;
   background-position: bottom;
}[/pre]
Logged
SMF For Free
Administrator
*
Offline Offline

Posts: 3308


View Profile WWW
« Reply #8 on: August 15, 2006, 11:16:41 am »

Link to the forum would help
Logged

SMF For Free-Free Simple Machines Forum hosting.
rdemanow
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #9 on: August 15, 2006, 11:19:46 am »

http://100percentpurchase.smfforfree.com/
Logged
rdemanow
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #10 on: August 15, 2006, 11:32:45 am »

I've now also tried modifying the footerarea and bodyarea background-color attributes, and the body are and footer area are still showing up their regular colors after I select my style from the drop-down and click "Pick Style".

For some reason it's just not applying the style.
Logged
rdemanow
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #11 on: August 15, 2006, 12:05:55 pm »

OK, figured it out.  I have to force reload (Shift+reload icon) or my browser doesn't refresh the CSS, even though it's changed.
Logged
SMF For Free
Administrator
*
Offline Offline

Posts: 3308


View Profile WWW
« Reply #12 on: August 15, 2006, 12:14:28 pm »

If there is any improvements that you want to see to the style editor let me know and I will see what I can do.
Logged

SMF For Free-Free Simple Machines Forum hosting.
Crasy
Global Moderator
*
Offline Offline

Posts: 3268


I Approve of this Message


View Profile
« Reply #13 on: August 15, 2006, 12:27:22 pm »

More customizable...simply
Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.409 seconds with 17 queries.