Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: AlyssaM - elokuu 09, 2011, 01:24:18 IP

Otsikko: Footer height and copyright
Kirjoitti: AlyssaM - elokuu 09, 2011, 01:24:18 IP
hey there

i have 2 questions
recently i downloaded a theme called silentwave
and i tried to change the image thats displayed in the footer.. that worked just fine
only the height of the footer was too small at first because i didnt see the full image.
so i changed the footer code in index.css like this;

#footer {
padding: 10px 0;
text-align: center;
color: #ccc;
        height: 150px;
background: #d5b6c3 url(../images/custom/footer-bg.png) 0 0 no-repeat;


the image is 150px high so thats why 150^
but the footer was now then too big and you saw below the image some empty space left
even reducing the 150 to 130 didnt work, still was too big in height.

so how do i get the footer to be exact same size as the image show within?

2nd question
below in the footer the copyright says;
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
how can i change it into 2011?

i hope someoen can help me
thank you
Otsikko: Re: Footer height and copyright
Kirjoitti: All Colours Sam - elokuu 09, 2011, 01:27:18 IP
get rid of the padding stuff:   padding: 10px 0;

padding: 10px 0; this means it will ad a padding of 10px on the top of your footer.

as for the osftware year, you canot change that as 2010 was the year that RC3 was developed, if you want to have 2011 then just install the SMF 2.0 final which was developed in the 2011 year.
Otsikko: Re: Footer height and copyright
Kirjoitti: AlyssaM - elokuu 09, 2011, 02:33:32 IP
thank you for replying

well i removed what you told me to but didnt work
the height still too big
shall i changed into this perhaps?;
''padding: 0px''

and i didnt know RC3 was from 2010
thank you

i have got 1 more questions now
i tried change the colour of ''.description, .plainbox''
but its still the same blue colour as before

this is the code with the different colour that i want it to be, what do i need to do to get it ''#d5b6c3''
.description, .plainbox
{
padding: 0.5em 1em;
font-size: 0.9em;
line-height: 1.4em;
border: 1px solid #bbb;
background: #d5b6c3;
margin: 0 0 1em 0;
color: white;
}

Otsikko: Re: Footer height and copyright
Kirjoitti: All Colours Sam - elokuu 09, 2011, 02:36:13 IP
Can I have a link to your site?
Otsikko: Re: Footer height and copyright
Kirjoitti: AlyssaM - elokuu 09, 2011, 02:57:49 IP
well sure but the theme isnt up yet, everytime i uploaded it and i saw the things werent as i wanted them to be or didnt work as the footer problem
i deleted it again

i wanted the theme to be up just perfect, lol...

so i guess you need me to get up again  so you can see the mistakes im talking about?
though i doubt you can see the blue plainbox thing, as you dont see it when posting or viewing a topic
Otsikko: Re: Footer height and copyright
Kirjoitti: All Colours Sam - elokuu 09, 2011, 02:59:33 IP
yes I have to see the problem so it can be solved.

if guest cannot see it, then provide me with a regular user account.
Otsikko: Re: Footer height and copyright
Kirjoitti: AlyssaM - elokuu 09, 2011, 03:20:13 IP
ok then
ill put it up right now and make an account for you, ill pm you the info
thank you
Otsikko: Re: Footer height and copyright
Kirjoitti: AlyssaM - elokuu 09, 2011, 06:01:03 IP
ok this is so strange
but all of sudden now, everything works as the way i want it
footer is good now
and the other thing too

thank you for helping out