The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Copyright text for footer - CSS Code

+3
NikkoBryan14
Mati
runawayhorses
7 posters

Go down

Solved Copyright text for footer - CSS Code

Post by runawayhorses Mon 30 Apr - 2:17

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


Last edited by runawayhorses on Tue 1 May - 5:37; edited 1 time in total
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by Mati Mon 30 Apr - 7:25

Hello,

You can use this:

Code:
#page-footer:after {
    color: #000000;
    content: "© 2008-2012 Runaway Horses. All rights reserved.";
    bottom: 20px;
    position: absolute;
}
Mati
Mati
Active Poster

Posts : 1932
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by NikkoBryan14 Mon 30 Apr - 7:34

You have any for phpBB2?? for that??
NikkoBryan14
NikkoBryan14
Forumember

Male Posts : 274
Reputation : 8
Language : English
Location : Philippines

Back to top Go down

Solved re.....

Post by ~@dikz~ Mon 30 Apr - 7:50

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?

~@dikz~
~@dikz~
Forumember

Male Posts : 363
Reputation : 4
Language : English & Tagalog
Location : Legazpi, Philippines - Bicol University

http://adikz.forumtl.com

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by Mati Mon 30 Apr - 8:19

For PhpBB2 you can use the Templates.
Mati
Mati
Active Poster

Posts : 1932
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by NikkoBryan14 Mon 30 Apr - 8:20

Not works their.. Pls..can you give me CSSCode?
NikkoBryan14
NikkoBryan14
Forumember

Male Posts : 274
Reputation : 8
Language : English
Location : Philippines

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by runawayhorses Mon 30 Apr - 10:12

Hi Matti, thats not putting it at the bottom of the page its putting the text about the middle of the page.
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by Mati Mon 30 Apr - 11:29

I don't get it can u make a screen-shot and show me where you want the text to show?
Mati
Mati
Active Poster

Posts : 1932
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by runawayhorses Mon 30 Apr - 11:51

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:

Copyright text for footer - CSS Code Ssbottom1
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by Mati Mon 30 Apr - 12:03

This code can do it!

Code:
#page-footer:before {
    bottom: 20px;
    color: #000000;
    content: "© 2008-2012 Runaway Horses. All rights reserved.";
    position: absolute;
}

Look at this PhpBB3

Copyright text for footer - CSS Code Gggg10
Mati
Mati
Active Poster

Posts : 1932
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by runawayhorses Mon 30 Apr - 12:21

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.
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by LGforum Mon 30 Apr - 21:02

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.

LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by runawayhorses Tue 1 May - 5:36

Thanks everyone Matti, Rideem3, LGforum I appreciate it. Thanks a lot.
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by ~@dikz~ Tue 1 May - 6:34

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...
~@dikz~
~@dikz~
Forumember

Male Posts : 363
Reputation : 4
Language : English & Tagalog
Location : Legazpi, Philippines - Bicol University

http://adikz.forumtl.com

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by +Fusion- Tue 1 May - 7:46

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>
+Fusion-
+Fusion-
Forumember

Male Posts : 252
Reputation : 4
Language : English
Location : Flying

http://www.xcodezz.com

Back to top Go down

Solved Re: Copyright text for footer - CSS Code

Post by Jophy Tue 1 May - 10:09

Hello, For further questions, please open a new topic Wink

Topic Solved & Locked
Jophy
Jophy
ForumGuru

Male Posts : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum