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.
The forum of the forums
+3
NikkoBryan14
Mati
runawayhorses
7 posters

    Copyright text for footer - CSS Code

    avatar
    runawayhorses
    Hyperactive


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

    Solved Copyright text for footer - CSS Code

    Post by runawayhorses April 29th 2012, 10:17 pm

    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 May 1st 2012, 1:37 am; edited 1 time in total
    Mati
    Mati
    Active Poster


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

    Solved Re: Copyright text for footer - CSS Code

    Post by Mati April 30th 2012, 3:25 am

    Hello,

    You can use this:

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


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

    Solved Re: Copyright text for footer - CSS Code

    Post by NikkoBryan14 April 30th 2012, 3:34 am

    You have any for phpBB2?? for that??
    ~@dikz~
    ~@dikz~
    Forumember


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

    Solved re.....

    Post by ~@dikz~ April 30th 2012, 3:50 am

    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?

    Mati
    Mati
    Active Poster


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

    Solved Re: Copyright text for footer - CSS Code

    Post by Mati April 30th 2012, 4:19 am

    For PhpBB2 you can use the Templates.
    NikkoBryan14
    NikkoBryan14
    Forumember


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

    Solved Re: Copyright text for footer - CSS Code

    Post by NikkoBryan14 April 30th 2012, 4:20 am

    Not works their.. Pls..can you give me CSSCode?
    avatar
    runawayhorses
    Hyperactive


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

    Solved Re: Copyright text for footer - CSS Code

    Post by runawayhorses April 30th 2012, 6:12 am

    Hi Matti, thats not putting it at the bottom of the page its putting the text about the middle of the page.
    Mati
    Mati
    Active Poster


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

    Solved Re: Copyright text for footer - CSS Code

    Post by Mati April 30th 2012, 7:29 am

    I don't get it can u make a screen-shot and show me where you want the text to show?
    avatar
    runawayhorses
    Hyperactive


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

    Solved Re: Copyright text for footer - CSS Code

    Post by runawayhorses April 30th 2012, 7:51 am

    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
    Mati
    Mati
    Active Poster


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

    Solved Re: Copyright text for footer - CSS Code

    Post by Mati April 30th 2012, 8:03 am

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


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

    Solved Re: Copyright text for footer - CSS Code

    Post by runawayhorses April 30th 2012, 8:21 am

    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.
    LGforum
    LGforum
    Hyperactive


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

    Solved Re: Copyright text for footer - CSS Code

    Post by LGforum April 30th 2012, 5:02 pm

    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.

    avatar
    runawayhorses
    Hyperactive


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

    Solved Re: Copyright text for footer - CSS Code

    Post by runawayhorses May 1st 2012, 1:36 am

    Thanks everyone Matti, Rideem3, LGforum I appreciate it. Thanks a lot.
    ~@dikz~
    ~@dikz~
    Forumember


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

    Solved Re: Copyright text for footer - CSS Code

    Post by ~@dikz~ May 1st 2012, 2:34 am

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


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

    Solved Re: Copyright text for footer - CSS Code

    Post by +Fusion- May 1st 2012, 3:46 am

    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>
    Jophy
    Jophy
    ForumGuru


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

    Solved Re: Copyright text for footer - CSS Code

    Post by Jophy May 1st 2012, 6:09 am

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

    Topic Solved & Locked

      Current date/time is November 11th 2024, 1:25 pm