• Hi,

    I have 2 questions, I’m trying to centre all text where the dddddddddd is, the actual text box itself so once centered it’s in the middle of the page. I’m familiar with CSS but cannot find element margin left 20px to move it over?

    Secondly I’d like to move the page tabs to the footer not header?

    It’s been a while since I played around with CSS any help would be apreciated!
    Here’s the site:

    Apps-made-easy.com

Viewing 9 replies - 1 through 9 (of 9 total)
  • To center text, use text-align: center. Right now you have text-align: left for the “dddddddd”

    If you want it centered in the entire page, not just the sidebar where it’s placed, you need to change the width of the content div to 100%

    Where the menu is placed is changeable through your Dashboard in the “menu” section. More on menus here: https://codex.wordpress.org/WordPress_Menu_User_Guide

    Thread Starter Thendo86

    (@thendo86)

    Where can I find the content div in editor? Can you be more specific? Thankyou really appreciate it

    It’s the div with the id of content so:

    #content {
    width: 100%;
    }

    Also, text align only works for text. If you want to center an image, that is when you need to use margins. Hope this helps =)

    Thread Starter Thendo86

    (@thendo86)

    So do I just add that to the page.php?

    Also for the horizontal menu/pages what code would I need to add to the footer?

    Sorry it’s been a while.

    Thanks though I do appreciate it

    No, that is css because it deals with style, so you need to add it to the style sheet.

    There are different ways to add a menu in your footer. Here’s a good one: http://www.bentedder.com/add-a-custom-footer-menu-in-a-wordpress-theme/

    Are you creating your own theme or working with someone else’s?

    Thread Starter Thendo86

    (@thendo86)

    Ok thanks I’ll have a play around with it.

    Just customizing retro theme

    Awesome! Would you mind marking this thread as resolved?

    Thread Starter Thendo86

    (@thendo86)

    Hi,

    I have been trying for the last day but I still can not get my menu horizontal and centre at the bottom of the page, also trying to remove it from the top. I am using retrotale theme. I followed the steps from the link but it still did not work.

    My apologies, I didn’t realize you were working with a pre-built theme.

    To get rid of the header menu add this to the style sheet:

    header#header {
      display: none;
    }

    To make the footer menu horizontal and centered:

    .footer-widget-area {
      width: 100%;
    }
    
    #footer ul li {
      display: inline-block;
      width: 33%;
      text-align: center;
    }

    These techniques are slightly ‘hack-y’, but they work for what I believe you’re trying to do. For my two cents, you are making significant changes to the format of the theme, and it might be easier just to find a theme that already has the format you want and change the colors and font to match retrotale.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Need to centre my text box and place pages in the footer not header?’ is closed to new replies.