• Resolved staceyk

    (@staceyk)


    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:

    http://i125.photobucket.com/albums/p77/kolarik1/homepagefpcut_zpsc944db0f.jpg

    http://i125.photobucket.com/albums/p77/kolarik1/homepagefpcut2_zpsd8e0695b.jpg

Viewing 8 replies - 1 through 8 (of 8 total)
  • So if you remove this code you can see featured pages images normally?

    Thread Starter staceyk

    (@staceyk)

    I haven’t removed the code to test that.

    Site is now live due to not being able to get all the files from the old site to transfer it while the new site was being tested in dev.

    So…please check out the site at:

    http://www.houndsofgrace.org

    Thanks!

    @staceyk
    you have this in your child theme style.css :

    .thumb-wrapper {
    padding-top: 50px;
    }

    remove it.

    Thread Starter staceyk

    (@staceyk)

    Thanks that worked! Any idea how I can close the space between those 2 sets of text on the home page?

    .home #main-wrapper {
    padding-top: 0px;
    }
    Thread Starter staceyk

    (@staceyk)

    The code doesn’t appear to have reduced the space between the “Greyhounds, Greyhounds, Greyhounds” and the text block below it.

    Force page refreshing please.

    Thread Starter staceyk

    (@staceyk)

    I had done that but it apparently was ignoring me…it took it a couple minutes, but now it’s working! Marking this resolved, thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Feature Pages top cut off’ is closed to new replies.