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();
$slider_active = 'slider_active';
Below that you can create a new div like this.
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
Kindly add this code in your wp-content/themes/trinity/css/custom.css:
overflow-x: visible !important;
Hope this helps. :)
The topic ‘Add a "As Seen On" Bar to Homepage’ is closed to new replies.