Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14570

    Hey,

    I was wondering if there was some code I can put into our code so we can have an “as seen on” bar right under our slideshow on the homepage. Like this site “http://www.zaarly.com/” I thought you all may have the code.

    Thanks

    #84030

    Hi,

    Open up your header.php and find this code.

    //slideshow?
    $sliderHTML = "";
    $slider_active = "";
    if(isset($post->ID) && ((is_singular() && !$dynamic_tempalte) || (is_front_page() && !$dynamic_tempalte && $real_ID)))
    {
    if(!$real_ID) $real_ID = $post->ID;
    $slider = new avia_slideshow($real_ID);
    $sliderHTML = $slider->display();

    if($sliderHTML)
    {
    echo $sliderHTML;
    $slider_active = 'slider_active';
    }
    }
    ?>

    Below that you can create a new div like this.

    <div class="as_seen_on">
    This is a new div.
    </div>

    You have to position it accordingly on your custom.css.

    Regards,

    Ismael

    #84031

    Great! thank you. One last question, how do I fix the two scroll bars I have in my browser? So instead of the normal single scroll bar on the right, I have two right beside each other probably because of the template builder but I would like it to be the single standard just as with every other website.

    Thanks for your time

    #84032

    Hi Wes1015,

    Kindly add this code in your wp-content/themes/trinity/css/custom.css:

    body {
    overflow-x: visible !important;
    }

    Hope this helps. :)

    Regards,

    Ismael

    #84033

    It looks awesome. Thanks so much Ismael!

    #84034

    Hi Wes1015,

    Glad that I could help. :)

    Cheers,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Add a "As Seen On" Bar to Homepage’ is closed to new replies.