Feature Pages top cut off
-
Hi,
I have used some code, shown below, to add some text between the slider and the featured pages on my home page. Is there any way to make it so that the top of the feature pages images are not cut off? Thanks!
Code:
add_filter(‘tc_fp_block_display’, ‘content_before_fp’);
function content_before_fp($html) {
$before_fp = ‘<h3><span class=”grace_welcome”><p style=”text-align: center;”>Welcome to G.R.A.C.E. We look forward to helping you discover more about the amazing world of greyhounds. Feel free to contact us with any questions. We love to talk about our greyt hounds!</p></span></h3>’;
//Put your HTML inside this var
return $before_fp.$html;
}add_filter(‘tc_slider_display’, ‘content_after_slider’);
function content_after_slider($html) {
$after_slider = ‘<h1><span class=”greyhounds”><p style=”text-align: center;”>Greyhounds, Greyhounds, Greyhounds</p></span></h1>’; //Put your HTML inside this var
return $html.$after_slider;
}Screen shots:
https://i125.photobucket.com/albums/p77/kolarik1/homepagefpcut_zpsc944db0f.jpg
https://i125.photobucket.com/albums/p77/kolarik1/homepagefpcut2_zpsd8e0695b.jpg
- The topic ‘Feature Pages top cut off’ is closed to new replies.