How to center footer text on home page…

Viewing 14 posts - 1 through 14 (of 14 total)
  • #3284
    Elissa
    Participant

    Can anyone tell me how to center the footer text on my home page?
    I’d like to adjust the margins so it doesn’t go edge to edge. Any suggestions?

    This is the code I’m using in home.php…

    <?php if (is_home()) { ?>
    <div class=post>
    <h2>Heading</h2>
    MY TEXT
    </div>
    <?php } ?>

    Thanks!!!

    #3285
    Elissa
    Participant

    BTW you can see what I mean at http://www.grafixsites.org

    #3733
    sebasmgt
    Participant

    Heading
    MY TEXT

    borra las “”

    • This reply was modified 12 years, 2 months ago by sebasmgt.
    • This reply was modified 12 years, 2 months ago by sebasmgt.
    • This reply was modified 12 years, 2 months ago by sebasmgt.
    • This reply was modified 12 years, 2 months ago by sebasmgt.
    #3738
    sebasmgt
    Participant

    have to create a etiquta as saying h2 but center, center text Example / center
    always

    #3741
    lRlevolution
    Participant

    How did you change the color of the slider border? Page looks great BTW

    #3743
    DavideG
    Participant

    I’m trying to center this section myself. Due to my lack of knowledge in CSS/PHP only today I was able to realize the two sections, inside style.css that might adjust the appearance:

    #footer {
    ….
    }

    .nav {
    width:940px;
    ….
    }

    I tried to set text-align:center; in both with no success. Well, setting center in footer actually do center elements but since it contains the “.nav”, sized 940, no visual change can take place.
    So I set center align in .nav, even trying to reduce the width but no success at all.
    .nav, as far as I know, is the actual menu assembled sequentially, with right space after each entry.

    If you spot some solution I’d be glad to know 🙂

    #3765
    lRlevolution
    Participant

    so no one has figured out how to center the footer?

    #3769
    ChristerB50
    Participant

    In “footer.php”

    Text 1
    More text

    #3770
    ChristerB50
    Participant

    Center the text in “footer.php”

    class=”post” “center” style=”width:940px; margin:0 auto”
    and the text…

    • This reply was modified 12 years, 2 months ago by ChristerB50.
    • This reply was modified 12 years, 2 months ago by ChristerB50.
    • This reply was modified 12 years, 2 months ago by ChristerB50.
    #3775
    lRlevolution
    Participant

    i dont understand, sorry

    #3780
    ChristerB50
    Participant

    In “footer.php”

    Use a blank line such as line 24

    Insert a start-div-tag and
    class=”post” “center” style=”width:940px; margin:0 auto”>
    and the text…
    insert stop-div-tag

    #3783
    DavideG
    Participant

    Let me try to be more specific:

    http://www.davidegori.it/

    The menu, bottom, now more visible by a specific background. How can I arrange the text to stay centered instead of left sided like it is now?

    Thanks.

    #4033
    ta104
    Participant

    I have the same problem, but mine starts immediate at the left side of the screen.

    Can anybody help?

    Tanya

    #4640
    piscione75
    Participant

    hello im newbie from italy and thanks..!
    i have the same problem for center the text in footer.. and all slider in the page..!

    PS: the kink grafixsites.org not function..

    can help me..

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.