Viewing 10 replies - 1 through 10 (of 10 total)
  • The line appearss created by css code:

    style.css:1423
    .entry-wrapper::before, .comment-form::before {
        border-top: 1px dotted #CCC;
    }

    So to get rid of it you could try implement custom css code like this:

    .entry-wrapper::before, .comment-form::before {
        border-top: none;

    That code also would remove the similar line from the top of the comment form.

    The white box on the left is where the entry-date is supposed to display, but you’ve set it to “display: none”. To get rid of that you need to change the background color on “.posted-on .featured-post”

    The line is a border from “.entry-wrapper:before, .comment-form:before” if you take out the border on this element, the line will disappear.

    In general, I think your problem is that you’ve made your content a post instead of putting it in at the page level. The theme you’ve selected is treating it as the first post of many instead of the main content of the page.

    Thread Starter dwbelliveau

    (@dwbelliveau)

    Thanks for the help! I added the first CSS that @santeven posted, and it got rid of the line, however the box is still there. @christystjohn, I’m trying to figure out what you’re saying to get rid of the box.

    This is actually on the page level, but for some reason, this theme seems to treat pages similar to posts, with the date and everything included. Knowing what I know now, I probably would’ve chose a different theme, but at this point, the last thing I need to do just get rid of the box to have it looking like I would like.

    Thanks again for taking the time to help. If you could clarify how to get rid of the box, I’d really appreciate it!

    Thread Starter dwbelliveau

    (@dwbelliveau)

    I have no idea if this will help at all, but the code for the page.php is as follows:

    <?php
    /**
    * The template for displaying all pages.
    *
    * This is the template that displays all pages by default.
    * Please note that this is the WordPress construct of pages
    * and that other ‘pages’ on your WordPress site will use a
    * different template.
    *
    * @package coherent
    */

    get_header(); ?>

    <div id=”primary” class=”content-area”>
    <main id=”main” class=”site-main” role=”main”>

    <?php while ( have_posts() ) : the_post(); ?>

    <?php get_template_part( ‘content’, ‘page’ ); ?>

    <?php
    // If comments are open or we have at least one comment, load up the comment template
    if ( comments_open() || get_comments_number() ) :
    comments_template();
    endif;
    ?>

    <?php endwhile; // end of the loop. ?>

    </main><!– #main –>
    </div><!– #primary –>
    <?php get_footer(); ?>

    This should be added into your custom css

    .posted-on .featured-post {
    background-color: none;
    }

    Thread Starter dwbelliveau

    (@dwbelliveau)

    Hmm, I added that, but it didn’t change anything. Do you think it’s because it’s a page, not a post?

    I think it should be:

    .posted-on, .featured-post {
    display:none;
    }

    or maybe for the post itself not to disappear:

    .posted-on {
    display:none;
    }

    Thread Starter dwbelliveau

    (@dwbelliveau)

    Woo, that did it! Thank you guys so much for your help. You have no idea how terrible I am at this, so you just saved me days of agony. ??

    You are welcome, Please mark the topic resolved?

    Thread Starter dwbelliveau

    (@dwbelliveau)

    Done and done!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Random lines on site’ is closed to new replies.