If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

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


    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.




    Open up your header.php and find this code.

    $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();

    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.

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




    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


    Hi Wes1015,

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

    body {
    overflow-x: visible !important;

    Hope this helps. :)




    It looks awesome. Thanks so much Ismael!


    Hi Wes1015,

    Glad that I could help. :)



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

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