• Hi everyone,

    searched far and wide, but lacking the nomenclature couldn’t find answers. Thanks for any help, links or other pointers!

    Page: https://riverbendventuresglobal.megabyet.net/mainpage/

    Building a child theme of twenty ten. Some programming experience in various languages. Understand how to change css and php in a child theme, have some html and css knowledge, very little php. If you look at my page right now, it probably gives you an idea of what I can do and understand. The currently present changes I have managed to do by working my way through various places in the net, bit by bit understanding better how to work with wordpress and twenty ten. It goes slowly, but I’m learning, which I’m happy with.

    Question 1:

    Between the menu and the text on each page, there is a large unused gap. I want to reduce the height of that gap. How?

    Question 2:

    At the top of each page’s text, there is what seems to be a repeat of the current location in the menu. For example, if you click on “Who we are” in the menu, the according page loads, but the words “Who we are” are then repeated at the top of the text of that page again. As the menu indicates the current location already, that is redundant and untidy; I want it gone, but don’t know how / where in the code.

    That’s all for now!

    Thanks heaps already, and congratulations and a big thank you to all the people who contributed to getting WordPress to where it is now. It’s an amazing tool, especially since twenty ten, and it is just the right dose of freedom with a good place to start from for me personally that enables me to build the page I want.

    Cheers,

    Matt

Viewing 5 replies - 1 through 5 (of 5 total)
  • To remove the large gap, reduce the top padding for #main near line 451 of your style.css

    #main {
    clear:both;
    overflow:hidden;
    padding:40px 0 0;
    }

    To remove the page title from your text, in page.php, look for a line that similar to:
    <h1 class="entry-title"> ... </h1>
    That is the line that is adding the title.

    Thread Starter Mariku

    (@mariku)

    Hi, thanks for your help!

    The repeat of the page title in the content is gone now, no problems.

    Re the large gap: Setting the padding to 0px makes the gap smaller, but it is still quite large.

    Could that be the bottom padding of the menu or header picture? Or is there still some space left that is “reserved” for the repeat of the title that I just removed with the removal of the <h1… line?

    If it is any of these, where can I find the corresponding code?

    If it is something else, what?

    THANKS AGAIN!

    Matt

    Thread Starter Mariku

    (@mariku)

    Hi again,

    err, this may well be a silly question, but I seem to have a brain block right now:

    What would be the best solution to question 2 in my original post that does NOT involve deleting or doing anything in the actual theme’s css as suggested (which works, but needs to be redone after every wordpress update)?

    Basically, I want to achieve the same thing, but exclusively by working with my child theme.

    THANKS!

    Matt

    Thread Starter Mariku

    (@mariku)

    …sorry clarification: Of course the suggested solution deals with the php, but the issue remains the same. How can I do that without having to redo it after every update?

    I REALLY feel like I’m overlooking something obvious, but I can’t work out what it is.

    THANKS!

    Matt

    Thread Starter Mariku

    (@mariku)

    …anyone?

    Matt

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Close menu-content gap; stop repeat of menu in page content’ is closed to new replies.