WordPress.org

Forums

Removing space between menu and page content (9 posts)

  1. shanakar
    Member
    Posted 3 years ago #

    Hi there. I know this has been posted before and I've tried the scenario's posted in those threads but they don't work for me.

    I have installed wordpress v3.3 and use the default Twenty Eleven v1.3 theme. On my pages I get the large space between the main menu and the page content. I have tried altering the CSS as much as I can to my knowledge, I have followed other scenario's from other threads, but aside from making the gap a little shorter, there has not been a dramatic change.

    The website in question is http://f12007rf.mak-corp.net

    And the page I am trying to get the space cut down on is the Downloads page.

    Any help would be greatly appreciated.

  2. Darkmirror
    Member
    Posted 3 years ago #

    Oh i found <br> tags

    <div class="entry-content">

    <p><br>
    <br>
    <br>
    </p>

    .....

    You need to delete the whole <p>

  3. shanakar
    Member
    Posted 3 years ago #

    I don't know what your looking at but there are no
    or <p> tags in the HTML code for the page.

  4. Darkmirror
    Member
    Posted 3 years ago #

  5. shanakar
    Member
    Posted 3 years ago #

    The image you are showing is a HTML page source. The code in the files is nothing like that, they don't have br or p tags.

  6. Pavan
    Member
    Posted 3 years ago #

    you have to check the post or the page at backend, i think you have inserted these <p> and
    tags there in the post or page. go there and try to remove.

  7. shanakar
    Member
    Posted 3 years ago #

    anyone else able to help?

  8. The paragraph <p> tag and the break <br> tags are certainly in the code somewhere. They don't just generate out of nowhere.

    My guess would be that "tabs" plugin you are using. It's probably the code culprit. Remove that shortcode (or whatever code you are using to insert it into the page), and then just type some test text into the page.

    I bet it would look right then.

  9. shanakar
    Member
    Posted 3 years ago #

    Hey I got it to work. There were no tags like that in the html editor or anything. What I found out was that the creators who made the program failed to explain the right way to insert the code. They tell you to insert it

    [tab name="Official Downloads"]
    Content Coming Soon
    [/tab]
    [tab name="League Downloads"]
    Coming Soon[/tab]
    [tab name="Third Party Downloads"]
    Page Coming Soon
    [/tab][end_tabset]

    But by doing that, each line on the HTML editor will automatically place a
    without showing it in the html editor so the code needs to be one code without spaces or lines. Kinda stupid but at least I figured it out and it now works. Now its just...

    [tab name="Official Downloads"]Content Coming Soon[/tab][tab name="League Downloads"]Coming Soon[/tab][tab name="Third Party Downloads"]Page Coming Soon[/tab][end_tabset]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.