-
ElissaParticipant
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!!!
sebasmgtParticipantsebasmgtParticipanthave to create a etiquta as saying h2 but center, center text Example / center
alwayslRlevolutionParticipantHow did you change the color of the slider border? Page looks great BTW
DavideGParticipantI’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 🙂
ChristerB50ParticipantCenter the text in “footer.php”
class=”post” “center” style=”width:940px; margin:0 auto”
and the text…- This reply was modified 12 years, 10 months ago by ChristerB50.
- This reply was modified 12 years, 10 months ago by ChristerB50.
- This reply was modified 12 years, 10 months ago by ChristerB50.
ChristerB50ParticipantIn “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-tagDavideGParticipantLet me try to be more specific:
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.
ta104ParticipantI have the same problem, but mine starts immediate at the left side of the screen.
Can anybody help?
Tanya
piscione75Participanthello 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..
Tagged: centre, header, navigation
You must be logged in to reply to this topic.