• Resolved Oelanddk

    (@oelanddk)


    Hi I’m new to usin WordPress and coding in general. I’m currently working on this site: http://haderslevbispevalg.dk/wordpress/

    I’ve created a childs theme of the theme.

    1. I hope it’s possible to move the site to “http://haderslevbispevalg.dk/” as soon as I’m done with it. I guess I can do that by moving the wordpress folders on the server?

    2. I’m trying to center the menu. I tried to follow this guide but it didn’t work for me.

    3. I’m trying to get the Site Title and Site Description aligned with the red page titles. But I haven’t found any guides on how to do that.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter Oelanddk

    (@oelanddk)

    And I’m btw. also trying to change the font-size and colors of the widget titles. No luck so far.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    2. You’ll need to apply

    • A width to your <ul> element in CSS.
    • Automatic left and right margins to your <ul> element in CSS.

    Before you apply a width, take into consideration whether any pages will be added to the menu, removed or renamed, as your width will need to change accordingly.

    Thread Starter Oelanddk

    (@oelanddk)

    Thanks for the fast reply!

    Is the ul element in the style.css?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yes it’s on line 576, why?

    Thread Starter Oelanddk

    (@oelanddk)

    Can you maybe be a little more detailed in the decription of how I solve the problem – as I wrote I’m a newbie to CSS 🙂

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What CSS have you so far?

    Thread Starter Oelanddk

    (@oelanddk)

    Mostly random stuff that I found here in the support forum and then copied to the page I’m working on. So pretty much none.

    Try adding this to your CSS file:

    #access ul {
        margin: 0 auto;
        width: 760px;
    }

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Make sure to add that CSS recommended by WPyogi to your Child Theme CSS file.

    To change the alignment of the header text, try adding this to your stylesheet and adjusting the margin:

    #branding hgroup {
        margin-left: XXpx;
    }

    See this re: moving the site:

    http://codex.wordpress.org/Moving_WordPress

    Thread Starter Oelanddk

    (@oelanddk)

    Thanks a lot. I’ll have a look at it right away!

    Thread Starter Oelanddk

    (@oelanddk)

    This was already in the stylesheet.

    #branding hgroup {
    margin-left: XXpx;
    }

    I tried to change the XXpx but nothing happens on the livesite when I refresh the browser. Except once which means that the title has now moved to the far right side of the site. What can I have done wrong?

    It seems like it worked perfectly with centering the menu. Thanks!

    Thread Starter Oelanddk

    (@oelanddk)

    Everything works now. Thanks for the help everyone.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘How to center the menu and align site title Twenty Eleven’ is closed to new replies.