• Please anyone help?

    the padding around my page title (entry-title in the css) is too great but altering the margins for this in the CSS is making no difference – can anyone help?

    <h1 class=”entry-title” itemprop=”headline”>Yorkshire Wedding Videos – Welcome</h1>

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • AddWeb Solution

    (@addweb-solution-pvt-ltd)

    Hello rushy5150,

    Add below css code into your current active child theme’s style.css file or you can add additional css option in theme customizer

    .entry-content {
        margin-top: 1em !important;
    }
    .site-content{
        padding: 30px !important;
    }

    Hope this will helps you.

    Thanks.

    Hi

    I referred to a previous post on this topic and entered the code as provided, however, the estimated reading time is not displayed in the single post. I would like to get it displayed under the author name /last updated date. I can’t link you up to the site as it is being developed locally. Would appreciate your expert advice and solution as always!

    function tu_estimated_reading_time() {
    $post = get_post();
    $content = $post->post_content;
    $wpm = 300; // How many words per minute.

    $clean_content = strip_shortcodes( $content );
    $clean_content = strip_tags( $clean_content );
    $word_count = str_word_count( $clean_content );
    $time = ceil( $word_count / $wpm );

    return $time . ‘ minutes’;
    }

    add_filter( ‘generate_post_date_output’, function( $output ) {
    $output .= ‘<div class=”read-time”>Reading time: ‘ . tu_estimated_reading_time() . ‘</div>’;

    return $output;
    } );

    Creating an Estimated Reading Time

    Hi
    Sorry to have posted here. please ignore. Shall create a new topic

    Regards

    Leo

    (@leohsiang)

    Thanks!

    Theme Author Tom

    (@edge22)

    The CSS @addweb-solution-pvt-ltd mentioned should work. However, you likely don’t need to include !important in there ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘css entry-title’ is closed to new replies.