• Hi there,
    I’m using the Twenty Eleven theme. My menu has run onto two lines after I added a Blog page to my site at http://www.rawwords.com.au.
    I would like the menu to remain on one line, but how to easily do this?
    I’m not familiar with CSS and was hoping to be able to do this within the theme, rather than having to add a Child Theme.
    Isn’t this a very simple thing to do? Can’t I do this under the Appearance Section of the Dashboard?
    I don’t want to spend all day trying to adjust this but it seems overly complicated.
    Any help would be very much appreciated.
    Amy

Viewing 8 replies - 1 through 8 (of 8 total)
  • If you don’t want to use a child theme, you can install Jetpack and enable the Custom CSS module, or find and use a stand-alone css plugin. Then you can add something like:

    #access a {
        color: #fff;
        display: block;
        line-height: 3.333em;
        padding: 8px 0 0 40px;
        text-decoration: none;
    }

    The only change here is reducing the link padding-left to 40 from 50px.

    Thread Starter Bananas427

    (@bananas427)

    Thanks Bill.

    I guess my thinking was that I would be able to adjust the menu within the theme, ie without having to add anything.

    So I guess what I should really do is read up on the theme because there has to be an easier way to simply adjust the menu.

    If I have no luck there, I will do as you suggest.

    Thanks. Amy

    Hi Amy,

    The ‘blog’ link is getting forced to a second line because there isn’t width enough for it. It only happens on your home page because there is no background image (logo) on the first link (home) squeezing things on the other pages.

    Installing a custom css plugin is actually quite easy, and you’d just need to cut and paste only the above css into it. Your links will move a little closer together to make room. I understand if you’d rather not.

    Another idea might be to move the social links elsewhere, into a footer for example. That would likewise give you more room up top. That’s assuming that they were placed into a widget area which, if so, is easy to change. Anyway, good luck!

    Thread Starter Bananas427

    (@bananas427)

    Thanks Bill, sorry for the late reply, I don’t do this stuff very much.

    So how do I install a custom CSS plugin?

    Where do I place the code that you’ve written above? I’ve not done that before.

    Thanks, Amy

    Hi Amy,

    Hope you don’t mind me chiming in.

    You can either use Jetpack as @bill suggested or use Simple Custom CSS.

    From your WordPress Dashboard, just head to your Plugin > Add New and then search for Simple Custom CSS. Once Installed, just activate it.
    The go to Appearance > Custom CSS. Paste the code that Bill provided there and save the changes. You’re all done. 🙂

    For further reading, you can checkout the codex guide to installing a plugin.

    Thread Starter Bananas427

    (@bananas427)

    Hi impsart,

    Thanks so much. I’ve done as you suggested, and placed Bill’s code inside the /* */. But for some reason it hasn’t fixed the issue. The menu is still running onto two lines.

    Is this because the code needs tweaking, or something else? Any suggestions?

    Amy

    Hi Amy,

    You actually need to remove the /* */.
    What that does is, it comments out anything in between those characters and will not take effect on the code. So just remove them and that should work 🙂

    You can also try to use this instead ( I’ve removed the redundant code that’s why it’s shorter):

    #access a {
        padding: 8px 0 0 40px;
    }
    Thread Starter Bananas427

    (@bananas427)

    Hi impsart,

    It worked! Yay! Thanks so much for your help. This is definitely taking too long to work out small things – I’m going to teach myself some code!

    All the best, Amy

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Twenty Eleven Theme’ is closed to new replies.