Hi!
I miss the blogpost headline, in the posthttps://www.prachtgarten.at/planungsideen/innenhofgarten/ as well as on the
blogsite.https://www.prachtgarten.at/planungen/
May I add this… ther are some horizontal lines in the blogpost site, below the post…. how to remove? https://www.prachtgarten.at/planungen/
Thanks peter
Hi Peter,
It looks like you have set H2 elements to be white in the theme options, that is why it’s not showing. Could you try changing that please?
Best regards,
Rikard
Yes you are right”
1. How can I change on the blockpost element H2 to H3?
2. there are some horizontal lines in the blogpost site, below the post…. how to remove? https://www.prachtgarten.at/planungen/
thank you peter
Hi,
To replace the h2 post title tags with h3, Try adding this code to the end of your functions.php file in Appearance > Editor:
function custom_script(){
?>
<script>
jQuery(window).load(function(){
var el = document.querySelector('h2.post-title.entry-title');
el.outerHTML = '<h3 class="post-title entry-title"itemprop="headline">' + el.innerHTML + '</h3>';
});
</script>
<?php
}
add_action('wp_footer', 'custom_script');
To remove the lines, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
span.post-meta-infos,div.post_delimiter {
display:none !important;
}
Best regards,
Mike