Copyright text for footer - CSS Code
+3
NikkoBryan14
Mati
runawayhorses
7 posters
Page 1 of 1
Copyright text for footer - CSS Code
I need a CSS code that will place text at the bottom left-hand side of the forum. This text will consist of the typical Copyright text you see at the bottom of many sites. Right now I'm using javascript to achieve this but I want to remove the javascript and use a CSS code instead.
I use phpbb3
Thanks
I use phpbb3
Thanks
Last edited by runawayhorses on Tue May 01, 2012 12:37 am; edited 1 time in total
Re: Copyright text for footer - CSS Code
Hello,
You can use this:
You can use this:
- Code:
#page-footer:after {
color: #000000;
content: "© 2008-2012 Runaway Horses. All rights reserved.";
bottom: 20px;
position: absolute;
}
Re: Copyright text for footer - CSS Code
You have any for phpBB2?? for that??
NikkoBryan14- Forumember
- Posts : 274
Reputation : 8
Language : English
Location : Philippines
re.....
Matti_7 wrote:Hello,
You can use this:
- Code:
#page-footer:after {
color: #000000;
content: "© 2008-2012 Runaway Horses. All rights reserved.";
bottom: 20px;
position: absolute;
}
Sir can i use it to phbb2?
Re: Copyright text for footer - CSS Code
Not works their.. Pls..can you give me CSSCode?
NikkoBryan14- Forumember
- Posts : 274
Reputation : 8
Language : English
Location : Philippines
Re: Copyright text for footer - CSS Code
Hi Matti, thats not putting it at the bottom of the page its putting the text about the middle of the page.
Re: Copyright text for footer - CSS Code
I don't get it can u make a screen-shot and show me where you want the text to show?
Re: Copyright text for footer - CSS Code
I would be delighted to show you with a screenshot where I want it to go and what I mean by the bottom of the page. The bottom of the page specifies are particular area on the page itself, in this case we are addressing the "Bottom" on the page as illustrated and highlighted with a Red marker:
Re: Copyright text for footer - CSS Code
This code can do it!
Look at this PhpBB3
- Code:
#page-footer:before {
bottom: 20px;
color: #000000;
content: "© 2008-2012 Runaway Horses. All rights reserved.";
position: absolute;
}
Look at this PhpBB3
Re: Copyright text for footer - CSS Code
I see in your screenshot and it is exactly where I want it to go, however its not working on my forum. I tried your new code and it did the same exact thing except this time is was at the middle right-hand side.. Its putting the '© 2008-2012 Runaway Horses. All rights reserved" at the middle of the page on the right-hand side, not the bottom left-hand side. The middle of the page I mean the middle of the forum. Not the middle of the footer.
Re: Copyright text for footer - CSS Code
Its not working due to using absolute positining and a bottom property of 20px. Thats not setting it at the bottom of the page its setting it at the bottom of the window.
Try this out for size:
That will put it where you want.
Try this out for size:
- Code:
#page-footer .footer-home:after {
content: 'Copyrights bla bla bla';
display: block;
}
That will put it where you want.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Copyright text for footer - CSS Code
Thanks everyone Matti, Rideem3, LGforum I appreciate it. Thanks a lot.
Re: Copyright text for footer - CSS Code
LGforum wrote:Its not working due to using absolute positining and a bottom property of 20px. Thats not setting it at the bottom of the page its setting it at the bottom of the window.
Try this out for size:
- Code:
#page-footer .footer-home:after {
content: 'Copyrights bla bla bla';
display: block;
}
That will put it where you want.
for phbb2 please...
Re: Copyright text for footer - CSS Code
FOR PHPBB2 GO TO TEMPLATES>GENERAL>OVERALL_FOOTER_END>scrolldown all the way to the bottom>place this code above </body></html>:
- Code:
<div style="margin:auto;text-align:center;width:100%"><font size=1>© 2012 xCoDeZz. All rights reserved.</font></div>
Re: Copyright text for footer - CSS Code
Hello, For further questions, please open a new topic
Topic Solved & Locked |
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum