Okay
  Public Ticket #1577400
Hide Bar Before Date
Closed

Comments

  • Tiffany Yeh started the conversation

    I'm trying to hide the bar that shows up before the date " | March 28, 2018" on a single blog posts using variable height minimal blog header type.

    When I inspect the source code, it says there's this that is hidden: <span class="meta-author vcard author">, but in the single.php file, there is no instance of any meta-author being called:

    <div id="single-below-header">

    <div><span class=""><?php echo get_the_date(); ?></span></div>
    <?php if($blog_header_type != 'default_minimal') { ?><span class="meta-category"><?php the_category(', '); ?></span> <?php } else { ?><!--
    --><span class="meta-comment-count"><a href="<?php comments_link(); ?>"> <?php comments_number( __('No Comments', NECTAR_THEME_NAME), __('One Comment ', NECTAR_THEME_NAME), __('% Comments', NECTAR_THEME_NAME) ); ?></a></span>
    <?php } ?>


    Where is this span class coming from?

  •  3,034
    Andrew replied

    Hey there,

    Thanks for reaching in,

    Please try this CSS in Salient > General Settings > CSS/Script Related > Custom CSS Code

    .single #page-header-bg #single-below-header >span { border-color: transparent!important; }
    

    Hope this helps,

    Regards