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
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
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
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. :)
Regards,
Ismael
It looks awesome. Thanks so much Ismael!
Hi Wes1015,
Glad that I could help. :)
Cheers,
Ismael
This topic has been closed to new replies.