Creating Themes for SMF 2.0 - 01 The Basics

Started by forsakenlad, November 22, 2009, 11:21:21 AM

Previous topic - Next topic

flutter

I'm having problems with this right off at the start.  Firstly I recoloured all the images that needed coloured and applied them.  I've done this before with my 1.1 site, it's not as easy with 2.0rc3.  I have tried recolouring the background and all I'll get is a block at the top of the forum and the rest remains grey, I hate that grey, I'm tying to go for naturals.  I've tried the repeat-y and repeat-x and also have tried no-repeat and still all I get is the top block sorted and the rest is grey.  I tried to use a background image and still the same thing.

Now for me, I'm thinking it's one of the blocks I've recolired that is sitting there in the background.  To test this I made them transparent one by one and lost the background of the drop down at one point.  I still can't work out which is which on that main_block.  I'm sure it's one of those that could be causing this but have no clue which one.

I also want to change font, etc.  Did you ever update this tutorial somewhere else that might provide the answers to this?

hcfwesker

I'm new to 2.0 RC4, (wanting to migrate from 1.1.11) and trying my best through trial & error  :(

I can't get the font color changes, and seen it in this guide, but the css code looks like this ...

/* use dark grey for the text, leaving #000 for headers etc */
body, td, th, tr
{
   color: #FFF;
}

It's only 3 digits ... I've tried random combinations, but just want my overall themes font color to be white.



hcfwesker

I hve tried, http://www.simplemachines.org/community/index.php?topic=409716.msg2855040#msg2855040 , for some reason no matter what i changed those 3 digits to, i still get black as my text color :( 

And i know this is simple, it's simple on smf1 , but it won't work for me on smf2

Gary

Depending on what you're trying to edit, the body class wont change it. Some classes have their own colours which overrides it.

I saw your post here: http://www.simplemachines.org/community/index.php?topic=409440.0 and replied to it. My offer to offer you guidance does still stand. Send me a PM if you're interested.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

logon68

thanks for the great information.
logoian.com

rocknroller

why i can not find in acp member options for my theme?
there is member options for curve, core, and one other but one missing.

cowdude

Quote from: KiroBot on July 03, 2010, 08:26:05 PM
How do you change the color of these(circled in red)


I am not sure this was answered.  This is my problem as well.  My site is www.walktothelight.com.  I am trying to change those bars from a BLUE-GRAY to a GRAY.  I have the color but can't find the file.  I think I have changed every color twice.

Please be very specific if you can as to the "location".  I have learned a lot with SMF and everyone's help.  The only place I feel ignorant still is the colors & themes.

Thanks in advance!

Cowdude in Dallas!
Left or right meet me at THE WATER COOLER to discuss your political views.

Illori

background: url("../images/theme/main_block.png")  it does not look like css colors set the color for that part. you may want to look into the developers tools for your browser like firebug and dragonfly

cowdude

So, all my changes were useless because it's a picture, correct?  I think I lost a lot of sleep last night for no reason!

Kurt
Left or right meet me at THE WATER COOLER to discuss your political views.

Illori

yes it is a picture not a css color change

Hj Ahmad Rasyid Hj Ismail

Quote from: cowdude on April 05, 2011, 12:03:43 PM
So, all my changes were useless because it's a picture, correct?  I think I lost a lot of sleep last night for no reason!

Kurt
I did that sometimes before. Now, I never forget.

ʜᴏᴍɪᴄɪᴅᴇ

Can someone make a Video tutorial

Some people like me are more visual learners


Garou

There are a couple on youtube already

http://www.youtube.com/watch?v=869rhy0CVMs

http://www.youtube.com/watch?v=wvCydDASD88

They are a little old and some things may have changed a bit but you should get the gist.

ʜᴏᴍɪᴄɪᴅᴇ

Quote from: Garou on June 22, 2011, 08:39:39 PM
There are a couple on youtube already

http://www.youtube.com/watch?v=869rhy0CVMs

http://www.youtube.com/watch?v=wvCydDASD88

They are a little old and some things may have changed a bit but you should get the gist.

Thanks!


web tasarım

Thanks for your awesome tutorial about theme developing, I will use Smf in my site in a short time, I will request help in the near future more, but noticed that this forum will help me alot.

Willie

I want to remove the avatar in header user area.  How do I modify the PHP file?

Willie

Got it. Your tutorial is good.  display: none;  did it.  Thanks

Don Houston

I am not seeing how to create a picture background.  I would like to have like a Flag instead of a solid color

Clara Listensprechen

Quote from: Don Houston on October 26, 2011, 02:37:20 AM
I am not seeing how to create a picture background.  I would like to have like a Flag instead of a solid color
Over the content area, or the header part?  They're handled separately.
I shall continue to be an impossible person so long as those who are now possible remain possible. {Michael Bakunin 1814-1876}

Advertisement: