Support » Theme: Minimal Lite » Remove automatic drop cap

  • Resolved rbj93

    (@rbj93)


    Hi,

    For some reason, all of my posts display a drop cap over the excerpt text (see link). I can’t find a setting in the theme customiser to turn it off. Is there any additional CSS I could add to disable it?

    Thanks so much!

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

Viewing 1 replies (of 1 total)
  • Hi everyone,

    I figured this one out. My post pages were pulling up the content.php part, which I removed the following code from:

    /*Get first word of content*/
            $first_word = substr($raw_content, 0, 1);
            /*only allow alphabets*/
            if (preg_match("/[A-Za-z]+/", $first_word) != TRUE) {
                $first_word = '';
            }
    
            echo '<div class="entry-content" data-initials="' . esc_attr($first_word) . '">';

    This has done the trick!

Viewing 1 replies (of 1 total)
  • The topic ‘Remove automatic drop cap’ is closed to new replies.