Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

if i wanted to change the background or add things

Aloittaja Monkey50, elokuu 26, 2011, 10:13:28 AP

« edellinen - seuraava »

Monkey50

how do i add my own css or html code or add a background picture i kno you have to go to the files but how do i get there

All Colours Sam

you will normally edit files with your FTP program:

How do I use FTP? / What is FTP?


the files to edit will be  /Themes/your theme/index.template.php

and depending on your forum version,

/Themes/your theme/css/index.css   for 2.0

/Themes/your theme/style.css  for 1.1.x



where  "your theme"  is the theme's name that you are currently using.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Monkey50

can i find theme/ so on on my forum or my host area

All Colours Sam

on your server, take a look at the link I gave.

You can also find it on your hosting area via a file manager tool.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki


Monkey50

can i just uload a background picture not that great with css

All Colours Sam

yes you can, you can add your background in the  body



body {



}


take a look at some css tuts

Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Monkey50


All Colours Sam

It depends on what smf version you are using:

1.1.x  /Themes/your theme/style.css


2.0  /Themes/your theme/css/index.css
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Monkey50

when i click on index.css it opens up to my files on my pc

All Colours Sam

Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki


Monkey50

having some trouble. does what you told do the bits the arrow is pointing at. sorry about going on i am learning good but this is very hard

All Colours Sam

Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Monkey50

you want a link. all i want to is to change to blue bit in to a picture

All Colours Sam

Yes, a link is necessary here since I'm going to use Opera/dragonfly  on your forum to tell you exactly the css bit that controls the background,  but it is your decision.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki


All Colours Sam

ok the background image is located in your /Themes/smf-curve/css/index.css

/* Set a fontsize that will look the same in all browsers. */
body
{
   background: #E9EEF2 url(../images/theme/backdrop.png) repeat-x;
   font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
   margin: 0 auto;
   padding: 15px 0;
}


the image is this:

/images/theme/backdrop.png


and is located in /Themes/smf-curve/images/theme/backdrop.png
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Monkey50

so would i just replace the backdrop image to get what i want

Gary

That is the simplest method, yes. You may still need to edit the background colour though. (#e9eef2)
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.

Advertisement: