Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Joe H - joulukuu 23, 2011, 02:32:01 IP

Otsikko: logo to the left
Kirjoitti: Joe H - joulukuu 23, 2011, 02:32:01 IP
I just upgraded to 2.0.2 from 1.16

Now my logo is to the right. How do I center it to the left?

http://russiantortoisepictures.com/forum/index.php
Otsikko: Re: logo to the left
Kirjoitti: kat - joulukuu 23, 2011, 04:39:14 IP
Centre it to the left...



Which? Centre? Or, left?
Otsikko: Re: logo to the left
Kirjoitti: avisona30 - joulukuu 23, 2011, 05:18:41 IP
How to add my own logo in the left side of the top in the default core theme in smf 2.0.1
Otsikko: Re: logo to the left
Kirjoitti: sadaam - tammikuu 02, 2012, 03:59:47 AP

Here you go

Admin > Themes and Layout >Modify Theme

Select your desire theme which you are using for your forum. You see following 3 option

   
    Browse the templates and files in this theme.
    Edit this theme's stylesheets.
    Copy a template from the theme this is based on.


Click on Edit this theme's stylesheets.

You see 3 stykesheets

index.css
index.php
rtl.css

Now click on index.css

By using ctrl+f find

#logo {
   position: absolute;

And below that line you see like this

   top: 5px;
   right: 84px;
   display: block;
   width: 182px;
   height: 52px;
   cursor: pointer;
}

Now adjust your logo by changing top,right... etc values your forum page auto refresh and you easily see the change position of your logo i hope this will help i try ma best to explain.