• I would like the white space on my front page in between the menu and my title to be more like the single pages. There is about inch difference. Please note the white space is also between the menu and the sidebar.

    Thank you for the help.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    remove style to bloc ? wrap ? style=”margin-top:88px;”

    
    <div class="wrap" style="margin-top:88px;">
    

    add this line of code in additional css

    .site-content .wrap {margin-top:2rem;}

    example : https://map.phds9557.odns.fr/frontpage-space/

    • This reply was modified 3 years, 7 months ago by diagonale. Reason: Notify
    • This reply was modified 3 years, 7 months ago by diagonale.
    Thread Starter Josh Malone

    (@joshrmalone)

    Thank you, but that did not remove <div class=”wrap” style=”margin-top:88px;”>.

    I do remember finding that before and it is indeed the difference on my front page, but .site-content .wrap {margin-top:2rem;} did not remove it. I also tried em vs rem which I assume is what you meant. I also tried px and changing .site-content to .site-content-contain and .site-content-contain .site-content but none worked.

    Any other suggestions?

    Thanks Again.

    hello,

    Go to Apparence -> Theme Editor

    on your right select “Single Page” on line 20 remove

    style="margin-top:88px;"

    screenshot : https://postimg.cc/PPRnfN4k

    • This reply was modified 3 years, 7 months ago by diagonale.
    Thread Starter Josh Malone

    (@joshrmalone)

    Thanks, but the line of code you suggested for removal style=”margin-top:88px;” is not on Single Page (page.php) or front-page or index.php.

    This is what is:

    20 <div class=”wrap”>
    21 <div id=”primary” class=”content-area”>
    22 <main id=”main” class=”site-main” role=”main”>

    That said the code you suggested <div class=”wrap” style=”margin-top:88px;”> is what needs to be removed. I just cannot find the code that causes it to appear.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Twenty Seventeen Frontpage Space’ is closed to new replies.