WordPress.org

Ready to get started?Download WordPress

Forums

spacing words in header and uploading to footer (8 posts)

  1. adam30
    Member
    Posted 5 years ago #

    Hi

    How can you add further spaces in between the words / links of the header so instead of ..

    Park Agency Work Hotels

    i can have

    Park (space x5 ) Agency (space x5 ) Work (space x5 ) Hotels

    And how do i add different links to the footer instead of mirrored links from the header?

    thank you

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    How can you add further spaces in between the words / links

    Two options - both of which require editing your theme's stylesheet:

    1. Add word-spacing: 3em; to the class/id of your header
    2. Add text-align:justify; to the class/id of your header

    Option 1 is the more configurable as you can alter the em figure to suit your personal taste.

    how do i add different links to the footer instead of mirrored links from the header

    Edit the footer file in your theme. It's probably called footer.php.

  3. adam30
    Member
    Posted 5 years ago #

    Hi Esmi

    I was hoping there was a way to do this without code as i am a complete newbie, can u please recommend a good video tutioral that i can google on how to php?

    thank you

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    If you could post a link to your site, I could probably give you some code to add to your theme's stylesheet to try and adjust the header word spacing.

    With regard to the Footer links, find the footer.php in your current theme. If it's a pretty short file (say 10 lines or so), paste its contents here and I'll see what I can do. It's it's longer, use http://wordpress.pastebin.ca/ and post a link to the pastebin here (don't worry - the pastebin will provide you with the correct link). Again, once I see the code, I'll see what I can do.

  5. adam30
    Member
    Posted 5 years ago #

    Hi Esmi

    The link is http://highavenue.co.uk/

    Footer link is as folows,
    http://wordpress.pastebin.ca/1380159

    many thanks Esmi, your a great help.

  6. esmi
    Forum Moderator
    Posted 5 years ago #

    Tackling the footer first, are you using the Pages widget for your top navbar?

  7. adam30
    Member
    Posted 5 years ago #

    Yes i am using pages / edit for this.

    Just to let u know the footer requires 4 links and then i will place the themes language translation flags.

  8. esmi
    Forum Moderator
    Posted 5 years ago #

    In footer.php, the relevant lines for those links are lines 21-23 inclusive. If you intend to hardcode your footer links, replace these lines with your 4 links inside <li></li> tags - eg:

    <li><a href="http://one.com">Link 1</a></li>
    <li><a href="http://two.com">Link 2</a></li>

Topic Closed

This topic has been closed to new replies.

About this Topic