Try this in your custom css:
.single-content h3 a {
display: block;
margin-top: -100px;
padding-bottom: 100px;
}
If your theme does not have a setting where you can enter custom css, you can use a plugin like this one:
https://wordpress.org/plugins/simple-custom-css/
Credit: https://css-tricks.com/hash-tag-links-padding/
Thread Starter
oman2
(@oman2)
Fantastic!
Thanks for the solution Lorro – it was a rather elegant way to modify the existing code without having to dig into the WordPress core files and/or create a custom theme as other people have suggested in the past.
I had to modify it slightly to 200 pixels to fit the aesthetic a little better, but it’s a very simple way to solve the problem.