Hi,
I am using title only without breadcrumb as title bar content, but the title is always embedded as a permanent link within the H1 declaration. So the link css styles overrule the H1 styles and the permanent link only refers to the page which is currently being displayed. How to change the behaviour to have only a real H1 title text?
Thanks,
Joerg
Hey Wynnphotodesign,
Try adding this code to the end of your functions.php file in Appearance > Editor:
function remove_title_link(){
?>
<script>
(function($){
$(document).ready(function(){
$('.main-title.entry-title a').contents().unwrap();
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'remove_title_link');
Best regards,
Mike
Mike,
thanks a lot, that works fine.
Now I tried to add the following in the Quick CSS section:
h1.main-title.entry-title {
font-size: 30px;
color: #666666;
font-weight: bold;
}
but nothing changes in the title section. Any idea?
Thanks,
Joerg
Ok,
now it works. There additionally had been another spec in the extended styling menu for H1. And now
#top .title-container.main-title, h1, .title_container .main-title {
font-size: 18px;
color: #666666;
font-weight: 700;
text-transform: uppercase;
}
works fine.
Thanks,
Joerg
Hi,
Thank you for sharing your solution, we will close this now. Thank you for using Enfold.
For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)
Best regards,
Mike