• hello again, different issue:

    I am getting a big empty void above my post container, on pages with images, like here: https://bit.ly/davBdw

    Seems to disappear if no picture, like here: https://bit.ly/aIshuC

    Looks like I need to remove some or all of this line:
    <p id=”top”></p>
    from the template (?) that creates the post page…

    But which file is this code in?!

Viewing 9 replies - 1 through 9 (of 9 total)
  • would assume the theme’s index.php or home.php

    Thread Starter eighty0ne

    (@eighty0ne)

    hi Samuel – not got a home.php and no sign of it in index.php

    other options: https://bit.ly/cOe7BA

    have searched them all but can’t find it anywhere
    could it be generated by a wordpress file, rather than a theme file?

    thanks for your input by the way

    then most likely theme’s functions.php
    sorry since thesis is a paid theme, I don’t have access
    also, try their members only forums

    eightyOne: Have you tried finding the “top” in your style.css and just setting the margin and padding to “0”?

    Thread Starter eighty0ne

    (@eighty0ne)

    hello both, and thanks for your replies!

    Samuel, this is a free theme, Equilibrium:
    https://madebyon.com/equilibrium-wordpress-theme/

    realchaseadams, I tried this, but the css for “top” also controls the padding at the top of the page, above the header! (bit odd, no?)

    Wow. I just realized there are two ids named “top”.

    that’s really bad HTML on their part. Have you thought about adding the CSS:

    p#top { margin: 0; padding: 0; }

    It won’t fix the validity of your HTML, but it WILL keep the integrity of your header’s top margin & padding.

    Thread Starter eighty0ne

    (@eighty0ne)

    good thinking realchaseadams, that seems to have nailed it for now
    thanks again – eighty0ne

    ps. don’t suppose you know how I might replace the Date with the post Category on my homepage?

    Replace “the_time(blah)”:

    <span class=”date”><?php the_time(‘F j, Y’) ?></span>

    In your index.php with:

    single_cat_title( );

    Any other needs feel free to hit me up on twitter @realchaseadams and we can e-mail your queries.

    Thread Starter eighty0ne

    (@eighty0ne)

    cheers again realchaseadams, I have tweeted you

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘rogue id="top"’ is closed to new replies.